# Track creator commissions and PDF payouts with Shopify, Google Sheets, Gmail and Slack

> Quick overview This workflow onboards Shopify creators with unique discount codes, tracks attributed orders and refunds in Google Sheets, calculates monthly commissions with TDS and tier bonuses, emails PDF statements via Gmail and Gotenberg, posts leaderboards to Slack, sends WhatsApp sale alerts, and answers payout questions using OpenAI in Slack. How it works 1. Receives a creator onboarding form submission, validates the inputs, and loads existing creators from Google Sheets to keep codes unique. 2. Creates a unique tracking link and Shopify discount code via the Shopify Admin GraphQL API, then saves the creator in Google Sheets, emails their code/link via Gmail, and announces the onboarding in Slack. 3. Triggers on new Shopify orders, calculates net sales and new-customer status, matches the order to a creator from Google Sheets by discount code or tracking-link handle, logs a pending commission row, and optionally sends a WhatsApp sale alert. 4. Triggers on Shopify refunds and ca

- **Domain**: `n8n-workflow-21859.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/21859
- Page (HTML): https://agenstry.com/agents/n8n-workflow-21859.n8n.io
- Documentation: https://n8n.io/workflows/21859
