The exact workflow from our guide, ready to import. When a returning customer orders again, n8n mints a unique discount code and emails it to them automatically.
- Five nodes: Shopify Trigger to Edit Fields to IF to Create Discount to Gmail
- Rewards only repeat buyers
- Works on n8n Cloud and self-hosted