Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I would like to use Liquid in a Shopify Flow IF condition. Is this possible? If so, where should I enter my Liquid logic? (See image below.)
My workflow is scheduled to run every Monday: but I only want it to proceed if the following day (Tuesday) will be during the first week of the month (so 1st - 7th inclusive); otherwise I want it to quit. The default schedule-based triggers aren't sophisticated enough to do that, so I am trying to create the same effect with an IF condition.
Solved! Go to the solution
This is an accepted solution.
You can't use liquid in the condition, but you can before the condition using Run code. In fact there are some examples here that are similar to your use case:
https://github.com/Shopify/flow-code-examples/tree/main/run-code-examples
Which is linked to from this page:
https://help.shopify.com/en/manual/shopify-flow/reference/actions/run-code
This is an accepted solution.
You can't use liquid in the condition, but you can before the condition using Run code. In fact there are some examples here that are similar to your use case:
https://github.com/Shopify/flow-code-examples/tree/main/run-code-examples
Which is linked to from this page:
https://help.shopify.com/en/manual/shopify-flow/reference/actions/run-code
Thanks Paul - I didn't know about the Run code action. I'll investigate.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025