RefTrack: Referral Tracking & Reward Engine
RefTrack: Referral Tracking & Reward Engine ships as a ready-to-import n8n automation package: load the bundled workflow JSON, connect the credentials listed on this page, and activate it on self-hosted n8n or n8n Cloud.
Attribute referral sales, auto-issue a Shopify reward discount code, and enroll every new buyer as a referrer — no $29-249/mo referral app or success fee.
- Detect a referral code on every new Shopify order automatically, no manual reconciliation
- Attribute the sale to the right referrer and block self-referral abuse before any reward goes out
- Auto-create a one-time reward discount code in Shopify via the Admin API the moment a referral converts
- Email the referrer their reward and the new customer a thank-you note in the same run
- Turn every non-referred buyer into a new referrer automatically with their own shareable code
- Log every referral attempt — rewarded, invalid, or self-referred — to a Google Sheet you fully own
- Replace a $29-249/mo referral platform plus 0.25-10.5% success fees with a one-time template
Setup Service — optional live install and test. Choose your tier at checkout (not tied to this template's price).
Paste the license key from your receipt. It must match this template.
Workflow summary
One workflow handles everything end-to-end.
- 1A new Shopify order arrives via webhook the moment it's placed
- 2Checks the order for a referral code in its discount codes or note attributes
- 3When a code is found, looks up the referrer in your Google Sheet and confirms the code is valid and not a self-referral
- 4Automatically creates a one-time reward discount code in Shopify for the referrer
- 5Emails the referrer their reward and emails the new customer a thank-you note
- 6Logs every referral attempt — rewarded or rejected — to a Google Sheet for auditing
- 7When no referral code was used, registers the buyer as a new referrer with their own unique code
- 8Emails the new referrer their shareable referral link so every customer can start earning rewards
What's included with your purchase
Every checkout includes the same practical package so you are never hunting for missing files mid-setup.
- 01Workflow JSON exports ready to import into your n8n workspace (self-hosted or n8n Cloud).
- 02Step-by-step guide that walks credential creation, node-by-node checks, and activation.
- 03Credential checklist for Google Sheets, Shopify, SMTP. Email support@n8ntemplatestore.com if you get stuck — replies within 24 hours (SLA).
- 04Perpetual (lifetime) use license Your one-time purchase includes an ongoing right to use this template package on n8n instances you control for your own automation — not for resale or public redistribution of the files as a product. Terms & conditions.
- 05We keep the copyright Workflow JSON, guides, screenshots, and bundled assets stay our copyrighted works (or our licensors'). Payment grants the limited license in our Terms only — it does not transfer ownership.
Need a second opinion before buying? Compare the full catalog, browse more Ecommerce templates, see how n8n compares to Zapier and Make, or read the support policies.
Three steps to a running n8n automation
Import the workflow into n8n
Paste your API keys into the credentials panel
Press ‘activate’ — you’ll get your first report tomorrow morning
Need help setting up this n8n template?
Beginner-friendly guidance is included. Our support team will help you if you get stuck — email support@n8ntemplatestore.com or visit support.
About this template
How long does it take to set up RefTrack: Referral Tracking & Reward Engine?
What if I get stuck?
Do I need to pay for Google Sheets?
Can I customize the workflow?
What if it doesn’t work for me?
Related n8n workflow templates
AltPilot: Bulk AI Image Alt-Text & SEO Metadata Generator
Pre-built n8n workflow template that automates ecommerce with Google Sheets. Live in about 10 minutes.
OrderLog: Shopify/WooCommerce Orders to Google Sheets
Pre-built n8n workflow template that automates ecommerce with Google Sheets. Live in about 8 minutes.
CatalogCopy: Bulk AI Product Description Writer
Pre-built n8n workflow template that automates ecommerce with Google Sheets. Live in about 10 minutes.