Skip to main content

conditional

Branch workflow based on a condition. Returns the appropriate nextNodeId.
  • Category: logic
  • Estimated Duration: 0s
  • Capabilities: supportsRerun

Input

object
required
Condition to evaluate.
  • condition.type: 'equals' | 'not_equals' | 'greater_than' | 'less_than' | 'contains' | 'exists'
  • condition.variableName: Variable path using dot notation
  • condition.value: Comparison value
string
required
Node to execute when condition is true.
string
required
Node to execute when condition is false.

Output

Example


end

Mark the end of a workflow branch with an optional message.
  • Category: logic
  • Estimated Duration: 0s

Input

string
Optional completion message.

Output


delay

Pause workflow execution for a specified duration.
  • Category: logic
  • Capabilities: supportsCancel

Input

number
required
Duration in milliseconds (0-3,600,000, max 1 hour).
string
Optional log message.

Output