Automation
đź’Ž Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
automation
returns
flow
Tag Returned Orders and Log the Reason
Build a Flow that tags an order once its return is approved and appends the return reason to the order note, for a lightweight return-rate view without a separate app.
đź“‹ Prompt
Build a Shopify Flow that keeps a simple return record on the order and customer. Trigger: Return approved. Actions: Add order tags: “[RETURNED_TAG]” (e.g. “returned”). Update order note appending: “Return approved on [DATE] — reason: [RETURN_REASON].” Add customer tags: “[HAS_RETURN_TAG]” (e.g. “has-return-history”) — so you can build a segment of customers with any return history for future reference. Before activating: Confirm the tag names. Confirm whether you want the customer-level tag to be a simple “has-return-history” flag (this Flow’s default) or something that counts returns — counting requires a metafield with a running number rather than a single tag, since Flow tags are on/off, not counters; tell me if you want that instead and I’ll scope it as a separate Flow using “Update customer metafield” plus a “Sum” or manual increment approach. After I confirm, create and turn on the Flow. Note: this tags every approved return the same way — it doesn’t distinguish first-time from repeat returners unless you add the counting logic above. This is meant as a lightweight internal record, not a replacement for a dedicated returns-analytics tool.
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