Skip to Content
ProductsWorkflow BuilderWorkflowNodesIf Else

If / Else Node

The If / Else node is used to make decisions in a workflow.
It checks a condition and then sends the flow to the correct path based on the result.

If Else Node


How the Node Works

  1. The node checks the If condition first
  2. If it is true, that path runs and the rest are skipped
  3. If it is false, it checks the Else If conditions
  4. If none match, the Else path runs

Only one path can run at a time.


Main Fields Explained

Condition Label

  • A readable name for the condition
  • Helps you understand the logic visually
  • Does not affect execution

Example:

Satisfied User


Expression

  • The rule that decides whether the path is taken
  • Uses values from previous nodes (like feedback output)

Example:

previous_output == “satisfied”

If this evaluates to true, the workflow follows this path.

Else If Block

Used when you have multiple possible outcomes

Checked only if previous conditions fail

Example:

previous_output == “unsatisfied” Else Path

Acts as a fallback

Runs when no conditions match

Prevents workflow failure or dead ends

Real Example (User Feedback)

Question: Was this answer helpful?

If → previous_output == “yes” → Show thank-you message

Else If → previous_output == “no” → Route to live chat

Else → End workflow

Best Practices

  • Always add an Else path
  • Keep expressions simple and readable
  • Match expressions with exact option values
  • Use labels to clearly describe the logic

Summary

The If / Else node allows your workflow to:

  • React to user choices
  • Handle multiple scenarios
  • Control execution flow safely and clearly