EzFlowEzFlow Docs
Node referenceLogic

CONDITIONAL

Branch the flow on a boolean condition.

What it does

Branch the flow on a boolean condition.

Inputs & outputs

Input handle
value
Output handle
true
false

Configuration

NameTypeRequired
conditionstringYes

Example

How it works

CONDITIONAL reads the boolean value on its value input port and routes execution to the true or false output branch accordingly. If the incoming value is absent or not a boolean, it defaults to false. The condition field in the node's config holds an expression string (e.g. {{isMention}} == true) that upstream nodes resolve before reaching the CONDITIONAL — typically you connect the output of a NUMBER_CONDITION, STRING_CONDITION, AND, OR, or CHAINED_CONDITIONS node directly into the value input port.

Example

Scenario: A Slack Workflow sends a reply only when the incoming message is an @-mention, and logs a debug entry otherwise.

  1. A SLACK_TRIGGER fires on any message; its isMention output is a boolean.
  2. Connect isMentionvalue on a CONDITIONAL node.
  3. Wire the true branch to a SEND_SLACK node that posts an AI reply.
  4. Wire the false branch to a SCRIPT node that logs "Ignored non-mention".
SLACK_TRIGGER ──(isMention)──► CONDITIONAL ──true──► SEND_SLACK
                                             └─false──► SCRIPT (log)

On this page