Skip to main content

Conditions

The Conditions node routes execution to different branches based on evaluated conditions. Each branch has an output connection, and data is routed to the first branch whose condition is true. Conditions Node

Use Cases

  • Route an order to different fulfillment workflows based on order value
  • Send different Slack messages depending on AI agent output
  • Escalate to a human if an AI response confidence is low
  • Branch on HTTP response status codes from an upstream node

Node Reference

Parameters

Each Conditions node has one or more Condition Branches. Each branch has a Branch Name and one or more rules.

Rule Types

Rule-based

Define conditions manually using field comparisons:

Available Operators

AI Mode

In AI mode, describe the condition in plain language. Orchestration evaluates the upstream data against your description using an LLM.

Multiple Branches

Each condition creates a separate output branch. The node routes data to the first branch whose condition evaluates to true. If no condition matches and a fallback branch is enabled, data is routed to the fallback.

Multiple Inputs

When two or more steps connect into a Conditions node, an Inputs section appears in its settings. Use it to choose whether the node waits for all of its inputs to run or continues if any one of them ran. An input is skipped when the run didn’t reach it. For example, an earlier Conditions node may have sent the run down a different branch. With either option, the node waits until every input has finished or been skipped before it decides whether to run. Hover over the info icon next to Inputs to see which steps and branches connect into the node.

Example: merging branches

An earlier Conditions node splits orders into a VIP branch and a Standard branch. Each branch does its own work, and then both connect into one follow-up Conditions node.
  • With All paths, the follow-up node is always skipped. Only one branch runs for each order, so the other input is always skipped.
  • With Any path, the follow-up node runs after whichever branch was taken.
Use Any path whenever you bring alternative branches back together. Keep All paths when the node should run only after every parallel step has run.
The Inputs setting has no effect on steps inside a For Loop. Those steps run once for each item in the loop and don’t wait for connections from outside it.

Output Data

Each branch receives the same input data that entered the Conditions node. No transformation is applied — conditions only control routing.
  • For Loop — Iterate over an array conditionally
  • Human in the Loop — Route edge cases for human review
  • AI Agent — Use AI mode with an upstream LLM node for complex evaluations