Flow: Preview workflows safely with test runs
- Topic
- Automation
- Source
- Shopify Changelog
- Published
This summary was written by ShopDigest AI from Shopify Changelog’s report. Read the full story ↗
Today we’re introducing test runs in Shopify Flow — a safe way to see exactly how a workflow will behave before you activate it. Start a test directly in the editor by choosing an event from your shop and watch how your workflow evaluates in context. With test runs, you can spot issues fast. You can review the exact path your workflow would take through branches and for each loops: You can inspect your shop’s real data, by previewing the output of your Conditions, Liquid code, and Run code steps: Running a test is quick (about 10 seconds) and isolated from your live store. Actions that change something outside the workflow run, such as Add order tags or Send Internal Email, will not run. Instead, the test will show you the output of any Liquid code in the steps. Other actions that only change data for the workflow, like Run code, Count, and Sum will run and display their output. Learn more about testing workflows in the Shopify Help Center and discover automation best practices in our Flow testing guide. For more information, visit the documentation. For questions and feedback, visit the Shopify community.
Overview
Shopify Flow now supports test runs, letting merchants preview how a workflow will behave before activating it. Tests start in the editor using a real shop event and complete in about 10 seconds, isolated from the live store.
Key Details
- Review the exact path a workflow takes through branches and for each loops.
- Preview output from Conditions, Liquid code, and Run code steps using real shop data.
- Actions that change data outside the workflow, such as Add order tags or Send Internal Email, do not run during tests.
- Workflow-only actions like Run code, Count, and Sum do run and display their output.
Frequently asked questions
What are test runs in Shopify Flow?
Test runs are a feature in Shopify Flow that lets you see how a workflow will behave before you activate it. You start a test in the editor by choosing an event from your shop and watch the workflow evaluate in context. Tests are isolated from your live store and take about 10 seconds.
How do I start a test run in Shopify Flow?
Start a test directly in the Flow editor by choosing an event from your shop. The workflow then evaluates in context, and you can review the path it would take and inspect step outputs.
Which actions run during a Shopify Flow test run?
Actions that change something outside the workflow run, such as Add order tags or Send Internal Email, do not run during a test. Actions that only change data for the workflow, like Run code, Count, and Sum, do run and display their output. The test also shows the output of any Liquid code in the steps.
Can I see how branches and for each loops behave in a Shopify Flow test?
Yes, test runs let you review the exact path your workflow would take through branches and for each loops. This helps you spot issues before activating the workflow.
Does a Shopify Flow test run affect my live store?
No, test runs are isolated from your live store. Actions that would change something outside the workflow run are not executed during the test.

