Goal: Automatically tag orders in Shopify Flow with the physical location they ship from.
Problem: The flow was triggering but no location tag appeared on orders, despite reruns. Screenshots of the Flow setup were shared for review (Imgur links), which were central to diagnosing the issue.
Guidance provided:
Pull the inventory/fulfillment location from items within the order (product level) rather than from the order object.
Use conditional logic (IF per location) if multiple locations exist.
Employ a Liquid-based approach looping through fulfillment services to extract location names, then apply as tags.
Outcome: A working solution was confirmed after using the suggested logic. A Liquid snippet looping over shop.fulfillmentServices to read location names was tested and reported to work on a test store, and the original poster confirmed success.
Status: Resolved. No remaining open questions. Code snippet and screenshots were key to the resolution.
Summarized with AI on December 17.
AI used: gpt-5.
Hi, I am trying to use Shopify Flow to tag orders with the physical location they’re being shipped from.
The flow should be very simple and straightforward, yet for some reason, even though it is triggering and running, the orders are not being tagged with their physical location.
I have tried re-running the flow again on orders and still, the tag section seems to be missing the location tag.
Thanks for the image, have you tried adding in reading the inventory location from the product within the order instead of the order itself, or an if function, ie if from X location add x tag, i’m not sure how many inventory locations you are using, so may be more of a task.
Let me know if you need a more in-depth explanation or visual to this in flow.
i have used the below on a test store and can confirm this works for us:
location{% for fulfillmentServices_item in shop.fulfillmentServices %} {{fulfillmentServices_item.location.fulfillmentService.location.name}},{% endfor %}