Marketing · n8n

Track Referrals and Reward Both Sides Automatically

Run a referral program that runs itself — track when a referred friend converts, reward the referrer, and thank the new customer.

difficulty Intermediatesetup 40 minresult Referrers and their friends are rewarded automatically on conversion, fueling reliable word-of-mouth growth.
  1. 1

    Capture Referrals

    Add a Webhook node logging each referral with the referrer and the friend's code.

  2. 2

    Detect Conversion

    Add a step that fires when the referred friend completes a qualifying purchase.

  3. 3

    Issue Rewards

    Add Shopify nodes generating a reward code for the referrer and a welcome code for the friend.

  4. 4

    Notify Both Sides

    Add Gmail nodes thanking the referrer with their reward and welcoming the new customer.

  5. 5

    Activate and Test

    Activate the workflow and simulate a referral conversion. Confirm both rewards issue.

Frequently asked questions

How do I prevent fraud?

Require a genuine qualifying purchase and block self-referrals by matching emails and payment details.

What reward structure is best?

Two-sided rewards motivate both sharing and redeeming, driving the strongest referral loops.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.