Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi,
I have two flows called Flow A and Flow B with trigger "When a new product is created".
Is it possible to set the order in which they are executed?
I always want Flow A to be executed first, then Flow B.
Solved! Go to the solution
This is an accepted solution.
You can have more than 1 but they run in parallel. You might be able to get around that by using a wait step, but it's not guaranteed that will work 100% of the time to control the order (for example, one workflow could get an error response and then need to retry).
Yes, merge them into 1 workflow. Controlling the order of execution is what a workflow is designed to do
Hi Paul, thanks for your reply. The flow A is already very long and complex, I was hoping to be able to create more than one flow to handle them without confusion.
I understand that this is not possible, do I have to have one flow for each type of trigger?
This is an accepted solution.
You can have more than 1 but they run in parallel. You might be able to get around that by using a wait step, but it's not guaranteed that will work 100% of the time to control the order (for example, one workflow could get an error response and then need to retry).
Thanks Paul, I'll try to run Flow B after 30 minutes.
What are the flow triggers for the two flows? Might be possible to do something creative to get the first one to trigger the second one.
I now a way you can set the order. You coud change the trigger for one of them.
example:
Flow could start when product is created, and then it runs all you need, but at the end, you can add a product tag, let's say "xyz".
Flow B's trigger will be "product tags added" and will check if the added tag is "xyz" then it runs all the stuff and, at the end, remove the tag (if you want)
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025