MCP is live.Set upAsk the community
OmniDimension
Workflows

Edit a workflow draft

Change the draft with a list of ops.

Workflow builder. Included from the Jump Starter plan. See plans.

Ops add, update, move or delete nodes, and connect or disconnect them. They apply all together or not at all. Send the revision from your last read. On 409 revision_conflict, read the workflow again and retry.

Secrets read back as ********. Send them back unchanged to keep the stored value. This edits the draft only. Use publishWorkflow to make it live.

Path parameters

workflow_idintegerrequired

Id of the workflow.

Query parameters

user_idintegerresellers only

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.

Body

revisionstringrequired

The draft.revision from your last getWorkflow or edit.

opsobject[]required
+ Show child fields (10)
openumrequired

One of: add_nodeupdate_nodemove_nodedelete_nodeconnectdisconnect

idstring

Node id. For add_node, lowercase letters, digits and underscores, starting with a letter. It must be new.

typestring

add_node: a node type from listWorkflowNodeTypes.

labelstring

add_node, update_node: the name shown on the canvas.

configobject

add_node, update_node: the node's settings. The fields come from getWorkflowNodeType. Send a secret back as ******** to keep the stored value.

afterstring

add_node: id of the node to connect the new node to.

handlestring

add_node, connect, disconnect: the output of the source node. Omit for the default output.

positionobject

add_node, move_node: canvas position. add_node places the node for you if you omit it.

+ Show child fields (2)
xnumber
ynumber
fromstring

connect, disconnect: id of the node the edge starts at.

tostring

connect, disconnect: id of the node the edge ends at.

namestring

Rename the workflow.

Was this page helpful?