Track creator commissions and PDF payouts with Shopify, Google Sheets, Gmail and Slack
Needs changesWhat this workflow does
This AI workflow has 64 nodes and runs when someone submits an n8n form (“Add a creator / affiliate”) (plus 6 other triggers). Along the way it connects Google Sheets, Slack, Gmail and Shopify and 3 more. It also calls gotenberg:3000 over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Add a creator / affiliate”) (plus 6 other triggers).
- Read Creators (Google Sheets): uses Google Sheets
- Order Fields (Edit Fields (Set)): sets 8 fields: order_id, order_name, created_at…
- Refund Fields (Edit Fields (Set)): sets 3 fields: order_id, type, refunded_base
- Cancel Fields (Edit Fields (Set)): sets 3 fields: order_id, type, refunded_base
- Statement Period & Rules (Code): runs custom JavaScript code
- Normalize Question (Edit Fields (Set)): sets 3 fields: question, channel, thread_ts
- Format Error (Edit Fields (Set)): sets 4 fields: workflow, failed_node, message…
- Clean Form Input & Settings (Edit Fields (Set)): sets 12 fields: name, handle, platform…
- Skip Test Orders (Filter): keeps only the items that match a condition
- Lookup Affiliate Order (Google Sheets): uses Google Sheets
…plus 43 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
HTTP calls to: gotenberg:3000
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Creator Q&A Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Slack Trigger requires a signing secret on the Slack API credential.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Creator Q&A Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (23)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Shopify Trigger
n8n-nodes-base.shopifyTrigger - Filter
n8n-nodes-base.filter - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Summarize
n8n-nodes-base.summarize - Merge
n8n-nodes-base.merge - OpenAI
@n8n/n8n-nodes-langchain.openAi - Convert to File
n8n-nodes-base.convertToFile - Split Out
n8n-nodes-base.splitOut - Slack Trigger
n8n-nodes-base.slackTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Error Trigger
n8n-nodes-base.errorTrigger
From the author
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…