conditional
Branch workflow execution based on a condition. ReturnsnextNodeId for the selected branch.
- Category:
logic - Estimated Duration: 0s
- Capabilities:
supportsRerun
Input
The condition to evaluate.
Node ID to execute if condition is true.
Node ID to execute if condition is false.
Output
| Field | Type | Description |
|---|---|---|
conditionMet | boolean | Whether the condition evaluated to true |
selectedBranch | 'true' | 'false' | Which branch was selected |
Example
end
Mark the end of a workflow branch.- Category:
logic - Estimated Duration: 0s
Input
Optional completion message.
Output
| Field | Type | Description |
|---|---|---|
completed | boolean | Always true |
message | string? | Echo of input message |
delay
Pause workflow execution for a specified duration.- Category:
logic - Capabilities:
supportsCancel
Input
Duration in milliseconds (0–3,600,000, max 1 hour).
Optional log message.
Output
| Field | Type | Description |
|---|---|---|
waited | boolean | Always true |
actualDurationMs | number | Actual time waited |
message | string? | Echo of input message |

