Text Customer Service
Build AI text customer service assistants for external use with knowledge bases and FAQ, connect to websites and messaging platforms, and hand off to human agents when needed
In enterprise customer service operations, handling a large volume of frequent customer inquiries through manual responses not only leads to delays but also places excessive burden on customer service staff, affecting overall service efficiency. Many repetitive questions appear over and over again, consuming significant time to handle, making it difficult for teams to focus their energy on more complex customer needs and problem resolution.
Now, you can leverage MaiAgent to build an AI text customer service assistant for external-facing enterprise use, effectively reducing customer service costs while improving service quality and customer satisfaction!
Use Cases
Website & Messaging Platform Customer Service: Embed the AI assistant on your website, or connect it to LINE, Facebook Messenger, WhatsApp, and other messaging platforms your customers use, providing 24/7 instant responses.
Regulatory & Policy Inquiries: Government agencies or highly regulated industries that need to help the public and internal staff quickly find answers from large volumes of regulatory announcements, with responses that must include source citations.
Product Specifications & Recommendations: Catalogs, spec sheets, and comparison tables are voluminous and frequently updated, with diverse customer questions that are time-consuming to look up manually.
Order & After-Sales Inquiries: Real-time queries for order status, warranty coverage, repair progress, and other external system data that cannot be answered from static documents alone.
How It Works
1. Customer Asks a Question
The customer submits a question through a connected channel such as the website Web Chat, LINE, or Facebook Messenger
2. AI Assistant Takes Over
Based on the system prompt, the assistant determines which data sources to use for the response
3. Find the Answer
Semantically retrieves relevant passages from the knowledge base, matches against FAQ entries; calls tools to query external systems when real-time data is needed
4. Generate Response
Synthesizes retrieval results into a response, including citation sources as configured
5. When Unable to Answer
Triggers handoff to a human agent, transferring the conversation to customer service staff
After receiving a question, the AI assistant performs semantic retrieval from the knowledge base to find relevant passages, then has the language model synthesize a response, including citation sources as configured so customers can trace back to the original content. If the question falls outside the knowledge scope, human handoff notifications can be configured to transfer the conversation to customer service staff, preventing the AI from providing incorrect answers.
Setup Workflow
1. Create an AI Assistant
On the AI Assistants page, enter a name, select the RAG and language model, and configure the response mode. For general text customer service, "Standard Mode" is sufficient. See Create an AI Assistant for details.
2. Write the System Prompt
The system prompt defines the AI's identity, output format, and response boundaries — it is the key to customer service quality. It is recommended to explicitly state "do not answer questions outside the knowledge base scope" and provide standard fallback responses for unanswerable questions. Refer to the System Prompt Design Guide for writing tips.
3. Build Knowledge Bases and FAQ
Upload catalogs, spec sheets, announcements, and other documents to build a knowledge base, or use the web crawler to automatically extract website content. For high-frequency questions with fixed answers, create a separate FAQ to ensure consistent responses. Before going live, use search testing to verify retrieval results.
4. Configure Tools (Optional)
If customer service requires querying real-time data such as orders or inventory, configure tools for the AI assistant to let the AI directly call internal enterprise APIs for the latest results.
5. Connect Messaging Platforms and Go Live
Choose the messaging platforms to connect based on your customers' preferred channels. You can simultaneously connect Web Chat, LINE, Facebook Messenger, Telegram, Microsoft Teams, WhatsApp, Email, and Slack.
6. Monitor and Optimize
After going live, perform automated evaluation and AI assistant monitoring in AgentOps, and follow the recommendations in the AI Customer Service Quality Guide to continuously supplement the knowledge base and refine the system prompt.
Application Examples
Regulatory Inquiry Assistant: Using government regulatory announcements as an example, learn how to design two different response approaches for internal staff and the general public using a single knowledge base.
Product Inquiry Assistant: Using a computer brand product catalog as an example, walk through the complete process from creating an assistant, uploading the catalog, to embedding it on a website.
The following sections demonstrate the setup process with real-world examples to help you quickly apply these capabilities to your own business scenarios.
Last updated
Was this helpful?
