Workflows: step link
workflows_step_linkLink workflow steps by setting on_success and on_failure step IDs to choose which step runs next after success or failure.
Instructions
Link workflow steps together (set on-success/on-failure). Sets which step runs next when this one succeeds (on_success) or fails (on_failure), by step id from workflows_get; a link you leave out keeps its current value. Links can be changed but not cleared here, and the step's name, action and params stay as they are. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step_id | Yes | Step ID to update | |
| on_failure | No | Step ID to execute on failure | |
| on_success | No | Step ID to execute on success | |
| workflow_id | Yes | Workflow ID. Find it with workflows_list. |