Reroute a node connection
Reroute one existing node connection to another valid target node.
SENDING state.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the workflow.
"clw1a3b5c7d9e1f3g5h7i9j1"
The ID of the source workflow node whose outgoing connection should be moved.
"cln1a3b5c7d9e1f3g5h7i9j1"
Body
Reroute the source node's only outgoing connection to newTargetNodeId.
The workflow revision token returned by the latest workflow read or mutation. Older workflows may return null before their first revision-aware mutation; pass null back as expectedRevisionId in that case. If the token is stale, the API returns a 409 Conflict error.
The valid workflow node that should receive the connection from the source node.
"cln3c5d7e9f1g3h5i7j9k1l3"
Response
Node connection rerouted.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
The updated source node, plus the latest workflow.
SignupTrigger The IDs of the nodes that are downstream of this node.
The current workflow revision token. Pass the latest value as expectedRevisionId on the next workflow mutation.
Related topics
Branching workflowsCreate a workflow nodeWorkflows API examplesGet a workflowSet up a welcome email sequence for new Ghost members
