--- title: Shopify Flow - Use dev command to preview tasks and use more complex data in triggers - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/shopify-flow-use-dev-command-to-preview-tasks-and-use-more-complex-data-in-triggers md: https://shopify.dev/changelog/shopify-flow-use-dev-command-to-preview-tasks-and-use-more-complex-data-in-triggers.md --- [Back to Developer changelog](https://shopify.dev/changelog) October 4, 2023 Tags: * Platform # Shopify Flow - Use dev command to preview tasks and use more complex data in triggers With this update, the `dev` command is now supported for Flow extensions, you can use more complex data in your triggers, and Flow in the CLI is generally available. ## Flow in the CLI Flow in the Shopify CLI is now generally available. We still welcome feedback at Previously, Flow actions and triggers were defined in the partner dashboard. As [Shopify CLI ](https://www.npmjs.com/package/@shopify/cli)adoption has expanded, this meant that you needed to manage and deploy your Flow extensions separately from the rest of your app. Going forward, you will now create your Flow tasks and actions through the CLI. You follow these guides for how to create both [triggers](https://shopify.dev/docs/apps/flow/triggers/create-a-trigger) and [actions](https://shopify.dev/docs/apps/flow/actions/create-an-action) through the CLI. In addition, you can [migrate your existing tasks](https://shopify.dev/docs/apps/flow/migrating-flow-legacy-extensions) to be CLI-managed, unifying your code. For more details on what is possible, you can also consult Flow’s reference guide for [triggers](https://shopify.dev/docs/apps/flow/triggers/reference) and [actions](https://shopify.dev/docs/apps/flow/actions/reference). ## Dev command You can now also use the `dev` [command](https://shopify.dev/docs/apps/tools/cli/commands#dev) to preview Flow tasks in your development store. See our docs for [triggers](https://shopify.dev/docs/apps/flow/triggers/create-a-trigger#step-3-enable-the-draft-version-of-your-trigger) and [actions](https://shopify.dev/docs/apps/flow/actions/create-an-action#step-4-enable-the-draft-version-of-your-action). ## Complex data in triggers Finally, like actions, Flow triggers now support more [complex data structures](https://shopify.dev/docs/apps/flow/using-complex-data-types), like lists and objects, making it easier than ever to build your triggers in Flow. ## Requirements To create Flow extensions using the CLI, version 3.48 or higher is required. To use `dev` version 3.49 or higher is required.