Sub topic 4
Naming a Topic and Writing Its Classification Description
This chapter assumes you know basic Salesforce objects and fields, can find your way around Setup, and have a general idea of what a large language model (LLM) does. You should also know what a topic is, from the previous chapter.
Why the name and description matter
When a customer sends a message, the agent must pick one topic to handle it. The agent compares the message against each topic's name and classification description. It does not read the topic's instructions or actions at this stage. A vague or overlapping name and description lead to wrong topic choices, and every later step then works on the wrong job.
Naming a topic
A topic name is a short label that says what job the topic does. Follow these rules:
- Use a noun phrase that names the job, such as "Order Status" or "Password Reset".
- Keep it to two or three words.
- Make it specific. "Help" or "Customer Questions" overlaps with everything.
- Make each name distinct from the others in the same agent.
Writing the classification description
The classification description is a short text that tells the agent which requests belong to the topic. Think of it as the rule the agent uses to route a message. A good description has three parts:
- What the topic handles. Start with a verb and describe the customer's goal.
- What it excludes. Name the neighboring topics' jobs so the agent does not confuse them.
- Plain wording. Use the words customers actually use, not internal jargon.
Here is a name and description for an order status topic:
Topic name: Order Status
Classification description:
Handle customer questions about where an existing order is and what its current status is. Do not use for returns, refunds, or new orders.The first sentence says the goal: finding out where an existing order is. The second sentence rules out three nearby jobs. A message such as "I want my money back for order 1042" mentions an order, but the exclusion points the agent to a refunds topic instead.
Weak and strong descriptions
| Weak description | Problem | Stronger description |
|---|---|---|
| Orders | Matches returns, refunds, and new orders too | Handle questions about the status of an existing order. Do not use for returns or new orders. |
| Answer customer questions | Matches every topic | Answer questions about store opening hours and locations. |
| Use the OMS lookup process | Internal jargon customers never say | Handle questions about where a customer's order is. |
Common errors
- Overlap. Two descriptions that could both fit one message. The agent may pick either, and the choice can change between runs. Add exclusions to both topics.
- Instructions in the description. Steps such as "ask for the order number" belong in the topic instructions. The description only decides whether the topic applies.
- Too many jobs in one topic. If the description needs "and" to join unrelated jobs, split it into two topics.
- Describing the system instead of the customer. Write what the customer wants, not which object or flow you use.
Worked check
Suppose an agent has two topics: "Order Status" (shown above) and "Returns" (handle requests to send back an item and get a refund). The customer writes, "Where is my package?" This message is about location, so it matches Order Status. The customer writes, "I want to send this back." This message matches Returns, and the "Do not use for returns" exclusion keeps Order Status from claiming it.
Exercise
A topic named "Account Help" has the description "Help with accounts." Give two problems with it and rewrite it for a topic that only handles password resets.
Show answer
The name and description are vague, so they overlap with other account jobs such as profile changes or closing an account. The description also does not say what is excluded. A rewrite: name "Password Reset"; description "Handle requests from customers who forgot their password or cannot sign in and need to reset it. Do not use for changing email addresses, updating profile details, or closing an account."