- Información general
- Comience ya
- Conceptos
- Using UiPath CLI
- Guías prácticas
- CI/CD recipes
- Referencia de los comandos
- Información general
- Códigos de salida
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- Crear proyecto
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migración
- Reference & support
UiPath CLI user guide
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
| Superficie | Graph shape | Asset file | Caso de uso principal |
|---|---|---|---|
| Flujo | Visual node-and-edge graph | .flow (JSON) | Agentic workflows, connector automations, AI node chaining |
| Maestro | BPMN 2.0 diagram | .bpmn | Long-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
| Comando | Propósito |
|---|---|
uip flow init | Scaffold a new Flow project |
uip flow node | Add, configure, list, and delete nodes in a .flow file |
uip flow edge | Add, list, and delete edges between nodes |
uip flow validate | Validate a .flow file against the schema (and governance policy) |
uip flow debug | Upload the project to Studio Web and run a debug session |
uip flow pack | Produce a deployable .nupkg |
uip flow registry | Browse 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.
Tiempo de ejecución
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.
| Comando | Propósito |
|---|---|
uip flow process | List and run deployed Flow processes (list, get, run) |
uip flow processes | Process summaries across folders, and per-process incidents |
uip flow instances | Inspect and steer running instances (list, get, pause, resume, cancel, retry, migrate, goto, variables, …) |
uip flow incidents | Read incident summaries and details |
uip flow job | Stream traces (traces) and inspect job status |
Jobs and processes in Orchestrator proper are manipulated through the Orchestrator tool — see Orchestrator jobs and Orchestrator processes.
Convenciones
- Every
uip flowsubcommand 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 loginfirst — see Authentication.
Ver también
uip maestro— BPMN sibling for business-process orchestration- Tools (plugins)
- Autenticación
- Global options, Exit codes