Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi There - We have a single store with multiple locations where we have enabled pickup and I'm hoping to automatically tag orders via Flow to help sort out our daily reporting. I'm having trouble finding in flow to report on an order source (ie. either pos or web) and then the associated POS location name (in this case "Fenway"). I can find both as labels on an export from the orders tab but cannot seem to find in Flow as an option... Help greatly appreciated!
Solved! Go to the solution
This is an accepted solution.
You can access whether an order was created through POS in Flow by checking the Sales Channel. Flow uses the GraphQL Admin API, and there the channel is `order.publication.name`. Because POS can also be a location, you can access it via order.physicalLocation, as you note. Rather than checking for a null value, you might just check that order.physicalLocation.name == name of the POS location you use.
FYI, there is a new version of Flow coming out in the next 1-2 weeks that will greatly improve the experience for using these variables in Flow, and also will give access to many more fields that we previously did not have.
Hi Trillium,
Did you find a way to track the source (web or POS) using Shopify Flow?
I am having the same problem here.
In your case, you use the Order physical location legacy resource id field to determine in which location the order was placed.
The problem is that this value is not field when orders come from the web (N/A) and you cannot make a Flow with the following condition :
if Order physical location legacy resource id is equal to "N/A".
Hi!
I am having the same problem. Did anyone found the solution?
Thanks 🙂
Hi @Fabien_Sebban ,
it may not be what you want to hear, but if you do get stuck trying to find this in Flow, our Order Tagger app (https://apps.shopify.com/ordertagger) has a criteria that can tag orders based on the POS location used for the transaction:
We also have a criteria that can tag orders based on the sales channel used, e.g. Online Store, POS, phone (draft), Buy Button etc.
This is an accepted solution.
You can access whether an order was created through POS in Flow by checking the Sales Channel. Flow uses the GraphQL Admin API, and there the channel is `order.publication.name`. Because POS can also be a location, you can access it via order.physicalLocation, as you note. Rather than checking for a null value, you might just check that order.physicalLocation.name == name of the POS location you use.
FYI, there is a new version of Flow coming out in the next 1-2 weeks that will greatly improve the experience for using these variables in Flow, and also will give access to many more fields that we previously did not have.
Thank you guys for your responses.
@paul_n your solution works great! Can't wait to see Shopify Flow's updates.
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023