- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip maestro authoring
- uip maestro registry
- uip model-hub
- activities find
- activities get-default-xaml
- analyze
- analyzer-rules list
- build
- cleanup
- data-fabric-entities install
- data-fabric-entities list
- files diff
- get-library-object-repository
- get-object-repository
- init
- instances list
- pack
- packages inspect
- packages install
- packages versions
- publish
- remote
- restore
- run, debug & execution
- settings
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- tm
- uia
- validate
- workflow-examples get
- workflow-examples list
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip maestro flow nodes and uip maestro flow edges
Syntax and options for `uip maestro flow nodes` and `uip maestro flow edges`, which create, configure, list, and delete nodes and edges in a `.flow` file.
A Flow is a graph. Nodes are the vertices (triggers, activities, connectors, agents); edges are the directed connections between them. The uip maestro flow nodes and uip maestro flow edges commands edit a .flow file in place — adding, configuring, listing, and deleting both.
This page also covers two companion command groups that edit the .flow file in the same way: variables and bindings.
Synopsis
uip maestro flow nodes create <file> <node-type> [-i <json>] [--position <x,y>] [--label <label>] [--source <uuid>] [--parent <node-id>] [--metadata <file> --scripts <dir>]
uip maestro flow nodes configure <file> <node-id> --detail <json>
uip maestro flow nodes list <file> [--limit <n>] [--offset <n>]
uip maestro flow nodes delete <file> <node-id>
uip maestro flow edges create <file> <source-id> <target-id> [--source-port <port>] [--target-port <port>]
uip maestro flow edges list <file> [--limit <n>] [--offset <n>]
uip maestro flow edges delete <file> <edge-id>
uip maestro flow nodes create <file> <node-type> [-i <json>] [--position <x,y>] [--label <label>] [--source <uuid>] [--parent <node-id>] [--metadata <file> --scripts <dir>]
uip maestro flow nodes configure <file> <node-id> --detail <json>
uip maestro flow nodes list <file> [--limit <n>] [--offset <n>]
uip maestro flow nodes delete <file> <node-id>
uip maestro flow edges create <file> <source-id> <target-id> [--source-port <port>] [--target-port <port>]
uip maestro flow edges list <file> [--limit <n>] [--offset <n>]
uip maestro flow edges delete <file> <edge-id>
Honors global options. Exit codes follow the standard contract.
The singular group names node, edge, variable, and binding are aliases of nodes, edges, variables, and bindings. add is an alias of create in all four groups, and remove is an alias of delete in variables and bindings.
uip maestro flow nodes create
Create a node in a .flow file. The node type must exist in the registry — use uip maestro flow registry search to discover valid <node-type> values.
Arguments
<file>(required) — path to the.flowfile.<node-type>(required) — node type identifier (e.g.core.trigger.manual,uipath.connector.slack.send-message).
Options
| Option | Description |
|---|---|
-i, --input <json> | JSON object of input values to set on the node (e.g. '{"script":"…"}'). Must be a JSON object, not an array or scalar. For connector nodes (type uipath.connector.*), do not pass --input here — run nodes configure afterward. |
--position <x,y> | Canvas position, e.g. 250,150. Both x and y are required numbers. |
--label <label> | Display label for the node. |
--source <uuid> | Source UUID for node types whose definition declares a source dependency (populates inputs.source). For an inline agent node, pass the agent's ProjectId. For an agent resource node, pass the resource id from the parent inline agent's resources[]. |
--parent <node-id> | ID of the existing node that should contain this node — set when authoring a loop body whose containment can't be inferred from edges alone (typically the id of a core.logic.loop node). |
--metadata <file> | Non-catalog activities only. The activity metadata file (<Name>.json) generated by uip is activities metadata generate. The node definition is built from this file instead of the registry, and <node-type> must be uipath.connector.custom.<connector-key>.<slug>. Requires --scripts. |
--scripts <dir> | Non-catalog activities only. Directory that holds <scriptRef>.js for the action and for every lookup the metadata references. The script sources are embedded in the node. Requires --metadata. |
Example
uip maestro flow nodes create invoice-flow.flow uipath.connector.slack.send-message --label "Notify team"
uip maestro flow nodes create invoice-flow.flow uipath.connector.slack.send-message --label "Notify team"
Data shape (--output json)
{
"Code": "NodeAddSuccess",
"Data": {
"Node": { "id": "node_a1b2c3d4", "type": "uipath.connector.slack.send-message" },
"DefinitionAdded": true,
"BindingsCreated": 0,
"VariableCount": 0
}
}
{
"Code": "NodeAddSuccess",
"Data": {
"Node": { "id": "node_a1b2c3d4", "type": "uipath.connector.slack.send-message" },
"DefinitionAdded": true,
"BindingsCreated": 0,
"VariableCount": 0
}
}
DefinitionAdded is true on the first insertion of a given node-type — the corresponding entry in the .flow definitions[] array is created.
Passing only one of --metadata and --scripts fails the command.
uip maestro flow nodes configure
Populate inputs.detail on an already-added node and create the workflow bindings it needs. Run this after nodes create for connector, managed HTTP, and file nodes (core.action.file.read, core.action.file.create). A file node's Orchestrator connection is bound only by nodes configure; a connectionId passed in nodes create --input is not bound.
Arguments
<file>(required) — path to the.flowfile.<node-id>(required) — ID of the node to configure (find it withnodes list).
Options
--detail <json>(required) — configuration JSON. Shape depends on node type:
Connector nodes (uipath.connector.*)
Get method and endpoint from connectorMethodInfo in the registry get output.
- Required:
connectionId,folderKey,method,endpoint - Required for Generic activities (manifest
activityTypeGeneric, such as*.insert-recordor*.list-records):objectName. Discover objects withuip is resources listanduip is resources describe. - Optional:
bodyParameters,queryParameters,pathParameters,filter,customFieldsRequestDetails
A value that reads another node's output must use the $vars. prefix inside the =js: expression, for example "=js:$vars.createEntityRecord1.output.Id". The bare form ("=js:createEntityRecord1.output.Id") resolves to undefined at runtime.
uip maestro flow nodes configure invoice-flow.flow node_a1b2c3d4 --detail '{
"connectionId": "b2c3d4e5-0000-0000-0000-000000000001",
"folderKey": "c3d4e5f6-0000-0000-0000-000000000001",
"method": "POST",
"endpoint": "/issues",
"bodyParameters": { "summary": "Bug" }
}'
uip maestro flow nodes configure invoice-flow.flow node_a1b2c3d4 --detail '{
"connectionId": "b2c3d4e5-0000-0000-0000-000000000001",
"folderKey": "c3d4e5f6-0000-0000-0000-000000000001",
"method": "POST",
"endpoint": "/issues",
"bodyParameters": { "summary": "Bug" }
}'
Connector triggers and wait-for events (uipath.connector.trigger., uipath.connector.event.)
A connector trigger starts the flow; a wait-for event node pauses the flow until the event fires. Both take the same detail shape.
- Required:
connectionId,folderKey,eventMode(for examplepollingorwebhooks) - Required for Generic triggers and events (manifest
activityTypeGenericTrigger, such as a Data Fabric*.record-created):objectName, the object to subscribe to - Optional:
eventParameters,queryParameters,pathParameters,filter(a structured filter tree, not a raw expression)
Discover eventMode with uip is triggers describe <connector-key> <eventType> <object> --connection-id <uuid>.
uip maestro flow nodes configure invoice-flow.flow node_trigger1 --detail '{"connectionId":"…","folderKey":"…","eventMode":"polling"}'
uip maestro flow nodes configure invoice-flow.flow node_trigger1 --detail '{"connectionId":"…","folderKey":"…","eventMode":"polling"}'
File nodes (core.action.file.read, core.action.file.create)
Bind the Orchestrator connection the node uses to reach job attachments.
- Required:
connectionId(auipath-uipath-orchestratorconnection UUID) - Optional:
folderKey(defaults to the connection's folder)
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'
Managed HTTP nodes (core.action.http.v2)
Two authentication modes:
Connector mode (authentication: "connector") — uses an Integration Service connection for auth:
- Required:
authentication,method,connectionId,folderKey,targetConnector method∈GET,POST,PUT,PATCH,DELETE,OPTIONS,HEAD- Optional:
url(path appended to connector base URL),headers,query,body
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
"authentication": "connector",
"targetConnector": "uipath-microsoft-outlook365",
"connectionId": "…",
"folderKey": "…",
"method": "GET",
"url": "/me"
}'
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
"authentication": "connector",
"targetConnector": "uipath-microsoft-outlook365",
"connectionId": "…",
"folderKey": "…",
"method": "GET",
"url": "/me"
}'
Manual mode (authentication: "manual") — no connector auth, provide the full URL and any auth headers yourself:
- Required:
authentication,method,url(full URL) - Optional:
headers,query,body(string; can be an expression, e.g.=js:({…}))
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
"authentication": "manual",
"method": "GET",
"url": "https://api.example.com/data",
"headers": { "Authorization": "Bearer <token>" }
}'
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
"authentication": "manual",
"method": "GET",
"url": "https://api.example.com/data",
"headers": { "Authorization": "Bearer <token>" }
}'
Data shape (--output json)
{
"Code": "NodeConfigureSuccess",
"Data": {
"NodeId": "node_a1b2c3d4",
"BindingsCreated": 2,
"DetailPopulated": true
}
}
{
"Code": "NodeConfigureSuccess",
"Data": {
"NodeId": "node_a1b2c3d4",
"BindingsCreated": 2,
"DetailPopulated": true
}
}
uip maestro flow nodes list
List all nodes in a .flow file.
Arguments
<file>(required) — path to the.flowfile.
Options
| Option | Description |
|---|---|
-l, --limit <number> | Number of rows to return, 1–10000. |
--offset <number> | Number of rows to skip, 0–1000000. Default 0. |
Without --limit or --offset, every row comes back. With either one, Count is the number of rows returned, and the response carries a Pagination object with:
ReturnedLimitOffsetTotalHasMore
Data shape (--output json)
{
"Code": "NodeListSuccess",
"Data": {
"Nodes": [
{ "id": "start", "type": "core.trigger.manual" },
{ "id": "node_a1b2c3d4", "type": "core.action.http.v2" }
],
"Count": 2
}
}
{
"Code": "NodeListSuccess",
"Data": {
"Nodes": [
{ "id": "start", "type": "core.trigger.manual" },
{ "id": "node_a1b2c3d4", "type": "core.action.http.v2" }
],
"Count": 2
}
}
Each entry includes at minimum id and type; the service also attaches display metadata from the .flow definitions[] array.
uip maestro flow nodes delete
Delete a node and everything it owns. Use nodes list to find the node ID. Deletes:
- Connected edges
- Orphaned bindings
- Orphaned definitions
- Node variables owned by the deleted node
- Variable updates owned by the deleted node
Arguments
<file>(required) — path to the.flowfile.<node-id>(required) — ID of the node to delete.
Data shape (--output json)
{
"Code": "NodeDeleteSuccess",
"Data": {
"DeletedNode": { "id": "node_a1b2c3d4", "type": "core.action.http.v2" },
"EdgesRemoved": 1,
"BindingsRemoved": 0,
"DefinitionsRemoved": 0,
"VariablesRemoved": 0,
"VariableUpdatesRemoved": 0
}
}
{
"Code": "NodeDeleteSuccess",
"Data": {
"DeletedNode": { "id": "node_a1b2c3d4", "type": "core.action.http.v2" },
"EdgesRemoved": 1,
"BindingsRemoved": 0,
"DefinitionsRemoved": 0,
"VariablesRemoved": 0,
"VariableUpdatesRemoved": 0
}
}
uip maestro flow edges create
Create an edge between two nodes.
Arguments
<file>(required) — path to the.flowfile.<source-id>(required) — ID of the source node.<target-id>(required) — ID of the target node.
Options
--source-port <port>— source port name. Defaults to the port the node's definition marks as default, elseoutput, else the node's only flow port. A node with several flow ports and no default, such as a decision, needs--source-port(for example--source-port true).--target-port <port>— target port name. Defaults to the port the node's definition marks as default, elseinput, else the node's only flow port.
Running the command again with the same arguments returns the existing edge with Code: "EdgeAlreadyExists" and writes a warning to stderr.
Data shape (--output json)
{
"Code": "EdgeAddSuccess",
"Data": {
"Edge": {
"id": "edge_a1b2c3d4",
"source": "Node_1",
"target": "Node_2",
"sourcePort": "output",
"targetPort": "input"
}
}
}
{
"Code": "EdgeAddSuccess",
"Data": {
"Edge": {
"id": "edge_a1b2c3d4",
"source": "Node_1",
"target": "Node_2",
"sourcePort": "output",
"targetPort": "input"
}
}
}
uip maestro flow edges list
List all edges in a .flow file.
uip maestro flow edges list <file> [--limit <n>] [--offset <n>]
uip maestro flow edges list <file> [--limit <n>] [--offset <n>]
Options
| Option | Description |
|---|---|
-l, --limit <number> | Number of rows to return, 1–10000. |
--offset <number> | Number of rows to skip, 0–1000000. Default 0. |
Without --limit or --offset, every row comes back. With either one, Count is the number of rows returned, and the response carries a Pagination object with:
ReturnedLimitOffsetTotalHasMore
{
"Code": "EdgeListSuccess",
"Data": {
"Edges": [
{ "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
],
"Count": 1
}
}
{
"Code": "EdgeListSuccess",
"Data": {
"Edges": [
{ "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
],
"Count": 1
}
}
uip maestro flow edges delete
Deletes a single edge by ID. Use edges list to find the ID.
Arguments
<file>(required) — path to the.flowfile.<edge-id>(required) — ID of the edge to delete.
Data shape (--output json)
{
"Code": "EdgeDeleteSuccess",
"Data": {
"DeletedEdge": { "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
}
}
{
"Code": "EdgeDeleteSuccess",
"Data": {
"DeletedEdge": { "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
}
}
Variables
The variables group edits the variables subtree of a .flow file.
uip maestro flow variables
uip maestro flow variables create <file> <variable-id> -d, --direction <direction> [-t, --type <type>] [--default-value <val>] [--description <text>] [--schema <json>] [--sub-type <type>] [--trigger-node-id <nodeId>]
uip maestro flow variables list <file> [--limit <n>] [--offset <n>]
uip maestro flow variables delete <file> <variable-id>
uip maestro flow variables create <file> <variable-id> -d, --direction <direction> [-t, --type <type>] [--default-value <val>] [--description <text>] [--schema <json>] [--sub-type <type>] [--trigger-node-id <nodeId>]
uip maestro flow variables list <file> [--limit <n>] [--offset <n>]
uip maestro flow variables delete <file> <variable-id>
direction∈in,out,inout(required).type∈string,number,boolean,object,array,file(defaultstring).--default-valueis parsed per--type—object/arrayvalues must be valid JSON of the matching shape.--schemamust be a JSON object (e.g.'{"type":"string"}').--trigger-node-id <nodeId>— the trigger node an input variable belongs to. Defaults to the flow's only trigger node; required when the flow has more than one entry point.
list takes --limit and --offset, as nodes list does.
Data shapes: VariableAddSuccess (Data.Variable) for create, VariableListSuccess (Data.Variables[], Count), VariableRemoveSuccess (Data.DeletedVariable) for delete.
Bindings
Bindings declare the external resources a Flow needs at publish/deploy time (a target process, an agent, a connection, a queue, …) and which node property they wire into.
uip maestro flow bindings create <file> <name> <resource> <default-value> [--resource-key <key>] [--property-attribute <attr>] [--resource-sub-type <type>]
uip maestro flow bindings list <file> [--limit <n>] [--offset <n>]
uip maestro flow bindings delete <file> <resource-key>
uip maestro flow bindings create <file> <name> <resource> <default-value> [--resource-key <key>] [--property-attribute <attr>] [--resource-sub-type <type>]
uip maestro flow bindings list <file> [--limit <n>] [--offset <n>]
uip maestro flow bindings delete <file> <resource-key>
<resource>is a resource type, such asconnection,queue,process, orbucket. Runuip maestro flow bindings create --helpfor the full list.--property-attributeis the target node property the binding populates (e.g.name,folderPath,connection).--resource-sub-typeprovides sub-classification (e.g.Agent,Process).bindings deletedeletes all bindings with the given resource key, not a single entry by ID.listtakes--limitand--offset, asnodes listdoes.
Data shapes: BindingAddSuccess (Data.Binding) for create, BindingListSuccess (Data.Bindings[], Count), BindingRemoveSuccess (Data.DeletedBindings[], Count) for delete.
uip maestro flow format
Auto-layout: reposition nodes in a .flow file to remove overlaps and arrange the graph cleanly.
uip maestro flow format <file>
uip maestro flow format <file>
Data shape: Code: "FlowFormat", Data: { File, NodesTotal, EdgesTotal, NodesRepositioned, NodesResized, SubflowsTidied, VariableCount }.
See also
uip maestro flow registry— discover node typesuip maestro flow validate— validate the edited.flowuip maestro flow init- Flow overview
- Synopsis
- uip maestro flow nodes create
- Arguments
- Options
- Example
- Data shape (
--output json) - uip maestro flow nodes configure
- Arguments
- Options
- Connector nodes (uipath.connector.*)
- Connector triggers and wait-for events (uipath.connector.trigger., uipath.connector.event.)
- File nodes (core.action.file.read, core.action.file.create)
- Managed HTTP nodes (core.action.http.v2)
- Data shape (
--output json) - uip maestro flow nodes list
- Arguments
- Options
- Data shape (
--output json) - uip maestro flow nodes delete
- Arguments
- Data shape (
--output json) - uip maestro flow edges create
- Arguments
- Options
- Data shape (
--output json) - uip maestro flow edges list
- Options
- uip maestro flow edges delete
- Arguments
- Data shape (
--output json) - Variables
- uip maestro flow variables
- Bindings
- uip maestro flow format
- See also