Connect workflow steps
plunk_add_workflow_transitionConnect two existing workflow steps by defining the transition condition and priority, so you can branch or wire the next step in an email workflow.
Instructions
Purpose: Connect one step to another, defining what happens next and under which condition.
Not for: Creating the steps themselves, which is plunk_add_workflow_step. Both ends must exist first.
Returns: The created transition including its id.
Use when: Wiring a newly added step into the workflow, or branching on a condition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workflow UUID | |
| priority | No | ||
| toStepId | Yes | ||
| condition | No | ||
| fromStepId | Yes |