Promotions 💎 Built for Sidekick ⚡ Sidekick does this for you
shopify sidekick promotions discounts flow automation

Set Up a Customer Anniversary Discount

Build a Shopify Flow that automatically issues a discount code to customers on the anniversary of their first purchase.

đź“‹ Prompt
Run in Sidekick
You are a Shopify Sidekick assistant. Help me build a Shopify Flow that rewards customers on the anniversary of their first purchase with my store, [STORE_NAME].

Please:

  Create a discount code template [ANNIVERSARY_CODE_PREFIX] giving [DISCOUNT_VALUE] off, one use per customer.
  Build a Flow that checks daily for customers whose first-order date matches today’s date minus [ANNIVERSARY_YEARS] year(s).
  For each matching customer, generate their personal instance of the discount code and send it via [CHANNEL] (email or SMS) with a short celebratory message.
  Set the code to expire [EXPIRY_DAYS] days after it’s sent.
  Tag the customer “anniversary-[YEAR]-sent” so they don’t get duplicate sends if the Flow re-runs.
  Exclude customers who haven’t ordered again since that first purchase and are already in a separate win-back flow, to avoid overlapping offers — flag this exclusion logic clearly.


Confirm whether Shopify Flow can trigger on a recurring date-match condition like this natively, and if not, propose the closest workaround (e.g., a scheduled Flow run combined with a filter step).

How to Use

  1. Copy the prompt above
  2. Open Shopify Sidekick in your Shopify admin
  3. Paste the prompt and replace the bracketed placeholders with your details
  4. Review Sidekick's response and apply the suggestions