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

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

Needs changes

by Rahul Joshi ✓ · 7 views · created 2026-10-27 · CRM, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Read Creators (Google Sheets): uses Google Sheets
  2. Order Fields (Edit Fields (Set)): sets 8 fields: order_id, order_name, created_at…
  3. Refund Fields (Edit Fields (Set)): sets 3 fields: order_id, type, refunded_base
  4. Cancel Fields (Edit Fields (Set)): sets 3 fields: order_id, type, refunded_base
  5. Statement Period & Rules (Code): runs custom JavaScript code
  6. Normalize Question (Edit Fields (Set)): sets 3 fields: question, channel, thread_ts
  7. Format Error (Edit Fields (Set)): sets 4 fields: workflow, failed_node, message…
  8. Clean Form Input & Settings (Edit Fields (Set)): sets 12 fields: name, handle, platform…
  9. Skip Test Orders (Filter): keeps only the items that match a condition
  10. Lookup Affiliate Order (Google Sheets): uses Google Sheets

…plus 43 more steps. See the full node list below.

Services it uses

Google SheetsSlackGmailShopifyWhatsApp Business CloudOpenAIOpenAI Chat Model

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 →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace 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)

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…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.