MCP is live.Set upAsk the community
OmniDimension
Workflows

Create a workflow

Create a workflow with a draft.

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

Without graph, the draft holds one trigger node, ready for editWorkflow ops. Pass graph only to start from a complete graph. The response carries the revision you need to edit.

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

namestringrequired

A non-empty name.

graphobject

A complete graph to start a workflow from, in the same shape getWorkflow returns under draft. A workflow you read can be sent back as a new one. It is built with the same checks as editWorkflow ops. Most callers skip it and build with editWorkflow instead.

+ Show child fields (2)
nodesobject[]required
+ Show child fields (5)
idstringrequired

Lowercase letters, digits and underscores, starting with a letter. Later nodes read this node's output as {{ context.<id>.<field> }}.

typestringrequired

A node type from listWorkflowNodeTypes.

labelstring
positionobject
+ Show child fields (2)
xnumber
ynumber
configobject

The node's settings. The fields come from getWorkflowNodeType.

edgesobject[]required
+ Show child fields (3)
fromstringrequired

Id of the node the edge starts at.

tostringrequired

Id of the node the edge ends at.

handlestring

The output of the from node. Omit it, or send default, for a plain node's only output.

Was this page helpful?