🚀 It’s live! Access exclusive 2025 live chat benchmarks & see how your team stacks up.

Get the data
How to Set Up AI Agent Topics
Introduction to the AI Agent Topic

A topic refers to the subject of a conversation or an interaction. Topics allow you to organize customer queries with similar purposes and define a unified answer pattern for the AI Agent. For example, customer queries “I want to book a ticket”, and “How to book the ticket?” share the same topic “book the ticket”. Using Topics, you can customize the AI Agent’s response to the most important questions to ensure accuracy and consistency.

Note: Topic answers and Knowledge contents are the primary sources for the AI Agent to locate suitable responses or perform proper actions. When both Topic and Knowledge are equipped with valid configurations, the AI Agent provides responses by matching a Topic as a priority, and tries to generate an answer by using Knowledge contents when no Topic matches.

To customize the answer for a Topic, you can use AI Agent actions to build an answer flow or give instructions in natural language.

For AI Agent workflow, Comm100 provides different types of actions for Live Chat and Ticketing & Messaging channels. You can use the actions available in the Answers section to send content, collect information, and perform advanced actions. 

workflow.png

Customizing the AI Agent’s answer by natural language allows you to give instructions in plain text. You can use instructions and functions to build a dynamic workflow. . 

answer-NL.png

To set up a topic, you need to:

  1. Create a topic. Provide the topic name and a common question to create a topic.
  2. (Optional) Modify the topic description and questions. The system generates the topic description and more question variations automatically based on the name and question used to create the topic. You can modify the description and questions.
  3. Set up the Topic answer. You can set up the topic answer by using the AI Agent actions or by giving instructions in natural language.
    • Choose By Workflow to build a static, step-by-step workflow or to provide direct answers.
    • Choose By Natural Language to create a dynamic workflow and let the AI Agent decide the next steps. This is an advanced mode and usually requires extensive debugging and testing. Avoid it if your workflow is straightforward.
Note: When a topic is created, the system automatically uses LLM API to generate a Description or Similar Questions. Every time the LLM API is used, it consumes the AI Reply volume. To learn more about how AI Agent features consume AI replies, see this article.
Create a Topic


To create a topic, follow these steps:

  1. Log in to your Comm100 Control Panel. 
  2. From the left navigation menu, go to AI & Automation > AI Agent > Topics. If you have multiple AI Agents, make sure to choose the correct one from the drop-down list.
    topics-menu-arrow.jpeg
  3. On the Topics page, click New Topic.
  4. On the New Topic drawer that appears, input the topic name and a common question about the topic.
    newtopic.png
  5. Click Create. The topic is created successfully. You can click Go to Edit Topic to proceed to edit topic questions and answers.
    create success.png
(Optional) Modify the Topic Description and Questions

When a topic is created, the system generates a Description and nine Similar Questions based on the name and question you provided by using LLM APIs. You can modify the auto-generated Description or Similar Questions, or provide more question variations for a more efficient topic identification.

Note: Description helps the AI Agent identify the scope of the topic, so it should be as accurate as possible. For example, choose this topic if user wants to check their order status; do not choose this topic if user asks about how to make an order.

To modify the topic description and questions, follow these steps:

  1. For the topic you want to modify, go to its Edit Topic screen.
  2. Modify the Description based on your requirements. You can also click Generate Description to let the AI Agent regenerate a description.
  3. Modify the questions based on your requirements. You can click Generate Questions to let the AI Agent generate more question variations, or enter more questions manually.
    edittopic.png 
  4. Click Save.
Set Up Topic Answers by Workflow

To set up a topic answer by using AI Agent actions to build a workflow, follow these steps:

  1. For the topic you want to edit, go to its Edit Topic screen, and scroll down to the Answers section.
  2. Under the By Workflow tab, click Add first action, and choose an action from the drop-down menu. You can use the Full Screen option on the top-right of the flow building area.
  3. Add actions until you complete building the answer flow. You can drag the action card to add the next action or use the Actions pane on the right side.
    flow.jpeg
  4. Click Save when you complete setting up the action flow.
Note: To learn more about AI Agent actions, see this article.
Set Up Topic Answers by Natural Language

To set up a topic answer by giving natural language instructions for the AI Agent, follow these steps:

  1. For the topic you want to edit, go to its Edit Topic screen, and scroll down to the Answers section.
  2. Click the By Natural Language tab.
  3. In the Instructions text box, enter step-by-step instructions for the AI Agent to follow when receiving the topic questions. The following shows the sample instructions for the topic.
    by natural language.png
  4. (Optional) If you want the AI Agent to respond with values from a third-party system, you can add a function to the AI Agent to call. You need to create the function first.
  5. Click Save.
Note:
  • To learn more about how to write Topic instructions, see this article.
  • To learn more about how to create functions, see this article.