Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
First time user of Flow here so sorry if this is as easy as it should be but...
I can't figure out how to check if an order (trigger) has product A.
This should be really straight forward, how do I set it up??
Thanks in advance
Thanks Pravesh! I could however not find the exact same Name.
In template Name is "Order.lineItems.name"
I could only find Name "lineItems_item.name"
How do I find the same one (if it should be that one) as in the template?
Many thanks
Hey @emilkoz,
You can set a shopify flow where you want to check if the order contains specific product. To implement this please follow the steps below:
1. Select "Order Created" as the trigger. You can even search for it in the search box. Please see the screenshot below:
2. Now you need to add a condition for which only the flow should execute, for that click on condition button appearing just below the trigger.
A condition drawer would slide, from that click on "Add a variable" button.
A popup will show up asking you to add the variables for condition. Please see the screenshot below:
3. In the search field, search for lineitem/product/id and select the option highlighted in the screenshot below:
4. Once you select the option, then you will be prompted to select the product as shown in the screenshot below:
5. Click on "Select product" and from the list of products you can search for the product for which you want to add a flow.
6. Once the product is selected, you will need to add an action for the flow, through which you can select whatever you want to do when this product is ordered on the store.
7. Done? Now you just need to turn on the workflow and bingo—you’re good to go! 🎉
For example, in the screenshot below: you can see that I have created a flow for flagging a gift product, and if the order contains the product, then I will tag that order as Gift Order.
I hope this helps! 😊
If my response helped, please consider giving it a like (👍) and marking it as an accepted solution—it helps other merchants with the same question.
Regards,
Abhishek | Swym
In Canada, payment processors, like those that provide payment processing services t...
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