Automation
đź’Ž Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
automation
customers
segments
flow
Tag Customers by Lifetime Spend Threshold
Build a Flow that tags customers when their lifetime spend crosses defined thresholds, so a tag-based segment can track them automatically.
đź“‹ Prompt
Build a Shopify Flow that tags customers by lifetime spend tier. Trigger: Order paid. Actions: Get customer data for the order’s customer (fetch amount spent / total spent field). If total amount spent is greater than or equal to [TIER_1_AMOUNT] (e.g. $200) and less than [TIER_2_AMOUNT] → Add customer tags “[TIER_1_TAG]” (e.g. “spend-tier-silver”). If total amount spent is greater than or equal to [TIER_2_AMOUNT] (e.g. $500) and less than [TIER_3_AMOUNT] → Remove “[TIER_1_TAG]”, Add “[TIER_2_TAG]” (e.g. “spend-tier-gold”). If total amount spent is greater than or equal to [TIER_3_AMOUNT] (e.g. $1000) → Remove lower-tier tags, Add “[TIER_3_TAG]” (e.g. “spend-tier-platinum”). Then create a customer segment named “[SEGMENT_NAME]” filtered on tag = “[TIER_3_TAG]” (or whichever tier I want to target), so the segment updates automatically as this Flow re-tags customers. Before activating: Show me the tier thresholds and tag names for confirmation. Confirm which tier(s) should get their own saved segment. After I confirm, create the Flow and the segment(s), and turn the Flow on. Note: Shopify customer segments are built from saved filters, not a “membership list” — tagging the customer is what moves them in and out of the segment automatically. I’m not applying any discount or sending anything to these customers in this Flow; that’s a separate ask if you want it.
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