Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I'm trying to figure out how to set a value in the Shopify Flow conditions that shows the multiple of a certain number. We're sending coupon emails to customers who continued the subscription every 6 times, and currently we need to keep changing the condition value to 6, 12, 18....and so on. Could someone give a hand?
Solved! Go to the solution
This is an accepted solution.
You can't yet use code in conditions, so it's not possible in a condition to check if its a multiple of 6, unless you hard-code the values 6,12,18,24, etc.
It's not clear what you want to do exactly. It sounds like you need to get the number of orders in a given subscription and then check if that count is a multiple of 6. How are you planning to get the count in the first place?
Hi Paul, appreciate your response. we’ve made customizations so that the number of subscription will be counted in the customer metafields when subscription products are fulfilled.
So in the flow, we made the condition to check the metafields value number when subscription orders were made. Some subscription menus are weekly, so it’s fairly easy to reach a high number.
I was wishing to place a liquid code in the value to automatically count the multiple number, so I can avoid adding the value number in the flow every time, such as 6, 12, 18, 24, ….
This is an accepted solution.
You can't yet use code in conditions, so it's not possible in a condition to check if its a multiple of 6, unless you hard-code the values 6,12,18,24, etc.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025