Wrangler commands
List Workflows associated to account
npx wrangler workflows listpnpm wrangler workflows listyarn wrangler workflows list-
--pagenumber default: 1Show a sepecific page from the listing, can configure page size using "per-page"
-
--per-pagenumberConfigure the maximum number of workflows to show per page
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Describe Workflow resource
npx wrangler workflows describe [NAME]pnpm wrangler workflows describe [NAME]yarn wrangler workflows describe [NAME]-
[NAME]string requiredName of the workflow
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Delete workflow - when deleting a workflow, it will also delete it's own instances
npx wrangler workflows delete [NAME]pnpm wrangler workflows delete [NAME]yarn wrangler workflows delete [NAME]-
[NAME]string requiredName of the workflow
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Trigger a workflow, creating a new instance. Can optionally take a JSON string to pass a parameter into the workflow instance
npx wrangler workflows trigger [NAME] [PARAMS]pnpm wrangler workflows trigger [NAME] [PARAMS]yarn wrangler workflows trigger [NAME] [PARAMS]-
[NAME]string requiredName of the workflow
-
[PARAMS]string default:Params for the workflow instance, encoded as a JSON string
-
--idstringCustom instance ID, if not provided it will default to a random UUIDv4
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Instance related commands (list, describe, terminate, pause, resume)
npx wrangler workflows instances list [NAME]pnpm wrangler workflows instances list [NAME]yarn wrangler workflows instances list [NAME]-
[NAME]string requiredName of the workflow
-
--reverseboolean default: falseReverse order of the instances table
-
--statusstringFilters list by instance status (can be one of: queued, running, paused, errored, terminated, complete)
-
--pagenumber default: 1Show a sepecific page from the listing, can configure page size using "per-page"
-
--per-pagenumberConfigure the maximum number of instances to show per page
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Describe a workflow instance - see its logs, retries and errors
npx wrangler workflows instances describe [NAME] [ID]pnpm wrangler workflows instances describe [NAME] [ID]yarn wrangler workflows instances describe [NAME] [ID]-
[NAME]string requiredName of the workflow
-
[ID]string default: latestID of the instance - instead of an UUID you can type 'latest' to get the latest instance and describe it
-
--step-outputboolean default: trueDon't output the step output since it might clutter the terminal
-
--truncate-output-limitnumber default: 5000Truncate step output after x characters
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Terminate a workflow instance
npx wrangler workflows instances terminate [NAME] [ID]pnpm wrangler workflows instances terminate [NAME] [ID]yarn wrangler workflows instances terminate [NAME] [ID]-
[NAME]string requiredName of the workflow
-
[ID]string requiredID of the instance - instead of an UUID you can type 'latest' to get the latest instance and describe it
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Restart a workflow instance
npx wrangler workflows instances restart [NAME] [ID]pnpm wrangler workflows instances restart [NAME] [ID]yarn wrangler workflows instances restart [NAME] [ID]-
[NAME]string requiredName of the workflow
-
[ID]string requiredID of the instance - instead of an UUID you can type 'latest' to get the latest instance and describe it
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Pause a workflow instance
npx wrangler workflows instances pause [NAME] [ID]pnpm wrangler workflows instances pause [NAME] [ID]yarn wrangler workflows instances pause [NAME] [ID]-
[NAME]string requiredName of the workflow
-
[ID]string requiredID of the instance - instead of an UUID you can type 'latest' to get the latest instance and pause it
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Resume a workflow instance
npx wrangler workflows instances resume [NAME] [ID]pnpm wrangler workflows instances resume [NAME] [ID]yarn wrangler workflows instances resume [NAME] [ID]-
[NAME]string requiredName of the workflow
-
[ID]string requiredID of the instance - instead of an UUID you can type 'latest' to get the latest instance and resume it
Global flags
-
--vboolean alias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstring alias: --cPath to Wrangler configuration file
-
--envstring alias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionboolean aliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createboolean alias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark