Automation
đź’Ž Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
automation
orders
shipping
flow
Tag Orders by Shipping Destination
Build a Flow that tags every order by shipping country or region, so fulfillment can filter and batch orders by destination.
đź“‹ Prompt
Build a Shopify Flow that tags orders based on shipping destination. Trigger: Order created. Conditions and actions (build one branch per rule): Shipping address country is not “[HOME_COUNTRY]” → Add order tags “international”. Shipping address country is “[HOME_COUNTRY]” → Add order tags “domestic”. Shipping address province/state is one of [REGION_1_STATE_LIST] → Add order tags “[REGION_1_TAG]” (e.g. “west-coast”). Shipping address province/state is one of [REGION_2_STATE_LIST] → Add order tags “[REGION_2_TAG]” (e.g. “east-coast”). Shipping address zip/postal code matches a PO Box pattern I provide, or address line contains “PO Box” / “P.O. Box” → Add order tags “po-box”. Before activating: Show me each condition branch and the exact tag it applies. Confirm the state/province lists for each region tag — I’ll provide the full list. After I confirm, create and turn on the Flow. Note: Flow can only match on structured address fields (country, province, city, zip) and text patterns in the address lines — it can’t infer “west coast” on its own, so the region-to-state mapping has to come from me. If I later want this to also route orders to a specific fulfillment location by region, that’s a follow-up Flow using “Move fulfillment order,” separate from tagging.
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