Automation
đź’Ž Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
automation
orders
flow
Archive Cancelled and Refunded Orders
Build a Flow that archives an order automatically once it has been both cancelled and fully refunded, keeping the open-orders list free of closed-out cancellations.
đź“‹ Prompt
Build a Shopify Flow that cleans up cancelled orders once they’re fully settled. Trigger: Order canceled. Condition: Order’s financial status is refunded or partially refunded (i.e. any money taken has already been returned) — if the order was never captured/paid in the first place, it can archive immediately with no refund condition needed; tell me which case applies most often on your store so I build the right condition. Actions: Add order tags: “[CANCELLED_ARCHIVED_TAG]” (e.g. “cancelled-archived”). Archive order. Update order note appending: “Auto-archived after cancellation — refund confirmed.” If the order was cancelled but not yet refunded: Add order tags “[CANCELLED_PENDING_REFUND_TAG]” instead and do not archive yet — leave it in the open list until the refund actually posts, since archiving before the refund is issued would bury an order that still needs action. Before activating: Show me the branching logic and confirm the tag names. After I confirm, create and turn on the Flow. Note: archiving doesn’t delete the order or affect financial reporting — it only removes it from the default “open” order list view in admin.
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