UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Última atualização 7 de mai de 2026

uip flow

uip flow authors, packs, debugs, and operates UiPath Flow projects — graph-shaped workflows made of nodes (activities, triggers, connectors) connected by edges. Flow is one of two orchestration surfaces in UiPath; see uip maestro for BPMN-based business-process orchestration, its sibling.

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

When to use Flow vs Maestro

SuperfícieGraph shapeAsset fileCaso de uso principal
FluxoVisual 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, instance, incident, job, 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 flow init invoice-flow

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

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

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

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

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

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

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

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

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

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

Authoring commands

CommandFinalidade
uip flow initScaffold a new Flow project
uip flow nodeAdd, configure, list, and delete nodes in a .flow file
uip flow edgeAdd, list, and delete edges between nodes
uip flow validateValidate a .flow file against the schema (and governance policy)
uip flow debugUpload the project to Studio Web and run a debug session
uip flow packProduce a deployable .nupkg
uip flow registryBrowse and search available node types (OOTB + connector)

Variable, binding, and layout helpers

These CLI surfaces are not on the sidebar yet but are callable today — they are thin wrappers for editing the .flow JSON programmatically:

  • uip flow variable — add / list / delete top-level workflow variables (in, out, inout). See node-edge.md.
  • uip flow variable-update — attach a JS assignment expression to a node (=js:ctx.output) that runs on completion.
  • uip flow binding — add / list / delete resource bindings (process, agent, connection, etc.) that are resolved at publish time.
  • uip flow tidy — auto-layout: reposition nodes to remove overlaps.

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.

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

Jobs and processes in Orchestrator proper are manipulated through the Orchestrator tool — see Orchestrator jobs and Orchestrator processes.

Convenções

  • Every uip 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 — see Authentication.

Veja também

  • When to use Flow vs Maestro
  • Authoring flow
  • Authoring commands
  • Variable, binding, and layout helpers
  • Runtime
  • Convenções
  • Veja também

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades