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)
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024