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
Run in Sidekick
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

  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