Skip to main content Link Menu Expand (external link) Document Search Copy Copied

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.