XBot
  • Overview
    • Introduction
    • How xBot Works
    • Target Audience
    • Key Benefits of xBot
    • Core Concepts of xBot
  • Quick Start
    • Quick Setup
    • Getting Started
      • Zalo Channel
      • Azure Bot Framework
      • FaceBook Channel
      • Team Channel
      • Webchat Channel
      • Email Channel
    • Basic Configuration
    • First AI Flow Setup
    • Initial Testing and Go Live
  • Features
    • Using xBot to Handle End-User Queries
    • Communication Channels
      • Zalo OA
      • Facebook
      • Teams
      • WebChat
      • Email
    • Understanding the Message Handling Flow
    • Understanding AI Bots in xBot
    • Configuring Dispatch Rules in xBot
    • User Functions and Permissions
      • Custom Roles and Permissions
      • Auditing and Monitoring User Activities
    • Cross-Platform Message Type Compatibility
    • AI Flow
      • Core Concepts
      • AI Services
        • Knowledge Base Agent
        • AI Agent
        • AI Proxy Agent
      • Knowledge Base
      • Functions
      • Evaluation Metrics
        • Essential Information
        • Basic Metrics
        • Extra Metrics
  • Integration Guide
    • Integrates with multiple channels
      • API reference
        • Webhook
          • ZaloPushToXBot
          • AzbotPushToXBot
        • Webchat
          • InitForClient
  • References
    • Industry-Specific Use Cases
      • Media and Entertainment
      • Wholesale
      • Transportation and Logistics
      • Manufacturing
      • Energy and Utilities
      • Real Estate
      • Agriculture
      • Travel and Hospitality
      • Healthcare and Wellness
      • Retail and E-Commerce
      • Public Administration
      • Legal
      • Training
      • Education
      • xBot Use Case: Insurance
      • Securities -Use Case
      • Banking - Use Case
      • xBot Use Case: Finance
Powered by GitBook
On this page
  • Step-by-Step Process
  • 1. Customer Sends a Message
  • 2. Initial Processing by XBot
  • 3. Dispatch Rule Routing
  • 4. Conversation Controls
  1. Features

Understanding the Message Handling Flow

Last updated 9 months ago

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.

Step-by-Step Process

1. Customer Sends a Message

  • A customer sends a message on a configured support channel(Zalo, Facebook, Teams, WebChat, Email).

2. Initial Processing by XBot

  • 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.

3. Dispatch Rule Routing

  • 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.

4. Conversation Controls

  • 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.

Message Handling Flow