E-commerce · n8n

Award Loyalty Points on Every Repeat Shopify Purchase

Reward returning customers automatically — each repeat Shopify order adds loyalty points to their profile and emails them their new balance.

difficulty Intermediatesetup 40 minresult Repeat buyers accumulate points without any manual tracking, increasing retention and giving customers a reason to come back.
  1. 1

    Trigger on Orders

    Add a Shopify Trigger node on orders/create and an IF node continuing only when orders_count is greater than 1.

  2. 2

    Calculate Points

    Add a Code node computing points from the order total, e.g. one point per dollar spent.

  3. 3

    Update the Balance

    Add an Airtable node to find the customer by email and add the new points to their running balance.

  4. 4

    Email the New Balance

    Add a Gmail node telling the customer how many points they earned and their new total, with a nudge toward the next reward tier.

  5. 5

    Activate and Test

    Activate the workflow and place a second order for a test customer. Confirm the Airtable balance updates and the email sends.

Frequently asked questions

How do customers redeem points?

Generate a Shopify discount code once a threshold is reached and include it in the balance email, or integrate a loyalty app for redemption.

Can I add point tiers?

Yes. Add logic that assigns tier badges (Silver, Gold) at balance thresholds and mention the tier in the email for extra motivation.

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.