Create a workflow node
Create a new default workflow node and return it with the latest workflow
insertMode:
betweenplaces it between an existingfromNodeId->toNodeIdconnectionbeforeplaces it beforebeforeNodeId.
BranchNode creates two AudienceFilter children, and ExperimentBranchNode creates two regular VariantNode children plus one control VariantNode.
Public workflows can have up to 300 nodes. Generated children count toward that limit, so a normal create adds 1 node, BranchNode adds 3, and ExperimentBranchNode adds 4. To add a new branch or experiment branch, use the /v1/workflows/{workflowId}/nodes/{nodeId}/add-branch endpoint instead.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the workflow.
Body
- Option 1
- Option 2
Create a new workflow node with an explicit insertMode. To configure the node after creation, call the update workflow node endpoint.
The workflow revision token returned by the latest workflow read or mutation. Mutations reject stale values.
between Node types that can be created with the API. *Trigger nodes and ExitAction nodes cannot be created.
AudienceFilter, BranchNode, ExperimentBranchNode, TimerAction, SendEmailAction, VariantNode The node to insert after. This node must currently point to toNodeId.
The node to insert before.

