ChatbotX icon indicating copy to clipboard operation
ChatbotX copied to clipboard

Condition Node for dynamic flow routing

Open craybull opened this issue 6 months ago • 0 comments

Have you checked for existing requests?

  • [x] I have searched the existing issues and found no similar request.

Feature Area

🔀 Flow Builder (Flows, Tags, Custom Fields)

Is your feature request related to a problem? Please describe.

Currently, the conversational flows are strictly linear. There is no native way to route users to different paths based on their attributes (e.g., Language, Tags, Custom Fields) or past behaviors. This limitation makes it impossible to build highly personalized chatbot experiences without resorting to complex workarounds.

Describe the solution you'd like

Please implement a "Condition Node" within the Flow Builder canvas.

Key Functional Requirements:

  1. Location: Users should be able to add this node by clicking the blue [+] action button located at the bottom center of the Flow Builder canvas.
  2. Rule Engine: Ability to set complex rules based on user data, behavior, or events (e.g., Language Is English).
  3. Dynamic Routing (Branching): The node must output at least two distinct paths:
  • 🟢 A path for when the user matches the configured conditions (True).
  • 🔴 A fallback path ("The user doesn't match all these conditions") for when they fail the condition (False).

Describe alternatives you've considered

The only current alternative is creating entirely separate flows for different user segments and manually providing entry links, which is unmanageable and breaks the seamless chat experience.

Additional context

Reference: This feature should function similarly to the logic described here: Ahachat Condition Documentation.

craybull avatar May 17 '26 05:05 craybull