• Tools
  • Tools
loading...
No Results
  • Get Started
    • Welcome to GoInsight.AI
    • GoInsight.AI Overview
    • LLM Selection Guide
  • InsightFlow
    • InsightFlow Introduction
    • Types of InsightFlow
    • Interactive Flow
      • Editing and Debugging Interactive Flow
      • Publishing an Interactive Flow
      • Security Settings for Interactive Flow
    • Service Flow
      • Editing and Debugging Service Flow
      • Publishing a Service Flow
    • Services & Tools
      • Tool
      • Service
      • Agent Strategy
    • Node
      • Start
      • Answer
      • LLM
      • Knowledge Retrieval
      • Document Read
      • Document Write
      • Document Delete
      • HTTP Request
      • KnowledgeFocus LLM
      • Agent
      • Progress
      • Tool Call
      • IF/ELSE
      • Question Classifier
      • Branch Aggregator
      • Multi branch Selector
      • Iteration
      • Interactive Form
      • Pause & Resume
      • Delay
      • Auto-Continue
      • Template
      • Code
      • JSON Variable Extractor
      • Variable Assigner
      • Variable Extractor
      • End
    • Node Error Handling Strategy
    • Create Your First Workflow
  • Marketplace
    • Marketplace
  • Documents
    • Workspace Documents
    • Personal Data
  • Workspace
    • GoInsight Workspace Introduction
    • Collaboration Workspace
  • Quick Chatbot
    • Build a Quick Bot
  • Team Management
    • Access Control
    • Usage
    • Audit Center
    • Credential Management
    • Model Management
  • Knowledge 101
    • Key Concepts
    • Data Security
    • ABEvent
    • Interactive Form: JSON Configuration
    • Context Is the Foundation of AI Collaboration
    • Build Collaborative Context with Say It for Me
    • Use Expressions with Variables
Home > Documentation > InsightFlow > Node

IF/ELSE Node

Definition

The IF/ELSE node is used to direct the Workflow into different branches based on the evaluation of conditions.

if else node

The node evaluates in the order of IF → ELIF → Else:

  • If the IF condition is met, the IF branch is executed.
  • If the IF condition is not met, ELIF conditions are evaluated.
  • If neither the IF nor any ELIF conditions are met, the Else branch is executed.

Each IF or ELIF can contain multiple conditions combined by AND / OR.

Configuration Description

IF

IF is the first set of conditions.
If the IF condition group is met, the Workflow enters the IF branch.

if condition

ELIF

ELIF is a supplementary conditional branch.
When IF is not met, the system continues to evaluate ELIF. Multiple ELIFs can be added and will be evaluated in order from top to bottom.

elif condition

Else

Else is the fallback branch.
When IF and all ELIF conditions are not met, the Workflow enters the Else branch.

else if condition

AND / OR

Multiple conditions can be added within the same IF or ELIF.

  • AND: All conditions must be met for the group to be true.
  • OR: Any one condition being met makes the group true.
and or

For example:

customer_level = VIP AND urgency = high

means the branch is entered only if the customer level is VIP and the urgency is high.

Condition Settings

Each condition typically consists of three parts:

Variable + Operator + Comparison Value

For example:

  • status equals success
  • score greater than 80
  • Query contains refund

Different variable types support different operators. After selecting a variable, the system displays available evaluation methods based on the variable type.

Common types include:

Variable TypeCommon Evaluation Methods
Stringcontains, does not contain, starts with, ends with, is empty, is not empty, =, ≠, In
Number=, ≠, >, <, ≥, ≤, is empty, is not empty, In
BoolIs True, Is False, is empty, is not empty, =, ≠, In
Arrayis empty, is not empty
Objectis empty, is not empty

For String type, case sensitivity can also be selected.

Example

Suppose you have built a post-sales ticket processing Workflow. After the user submits a question, previous nodes have identified the customer level, issue type, and urgency.

You can configure the IF/ELSE node as follows:

  • IF: customer_level = VIP AND urgency = high
    Enter the urgent VIP customer handling flow.
  • ELIF: issue_type = technical
    Enter the technical support flow.
  • ELIF: issue_type = billing
    Enter the billing processing flow.
  • Else:
    Enter the general customer service flow.

This flow first checks if the issue is a VIP urgent case; if not, it checks if it is a technical issue; if still not met, it checks if it is a billing issue; if none apply, it proceeds to the general customer service flow.

Frequently asked questions

Q1: The result returned is always false when the actual data should match?
Confirm whether the logical expressions or operators in the workflow have been used correctly by gradually checking whether the outputs and inputs of each node meet the conditions.
Updated on: Jul 9, 2026
Was This Page Helpful?
Prev Tool Call
Next Question Classifier
Discussion

Leave a Reply. Cancel reply

Your email address will not be published. Required fields are marked*

Product-related questions?Contact Our Support Team to Get a Quick Solution>
On this page
  • Definition
  • Configuration Description
    • IF
    • ELIF
    • Else
    • AND / OR
  • Condition Settings
  • Example
  • FAQs
loading...
No Results