Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hello,
At our POS terminal we sell our normal line of products that are also sold online and we also run through credit card transactions that are for our manufacturing or distributing ends of the business and they are just processed as custom sales. I would like to use Shopify flow to automatically add tags to these so they can later on be filtered out and organized. The issue I was running into is finding the condition in Shopify flow that would correctly find these custom sales.
Any help would be appreciated!
Solved! Go to the solution
This is an accepted solution.
I used GraphiQL in my shop on a POS order that had both a regular product and custom item. The main difference is that for custom items the product and variant are both null (see output below).
So you could check if the order was places by POS (order / app / name) and if any of the order / lineItems / product is empty or does not exist.
"order": {
"app": {
"name": "Point of Sale"
},
"lineItems": {
"nodes": [
{
"name": "Big Muff Guitar Pedal",
"product": {
"title": "Big Muff Guitar Pedal"
},
"variant": {
"title": "Default Title"
}
},
{
"name": "Test custom sale",
"product": null,
"variant": null
}
]
}
}
},
This is an accepted solution.
I used GraphiQL in my shop on a POS order that had both a regular product and custom item. The main difference is that for custom items the product and variant are both null (see output below).
So you could check if the order was places by POS (order / app / name) and if any of the order / lineItems / product is empty or does not exist.
"order": {
"app": {
"name": "Point of Sale"
},
"lineItems": {
"nodes": [
{
"name": "Big Muff Guitar Pedal",
"product": {
"title": "Big Muff Guitar Pedal"
},
"variant": {
"title": "Default Title"
}
},
{
"name": "Test custom sale",
"product": null,
"variant": null
}
]
}
}
},
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025