conditional
Branch workflow based on a condition. Returns the appropriatenextNodeId.
- Category:
logic - Estimated Duration: 0s
- Capabilities:
supportsRerun
Input
Condition to evaluate.
condition.type:'equals'|'not_equals'|'greater_than'|'less_than'|'contains'|'exists'condition.variableName: Variable path using dot notationcondition.value: Comparison value
Node to execute when condition is true.
Node to execute when condition is false.
Output
| Field | Type | Description |
|---|---|---|
conditionMet | boolean | Result of the evaluation |
selectedBranch | string | 'true' or 'false' |
Example
end
Mark the end of a workflow branch with an optional message.- Category:
logic - Estimated Duration: 0s
Input
Optional completion message.
Output
| Field | Type | Description |
|---|---|---|
completed | boolean | Always true |
message | string | Echoed 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 duration |
message | string | Echoed input message |