> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/en/features/omni-ai-add-on-feature.md).

# Omni AI

Omni AI can use your knowledge base to answer common inquiries, streamline repetitive support tasks, and provide product suggestions tailored to customer preferences.

{% embed url="<https://drive.google.com/file/d/1mtwDaiHCT6mhT7-azW63RC9LXWCri_zS/view?usp=sharing>" %}

AI isn't just a trend anymore. It's becoming an essential tool that helps level up your customer service. When used well, it can answer questions faster, lighten your team's workload, boost overall efficiency, and even suggest the right products based on what customers are looking for. Together, these improvements can make a real difference to your bottom line.

With Omnichat's upgraded AI feature, you can build your own knowledge base and set up auto-replies for frequently asked questions. This frees up your team from handling repetitive tasks, so they can focus on more complex cases that need a human touch. The chatbot can also suggest products based on customer preferences, helping you improve both support and sales.

In this article, we'll show you how to set up your chatbot in Omnichat console so it becomes your team's go-to assistant on the front line.

This article shows how to set up Omni AI in Omnichat console to assist with frontline customer service.

1. Upload Knowledge Documents in Knowledge Base
   * [Access Roles for Knowledge Base](#access-roles)
   * [Overview](#overview)
2. Create a New AI Agent in Agent Studio
   * [Access Roles for Agent Studio](#access-roles-1)
   * [Agent List](#agent-list)
   * [Agent Categories](#agent-category)
     * [Service Agent](#service-agent)
     * [Shopping Agent](#shopping-agent)
3. [Build AI Agent Cards in Chatbot 2.0](#build-ai-agent-cards-in-bot-builder-2.0)
   * Step 1: [Create a New AI Agent Card and Select an AI Agent](#step-1-create-a-new-ai-agent-card-and-select-an-ai-agent)
   * Step 2: [Preview and Edit the AI Agent Card](#step-2-preview-and-edit-the-ai-agent-card)
   * Step 3: [Add the AI Agent Card to the Service Flow](#step-3-add-the-ai-agent-card-to-the-service-flow)
   * [AI Agent Card Trigger Process & Conversation Handling](#ai-agent-card-trigger-process-and-conversation-handling)
   * [Notes on Using AI Agent Cards](#notes-on-using-ai-agent-cards)

### Knowledge Base

AI works like a human in many ways, and its knowledge base functions as its brain. The information you add to the knowledge base is what the AI uses to understand and answer questions.

If the knowledge isn't there, the AI won't be able to respond. But when the content is clear, accurate, and complete, the AI can handle more questions and provide more helpful answers.

That's why creating a well-structured knowledge document is important for making your AI assistant truly effective.

#### Access Roles

Administrator, Manager, Customer Service Manager, Marketing

#### Overview

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FVNoVK2YHgVX76k8zLT23%2Fpage%20overview%20(edited.png?alt=media&amp;token=52fa5a3c-8d4c-4a21-8145-08c33f1f1bb0" alt=""><figcaption></figcaption></figure>

1. Add Document:
   * Supported file formats: .csv, .doc, .docx, .pdf. Other formats are not accepted.
   * File size limit: 20MB.
   * No specific formatting requirements for CSV file contents.
   * Files with the same name (including extension) will replace the existing ones.
   * If a file is used by an AI Agent, updates will apply automatically.
     * AI responses will follow the latest file content.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FWm15GZk1QtlKCpPIrAQu%2Freplace%20(edited.png?alt=media&amp;token=a25a44d0-332d-471e-87d6-dbc2cd94fcfc" alt="" width="563"><figcaption></figcaption></figure>

2. Knowledge Document Name:
   * Documents are sorted by last updated time, with the most recent ones at the top.
   * File names are shown in their original names including file extensions.
3. Status:
   * Processed: The AI has finished processing the file. It is now available for use by AI Agents.
   * Processing: The AI is still processing the file. It cannot be used by AI Agents yet.
   * Failed to process: The AI failed to process the file, so it cannot be used.
     * You can hover over the status to view the error message. Please send the error details to the customer support team or your consultant for further assistance.
     * If the issue is caused by a system error, please wait until the problem is resolved, then use the reprocess option in the Action menu to upload the file again.
4. Action:

<div align="left"><figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FQHFkmlHKxOxxVBajapiy%2Faction(edited.png?alt=media&amp;token=9f078fea-9d34-47bd-986b-e17dd393b5a0" alt="" width="185"><figcaption></figcaption></figure></div>

* Download: Allows you to download the original Knowledge Document.
* Delete:
  * If the file is currently used by an AI Agent, it cannot be deleted. The system will show a message indicating that the file is in use.
  * The message window includes a shortcut link to open the Agent settings in a new tab, making it easier for you to adjust the settings later.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FSJzMCTNdyd1BRL3knwJr%2Fcan%20not%20be%20deleted%20(edited.png?alt=media&amp;token=9b1c3846-6441-4a9e-83d9-3d1c5f86d28e" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="success" %}
**Recommended Way to Write a Knowledge Document**

💡 **Service Agent**

* Creating a Q\&A set in CSV file:
  * Column 1: Frequently asked questions.
  * Column 2: Suggested answers.
  * You may use extra columns to include extra details, such as question category or reference links.
  * See the example below for content.

💡 **Shopping Agent**

* Creating a product list in CSV file:
  * You can include product details such as product name, product image (must be a URL), product description, price, and URL.
  * You may also add extra columns for any other information as needed.
  * See the example below for content.

💡 **Things to note when uploading a knowledge document:**

* The system does not support image recognition and only reads plain text in the file.
* To ensure accurate responses, make sure the file includes sufficient and well-structured text content. The more complete the information, the better the AI can respond.
  {% endhint %}

Examples using a CSV file:

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FL547jL1qQYYidbwdYVDd%2FExamples%20using%20CSV%20file.png?alt=media&amp;token=4ade843b-c5f8-4c25-a6e9-6c29370c4a6f" alt=""><figcaption></figcaption></figure>

### Agent Studio

Agent Studio is where you create your AI Agent.

Here you can set the tone and wording style, and use clear instructions to guide how the agents interact with customers. They act like a virtual version of yourself.

AI Agents will not automatically know what you want it to do. You need to give them clear and specific instructions on what to say and how to say it. The clearer your instructions are, the better the agents will perform according to your expectations.

#### Access Roles

Administrator, Manager, Customer Service Manager, Marketing

#### Agent List

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fn3tRKlHWpbCeZNc7o87Y%2FAgent%20List(edited.png?alt=media&amp;token=6b8f4f4c-2af4-42f2-ade3-6544bec587dd" alt=""><figcaption></figcaption></figure>

All created Agents are listed here. There are two categories: "Service Agent" and "Shopping Agent".\
The category of each Agent is shown in the top left corner, and you can also tell the difference by the icon.

#### Agent Categories

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F3s4nSwrqgLCafBskkRhD%2Fagent%20category(edited.png?alt=media&amp;token=eed21433-b992-4f13-9efe-ed30c65e85a3" alt=""><figcaption></figcaption></figure>

#### Service Agent

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FegSZstIlVGy09DioYL0k%2Fcheckie%20agent%20studio%20(edited.png?alt=media&amp;token=f39e300c-5bf8-43e5-8850-6f2e6f50732a" alt=""><figcaption></figcaption></figure>

1. **Agent Name** (required): The name will be shown in Agent Studio to help you distinguish between different Agents. It will also appear on the AI Agent card.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F7ZNtE7I8C3xtwfbQu2GD%2FAgent%20Name%20(edited.png?alt=media&amp;token=f0a543a7-5c0e-4598-95b6-606b67685063" alt="" width="375"><figcaption></figcaption></figure>

2. **Knowledge Document** (required):
   * You can select any previously uploaded documents from the knowledge base using the dropdown menu. There is no limit to the number of files you can select.
   * If a document is grayed out and cannot be selected, it means the file is still being processed or the processing has failed.
3. **Response Scope** (required): Set clear guidelines for what the Agent is allowed to respond to, including its scope, direction, and limitations. A well-defined scope helps improve the accuracy and relevance of the Agent's replies. You may include the following:
   * Role definition: Describe the main focus of the Agent’s responses. For example, assisting customers with account setup, answering technical questions, or recommending suitable products.
   * Service scope: List the types of topics the Agent can handle, such as order tracking, setup guides, product introductions, or user instructions.
   * Limitations: Clearly specify what the Agent should not answer. For example, it should not provide account numbers, personal information, medical diagnoses, or take actions on behalf of the user.
   * Avoid vague instructions: Do not simply write "Please refer to the knowledge base." Instead, include a clear topic and enough background context to help the Agent give focused responses.
   * Examples:
     * Help answer common questions about purchasing T-shirts from Omnichat Store, such as product details, order status, or return and exchange SOPs.
     * If the Agent handles questions about health supplements, it can suggest products based on the customer's health condition and lifestyle, such as items for digestion, sleep, or nutrition. However, it should not offer medical diagnoses or treatment advice. For serious symptoms or questions about medication, the Agent should refer the customers to doctors.
4. **Agent's Goal** (required): Set the main objectives of the Agent, such as assisting customers in choosing suitable solutions, answering technical questions, or providing real-time customer support. Clear objectives help the Agent deliver responses that meet expectations. You may include the following:
   * Tone and wording style: Specify the tone you want the Agent to use, such as polite, neutral, friendly, lively, or professional and concise.
   * Interaction: State whether the Agent should proactively ask questions and guide customers to provide information.
   * Specific responses: If needed, set a fixed sentence for the Agent to include after each reply. For example, "I hope the above information has been helpful to you."
   * Examples:
     * Begin a conversation by asking the customer about their current condition or issues they want to improve. Then, provide recommendations based on their response, briefly explaining the product's function or suitability.
     * Use natural and smooth wording to avoid sounding robotic. Avoid repetitive or overly formal phrasing.
     * Add a reminder at the end of each reply, such as: "If you would like to end the AI assistant flow, please type 'Talk to a human agent' in this chat and we will connect you to a support agent."
5. **Welcome Message** (optional): Welcome message is the first message the AI Agent sends when the AI Agent card is triggered and a conversation begins.
6. **Cancel**: Click "Cancel" and the system will show a reminder that your current edits will be lost if you leave this page.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FVP4VxMn7lnSKtmSUP2UA%2FScreenshot%202025-08-08%20at%207.22.52%E2%80%AFPM.png?alt=media&amp;token=8e5a1e9e-c032-4d83-a65b-a03d5ce023e2" alt="" width="375"><figcaption></figcaption></figure>

7. **Save**

#### Shopping Agent

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FXhXhiBShb1KxYNa7tYIA%2Fshopping%20agent%20overview%20(edited.png?alt=media&amp;token=9c6f0eb5-c8fa-41c7-99fa-d3525af1a036" alt=""><figcaption></figcaption></figure>

1. **Agent Name** (required): The name will be shown in Agent Studio to help you distinguish between different Agents. It will also appear on the AI Agent card.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FAPirGiYXYbIEMJPEXpUA%2FPickie%20Agent%20Studio%20(edited.png?alt=media&amp;token=0ac7ecbb-f497-4e4e-8035-a4d1292e92cd" alt="" width="563"><figcaption></figcaption></figure>

2. **Knowledge Document** (required):
   * You can select any previously uploaded documents from the knowledge base using the dropdown menu. There is no limit to the number of files you can select.
   * If a document is grayed out and cannot be selected, it means the file is still being processed or the processing has failed.
3. **Welcome Message** (optional): Welcome message is the first message the AI Agent sends when the AI Agent card is triggered and a conversation begins.
4. **Cancel**: Click "Cancel" and the system will show a reminder that your current edits will be lost if you leave this page.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FVP4VxMn7lnSKtmSUP2UA%2FScreenshot%202025-08-08%20at%207.22.52%E2%80%AFPM.png?alt=media&amp;token=8e5a1e9e-c032-4d83-a65b-a03d5ce023e2" alt="" width="375"><figcaption></figcaption></figure>

5. **Save**

{% hint style="info" %}
Shopping Agent currently does not support content personalization settings.
{% endhint %}

### Build AI Agent Cards in Chatbot 2.0

**Applicable Channels:** WhatsApp, Facebook, Instagram, LINE, Webchat (coming soon)

#### Step 1: Create a New AI Agent Card and Select an AI Agent

Create a New AI Agent Card

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F7kFio23ZNy7Atzz6hIg8%2Fcreate%20a%20card%20%EF%BC%88edited.png?alt=media&amp;token=dbeb0676-4b4e-4065-be9f-3001d34c09c3" alt=""><figcaption></figcaption></figure>

Select the AI Agent you created in Agent Studio from the dropdown menu.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FjaDT47Wm1doQhfJxDeF0%2Fselect%20an%20agent%20(edited.png?alt=media&amp;token=3e9ffa2d-d255-4e45-9aa5-e063720a8c68" alt=""><figcaption></figcaption></figure>

#### Step 2: Preview and Edit the AI Agent Card

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fp1eL0ZBpfHP6qy1GuQOm%2Fpreview%20ai%20agent%20card.png?alt=media&amp;token=ed813523-9aaa-4e4a-b579-592b8fd0a09d" alt=""><figcaption></figcaption></figure>

The AI Agent card consists of three parts:

1. **Welcome Message**: This is the welcome message you set for the card in Agent Studio. If you need to make changes, go back to the card in [Agent Studio](https://console.omnichat.ai/agent-studio/list) to adjust the content.
2. **If the question is within the responding scope**:
   * The card shows the Agent name you set in Agent Studio.
   * The right section presents the Welcome Message, Response Scope, and Agent's Goal you set up for that Agent in Agent Studio.
   * Click "View" in the upper right corner of the Settings section to open the Agent's settings page.
   * When a customer's question matches the response scope, the system will reply based on the content of the selected knowledge document.
3. **If the question is beyond the responding scope**:
   * The bot can only connect to a live chat card.
   * If the customer's question is beyond the response scope or they request a human agent, the bot will move to the "Live chat" card, and the conversation will switch to "Open - Live chat".

#### Step 3: Add the AI Agent Card to the Service Flow

You can place the AI Agent card at points in the flow that suit your needs.

For example, you might add it to a button action in a text card under the welcome message or in the rich menu, so customers can tap it to start an AI Q\&A.

You can also set it to trigger with a keyword auto-reply. This way, you can create flexible interactions that suit your needs.

#### AI Agent Card Trigger Process & Conversation Handling

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FcqQfomqOo7LjmKNQ8b9Q%2F%E6%B5%81%E7%A8%8B%E5%9C%96%EF%BC%88%E8%8B%B1%E6%96%87.png?alt=media&amp;token=f2b1f3a7-d990-4592-8f09-ef5da724b87f" alt=""><figcaption></figcaption></figure>

1. How to Trigger the AI Agent?
   * New / Closed / Pending-Bot \
     → *(Triggered by customer-defined conditions to activate the AI Agent Card)* \
     → AI Customer Service
   * If a conversation is already bound to an OMO sales, the conversation must first be closed to exit the "Progress" status. Only then can the AI Agent be successfully triggered
2. Rules After Entering AI Chat
   * If the Chatbot Card is activated via a "Click" action, it will trigger normally. *(e.g., clicking a button on a chatbot card, clicking a LINE Rich Menu, etc.)*
   * Keyword auto-assign rules will still work. If the conditions are met:
     * The conversation will move to "My Cases - Progress".
     * The AI Agent will stop sending automatic replies.
   * Messages sent by the customer will NOT trigger "Auto-Reply" messages at this time. *(This feature is expected to be supported in 2026 Q3)*
3. How to Exit AI Chat
   * AI Agent → Closed
     * Manual Close: Closed manually by a team member.
     * API Trigger: Closed via a 3rd-party AI Agent calling the Open API - Close case.
   * AI Agent → Progress (Human Agent)
     * Manual Follow-up: Followed up by a human agent.
     * Add WhatsApp contacts and create the conversation.
     * Auto-Assign Triggered:
       * Keywords matching the auto-assign rule.
       * Triggered via a 3rd-party AI Agent calling the Open API - Auto Assign.
   * AI Agent → Live Chat
     * Omni AI Escalation: When the AI determines it cannot answer a question (out of scope or unable to understand the query), it automatically prompts a text card with live agent button. Once the customer clicks the button, the conversation is transferred to live chat.
     * API Trigger: Transferred via a 3rd-party AI Agent calling the Open API - To human API.

#### Notes on Using AI Agent Cards

The following features do not support using or responding to content with an AI Agent card. To ensure the card works properly, avoid adding it to these modules.

<table><thead><tr><th width="269.859375">Feature Type </th><th>Setup Path</th></tr></thead><tbody><tr><td>Chatbot</td><td><ul><li>Conditional Reply Card</li><li>User Input Card</li><li>Call an API Card</li></ul></td></tr><tr><td>Social Subscription Management</td><td><ul><li><p>OmniLink</p><ul><li><p>Successful Integration</p><ul><li>Source Channel Message</li><li>Target Channel Message</li></ul></li><li>Integration Failure Message</li></ul></li><li><p>Website Binding</p><ul><li>Message to customers for successful opt-in</li></ul></li><li><p>Mobile Phone Binding (LINE only)</p><ul><li>Complete binding message</li><li>Already bound message</li><li>Failed to bind message</li></ul></li></ul></td></tr><tr><td>Advanced Automation</td><td>Customer Journey → Message node</td></tr><tr><td>Game Modules</td><td>Auto messages to winners who received the prize</td></tr><tr><td>Saved Reply</td><td><ul><li>AI Agent card cannot be saved as saved reply.</li><li>Saved reply that contains an AI Agent card cannot be sent.</li></ul></td></tr><tr><td>Auto-close Conversation Reminder Message</td><td>Conversation Setting → Action → Edit Content → Reminder message</td></tr><tr><td>OMO</td><td><ul><li><p>OMO Setting → Store Management</p><ul><li>Auto Close Conversation → Custom by store</li><li>Binding Message Setting → Binding Success Message → Custom by store</li></ul></li><li>Staff Binding Settings → Binding Success Message → Additional Message</li></ul></td></tr><tr><td>Facebook Persistent Menu</td><td>Channels → Frequently Used Messages → Persistent Menu</td></tr><tr><td>Facebook / Instagram Comment Reply</td><td>Reply Settings → Private Message Reply</td></tr></tbody></table>
