Understanding the Message Handling Flow
Last updated
Last updated
The Message Handling Flow is a core component of xBot that dictates how incoming messages are processed, from initial receipt to the final response. This flow ensures that all user queries are accurately interpreted and handled, regardless of their complexity. By leveraging natural language processing (NLP) and predefined AI Flows, xBot can deliver timely and relevant responses across multiple communication channels.
In this guide, we'll explore how the message handling flow operates, how you can configure it, and best practices to optimize its performance.
A customer sends a message on a configured support channel(Zalo, Facebook, Teams, WebChat, Email).
XBot checks if any additional customer information is needed and requests it if necessary.
A conversation ID is assigned for tracking purposes.
The message is then directed to the appropriate support group based on the configuration.
Human Agent:
If the message is routed to a human agent, the agent will chat directly with the customer and provide assistance.
AI Bot:
With AI Pre-Check:
AI Pre-Check examines if the message contains negative content.
If the message is positive or neutral, it is forwarded to the AI agent to respond.
Without AI Pre-Check:
The message is directly sent to the AI agent without any pre-check.
With AI Post-Check:
After the AI agent responds, the response is sent for monitoring.
Without AI Post-Check:
The AI agent's response is sent directly to the customer without additional monitoring.
Manager:
If the dispatch rule does not find a suitable agent or AI bot, the conversation is marked as unassigned.
Only the group manager can see and handle unassigned conversations.
Enable/Disable AI Bot:
If the conversation is assigned to an AI bot but the AI bot is disabled, the AI will not respond.
Enable/Disable Review:
If review is enabled, all responses from the AI agent will wait for approval from a human agent before being sent to the customer.