Automation
đź’Ž Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
automation
customers
flow
Tag First-Time vs. Repeat Buyers
Build a Flow that tags customers as first-time or repeat buyers on every paid order, based on their lifetime order count.
đź“‹ Prompt
Build a Shopify Flow that tags customers by purchase history on every order. Trigger: Order paid. Actions (in order): Get customer data for the order’s customer (fetch order count / number of orders field). If the customer’s total order count equals 1 → Add customer tags: “[FIRST_TIME_TAG]” (e.g. “first-time-buyer”). If the customer’s total order count is greater than or equal to [REPEAT_THRESHOLD] (e.g. 2) → Remove customer tags “[FIRST_TIME_TAG]” and Add customer tags “[REPEAT_TAG]” (e.g. “repeat-buyer”). If the customer’s total order count is greater than or equal to [LOYAL_THRESHOLD] (e.g. 5) → also Add customer tags “[LOYAL_TAG]” (e.g. “loyal-customer”). Before activating: Show me the full branching logic and confirm the exact tag names. Confirm the order-count thresholds. After I confirm, create and turn on the Flow. Note: tags update on every paid order, so a customer’s tag moves from first-time to repeat automatically — I don’t need to re-run anything manually. If I later want these tags to drive a customer segment for a win-back or loyalty campaign, tell me and I’ll build the segment (defined by these tags) plus a draft Shopify Messaging campaign for my review — Sidekick won’t send anything to customers without my sign-off.
How to Use
- Copy the prompt above
- Open Shopify Sidekick in your Shopify admin
- Paste the prompt and replace the bracketed placeholders with your details
- Review Sidekick's response and apply the suggestions