Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi there!
Our store currently sends three abandoned checkout emails that were automated with Flow. As an email marketing specialist, I have some concerns about the performance of one of these emails, and I would like to test a hypothesis by comparing it with a slightly different version. However, I don't want to completely replace the existing email, as it has been working well so far.
So, my question is: A) is there a way to split the email flow into two equal groups (e.g., 50/50), so that each group receives a different version of the email, and then B) later combine the groups back into one flow?
Thank you for your help!
Solved! Go to the solution
This is an accepted solution.
There isn't a random number generator yet, although you can generate random numbers in liquid. I don't think that helps you for this use case, though.
Instead, you could look for something on the customer that is random and check for that in a condition (like the presence of a letter/number in their name or email). It likely won't give you a perfect 50-50 split, but is a decent workaround until that action exists.
This is an accepted solution.
There isn't a random number generator yet, although you can generate random numbers in liquid. I don't think that helps you for this use case, though.
Instead, you could look for something on the customer that is random and check for that in a condition (like the presence of a letter/number in their name or email). It likely won't give you a perfect 50-50 split, but is a decent workaround until that action exists.
Thanks! I used add and even numbers of {{id}} to split that flow.
What about joining splitted flow back? Is it possible?
Not currently. Right now, you'll need to duplicate the steps per branch
How did you do this exactly? I don't seem to have an odd/even option.
To do so you need to add a condition that checks some number related to your flow. At last, I choose a customer's phone number. Even numbers lead to one thread, odd numbers - to another one. It's not a beautiful but working solution.