UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip maestro flow

Commands for authoring, packing, debugging, and operating UiPath Flow graph-shaped workflow projects using the `uip maestro flow` tool.

uip maestro flow authors, packs, debugs, and operates UiPath Flow projects — graph-shaped workflows made of nodes (activities, triggers, connectors) connected by edges. For BPMN-based business-process orchestration, refer to the sibling tool, uip maestro bpmn.

The tool is shipped as part of the @uipath/maestro-tool plugin (command prefix maestro flow). Refer to Tools (plugins) for how plugins are installed and versioned.

When to use Flow vs Maestro​

SurfaceGraph shapeAsset filePrimary use case
FlowVisual node-and-edge graph.flow (JSON)Agentic workflows, connector automations, AI node chaining
MaestroBPMN 2.0 diagram.bpmnLong-running, human-in-the-loop, business process orchestration

Both tools publish .nupkg packages to Orchestrator and share the runtime primitives (processes, instances, incidents, jobs, registry).

Authoring flow​

A Flow project is a directory with a project.uiproj manifest and one or more .flow files (plus supporting files generated at pack time).

# 1. Scaffold a new project
uip maestro flow init invoice-flow

# 2. Discover nodes in the registry
uip maestro flow registry pull
uip maestro flow registry search slack

# 3. Edit the .flow file — add nodes, edges, variables, bindings
uip maestro flow nodes create invoice-flow/invoice-flow.flow uipath.connector.slack.send-message --label "Notify"
uip maestro flow edges create invoice-flow/invoice-flow.flow start node_a1b2c3d4
uip maestro flow nodes configure invoice-flow/invoice-flow.flow node_a1b2c3d4 --detail '{"connectionId":"…","folderKey":"…","method":"POST","endpoint":"/…"}'

# 4. Validate structure (and optionally governance policy)
uip maestro flow validate invoice-flow/invoice-flow.flow

# 5. Run against Studio Web to smoke-test
uip maestro flow debug ./invoice-flow

# 6. Pack for deployment
uip maestro flow pack ./invoice-flow ./dist --version 1.0.0
# 1. Scaffold a new project
uip maestro flow init invoice-flow

# 2. Discover nodes in the registry
uip maestro flow registry pull
uip maestro flow registry search slack

# 3. Edit the .flow file — add nodes, edges, variables, bindings
uip maestro flow nodes create invoice-flow/invoice-flow.flow uipath.connector.slack.send-message --label "Notify"
uip maestro flow edges create invoice-flow/invoice-flow.flow start node_a1b2c3d4
uip maestro flow nodes configure invoice-flow/invoice-flow.flow node_a1b2c3d4 --detail '{"connectionId":"…","folderKey":"…","method":"POST","endpoint":"/…"}'

# 4. Validate structure (and optionally governance policy)
uip maestro flow validate invoice-flow/invoice-flow.flow

# 5. Run against Studio Web to smoke-test
uip maestro flow debug ./invoice-flow

# 6. Pack for deployment
uip maestro flow pack ./invoice-flow ./dist --version 1.0.0

Authoring commands​

CommandPurpose
uip maestro flow initScaffold a new Flow project
uip maestro flow nodesCreate, configure, list, and delete nodes in a .flow file
uip maestro flow edgesCreate, list, and delete edges between nodes
uip maestro flow validateValidate a .flow file against the schema (and governance policy)
uip maestro flow debugUpload the project to Studio Web and run a debug session
uip maestro flow debug-instancesLower-level, step-by-step debug session control (create/status/breakpoints/continue)
uip maestro flow evalManage evaluators/evaluation sets/data points and run them in Studio Web
uip maestro flow hitlAdd a Human-in-the-Loop node to a .flow file
uip maestro flow migrateUpgrade a .flow file to the current schema version
uip maestro flow packProduce a deployable .nupkg
uip maestro flow publishPack and upload directly to Orchestrator packages
uip maestro flow registryBrowse and search available node types (OOTB + connector)
uip maestro flow compile, check, decompile, mergeConvert between authored TypeScript (.flow.ts) and a .flow file with the builder SDK

Variable, binding, and layout helpers​

These commands edit the .flow JSON directly:

Runtime​

At runtime a published Flow package becomes a process on Orchestrator. Starting one creates an instance; each execution attempt is a job; failures surface as incidents.

CommandPurpose
uip maestro flow processList and run deployed Flow processes (list, get, run)
uip maestro flow processesProcess summaries across folders, and per-process incidents
uip maestro flow instancesInspect and steer running instances (list, get, pause, resume, cancel, retry, migrate, goto, variables, …)
uip maestro flow incidentsRead incident summaries and details
uip maestro flow jobsList jobs, stream traces (traces), and inspect job status

Jobs and processes in Orchestrator proper are manipulated through the Orchestrator tool. Refer to Orchestrator jobs and Orchestrator processes.

Conventions​

  • Every uip maestro flow subcommand honors the global options (--output, --output-filter, --log-level, --log-file).
  • Default output is JSON.
  • Exit codes follow the standard contract.
  • Most runtime commands require uip login first. Refer to Authentication.

See also​

  • When to use Flow vs Maestro​
  • Authoring flow​
  • Authoring commands​
  • Variable, binding, and layout helpers​
  • Runtime​
  • Conventions​
  • See also​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated