Saltar al contenido principal

Logic nodes let you create branches in your flow. For example: send a user down one path if they are a new customer and another if they are a returning customer.


1. Condition Node (Direct Condition)

Evaluates whether a value matches a fixed rule (for example: if the balance is greater than 0, or if the country is Mexico):

  • Available rules: equals, not equals, contains, greater than, less than, is empty.
  • Resulting branches:
    • Yes (True): If the condition is met.
    • No (False): If the condition is not met.

Conditional Decision and Branching


2. Smart Condition Node (AI-Powered Condition)

Uses Artificial Intelligence to understand the meaning of a message when the user writes in their own words:

intentQuestionstringrequired

Natural-language question for the AI (e.g. Is the user upset or asking to speak with a human?).

branchesarrayrequired

Possible paths to take (e.g. talk_to_agent, general_inquiry, compliment).


3. Switch Node (Multiple-Option Menu)

Compares a variable against several fixed options (for example: Option 1 for Sales, Option 2 for Support, Option 3 for Billing).