Deploy run-code action

Deploy run-code action

Shopify Partner
8 1 9



We have started using the new Flow run-code actions and are building/testing them as in the nice examples provided by Shopify here:


We are however missing an easy and secure way of deploying the action code and graphQL to an action in a flow on a store - as opposed to copy pasting by hand.


Is there any CLI tooling on the roadmap for supporting this?

Reply 1 (1)

Shopify Staff
33 3 1

Currently you can create Flow extensions (actions, triggers, and templates) through the CLI. Depending on your use case, creating a template with a code action might be what you're looking for. We don't support deploying a code action within a workflow via the CLI.

To learn more visit the Shopify Help Center or the Community Blog.