Marketing · n8n

Stop Retargeting Refunded Shopify Customers to Save Ad Spend

Chasing a customer who just got a refund with more ads wastes money and annoys them. This workflow adds every refunded customer to a Meta suppression audience and removes them from your lookalike seed lists — so your ad budget stops following unhappy buyers.

difficulty Advancedsetup 40 minresult Cleaner audiences and lower wasted spend — refunded customers drop out of retargeting automatically
  1. 1

    Trigger on refund

    A Shopify Trigger on refunds/create fires the moment a refund is issued.

  2. 2

    Hash the customer

    A Code node SHA-256 hashes the customer email as Meta requires for custom-audience membership.

  3. 3

    Add to suppression audience

    An HTTP Request adds the hashed user to a 'refunded — do not retarget' custom audience you exclude in every campaign.

  4. 4

    Remove from seed lists

    A second HTTP Request removes them from your high-value lookalike seed audience so future lookalikes aren't modeled on refunders.

  5. 5

    Log it

    Append the action to a Google Sheet for a clean audit trail.

Frequently asked questions

Is hashing the email required?

Yes — Meta only accepts hashed identifiers for custom audiences, which is also better for privacy. The Code node does the SHA-256 for you.

What if they buy again later?

Add a small branch on `orders/paid` that removes a returning customer from the suppression audience, so a one-off refund doesn't exclude a good customer forever.

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.