auth0 flows create
Create a new flow.
A name is required, supplied with --name or the interactive prompt. The actions graph is authored interactively or supplied with --actions-file; the file must contain only the actions body, not a name. Run auth0 flows create --actions-template > flow.json to generate an actions template.
Usage
auth0 flows create [flags]
Examples
auth0 flows create
auth0 flows create --name "My Flow"
auth0 flows create --actions-template > flow.json
auth0 flows create --name "My Flow" --actions-file ./flow.json
Flags
-f, --actions-file string Path to a JSON file containing the flow actions body. Run with --actions-template to see the expected format.
--actions-template Print the actions template for --actions-file and exit.
--json Output in json format.
--json-compact Output in compact json format.
--name string Name of the Flow.
Inherited Flags
--agent-mode Output JSON, disable prompts and colors. Auto-enabled for AI agents; set AUTH0_AGENT_MODE=false to disable.
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 flows create - Create a new flow
- auth0 flows delete - Delete a flow
- auth0 flows executions - Manage Flow executions
- auth0 flows list - List your flows
- auth0 flows open - Open a flow in the Auth0 Dashboard
- auth0 flows show - Show a flow
- auth0 flows update - Update a flow
- auth0 flows vault - Manage Flow vault connections