You can now specify real records, such as past orders and customers, as test events. On top of that, Sidekick uses AI to analyze branch paths and automatically generate test cases.
To test, you had no choice but to hand-write plausible data and run it — never quite sure it would really work.
You can pick specific records to test, like "last week's fraudulent order" or "a particular customer." Sidekick gathers them automatically and covers every branch, too.
Replay last week's fraudulent order to confirm that the block workflow you built actually fires.
You can add a test to check that the block doesn't misfire on normal orders.
Sidekick analyzes the branches in the workflow and pulls candidate data to exercise each one.
| Item | Before | This update |
|---|---|---|
| Test data | Hand-built Enter dummy values each time | Real data Picked from the shop's past records |
| Identifying branch paths | A person reads the workflow and decides | Sidekick analyzes automatically |
| Creating test cases | Build them one by one by hand | Bulk-generate with "Generate test events" |
| Editing after generation | — | Edit, delete, or add your own |
| Setup | Prepare separate test data | no further setup required Run instantly with a button |
Open the Flow workflow you want to test.
Sidekick analyzes the branches and automatically generates cases populated with real data.
Delete the cases you don't need and add the ones you do. Manual selection happens here too.
Verify behavior instantly with no extra setup.
Test case generation is handled by Shopify's AI assistant, Sidekick. It reads the workflow's branching structure and finds, from your real data, the records that exercise each path.
You can specify actual shop records such as orders/customers. While this inherently makes near-production validation possible,referencing production datais something to keep in mind in your operational policy.
It explicitly states, "Review the generated cases, edit or remove any that don't apply, and add your own." It's designed on the premise that you won't leave everything to the AI, but will add and remove the cases you need from an operational standpoint.
Both "fraudulent order → block fires" and "normal order → no block" positive and negative casescan coexist in a single workflow. This matters from a regression-testing standpoint.
The changelog body supported plans, supported regions, and whether it can be operated via APIis not mentioned. For needs such as automation via Admin GraphQL or invoking it from CI, confirm separately in the documentation(the article provides reference links to the documentation and the Shopify community).