AI
AI message classification: route every customer message by what the customer wants
Menus that say "press 1 for sales" are ignored, and keyword rules miss half of what customers write. An AI classifier reads the meaning of each message, in any language or as a voice note, and sends it to the team that can answer, where the least busy agent picks it up.
MonoChat Team Updated: 8 min read
On this page
- Why customers need routing, not a bot
- Keywords, menus and AI classification compared
- How MonoChat’s AI Classifier works
- Designing categories that route well
- Arabic, Gulf dialect and voice notes
- From category to person: Least busy assignment
- Build it: a complete routing flow
- Measuring whether routing works
- Common mistakes
- Sources
AI message classification means letting an AI model read each incoming customer message and put it in one of your categories, so the conversation goes straight to the team that can answer it. It replaces two things that rarely work on WhatsApp: the “press 1 for sales, 2 for support” menu that customers skip, and keyword rules that miss half of what people actually write.
MonoChat added it as a flow node, the AI Classifier, in version 3.8.50 on November 19, 2026, together with a Least busy assignment algorithm that gives each classified conversation to the agent with the fewest open chats. This guide explains how classification works, how to design categories that route well, and how to build the whole path from the first message to the right person.
Why customers need routing, not a bot
Chat customers want a quick answer from a person who can help. A YouGov survey of 1,000 UAE residents for Zbooni, published in February 2024, found that 65% had used WhatsApp to ask a business about a product or service in the past year, 88% saw it as the easiest way to get a quick, accurate answer, and 87% wanted businesses to use a real person rather than a chatbot or AI.
Those figures point at the same problem from two sides. Customers write on WhatsApp because it is fast, and they do not want to be trapped in a bot. A good use of AI is therefore not to replace the person, but to make sure the right person sees the message first. Classification does exactly that.
Keywords, menus and AI classification compared
| Number menu | Keyword rules | AI classification | |
|---|---|---|---|
| Customer effort | Must read and reply with a number | None | None |
| Paraphrases and typos | n/a | Missed | Understood |
| Other languages | Needs a menu per language | Needs keywords per language | Understood by the model |
| Voice messages | Ignored | Ignored | Transcribed, then classified |
| Maintenance | Low | Grows with every new phrasing | Category descriptions only |
| Cost per message | None | None | One AI call |
Keyword rules still have a place: a fixed word such as “STOP” or a campaign keyword under an Instagram reel is better matched exactly. For open questions, classification wins.
How MonoChat’s AI Classifier works
The AI Classifier is a switch node: one input, one output per category. You add it from the condition options in the flow designer and set:
- AI Models: the model that classifies. Only models with text and the
json-schemaresponse format are offered, because the node asks for a structured answer. - Speech to Text AI Models: the model that transcribes a voice message before it is classified.
- Categories: up to 20, each with a Name and an optional one-line Description. Every category becomes an output.
- Input: the Customer’s last message (the default), the Last messages of the conversation (1 to 100), or a Text with variables such as
{{message.text}}or a field from a webhook. - Instructions: optional guidance for borderline cases.
Each run, the model picks exactly one category and the flow continues on its output. It continues on On Other when none fits, when there is nothing to classify, or when the AI call fails; the flow run’s data then shows the error. The node sends nothing to the customer and writes nothing in the conversation. With Save Flow Variable, the chosen category’s name, or other, is kept as flow.<name> for later messages and conditions.
Designing categories that route well
The categories are the whole design. A few rules:
- One category per destination. If Refunds and Exchanges go to the same team with the same next step, they are one category. Split only when the path differs.
- Describe what the customer wants, not the words they use. “Asks where an order is or when it will arrive” works better than “tracking, where, delivery”.
- Name the edge cases in Instructions. For example: “A question about an unpaid order is Billing, not Order status” or “Any severe pain, bleeding or swelling is Urgent”.
- Give the model context when people write in fragments. Chat customers often send three short messages instead of one. Choose Last messages of the conversation with a small limit, such as 5, so the model sees the whole request.
- Keep the fallback useful. On Other should lead to a person, never to a dead end.
A starting set for an online store: Order status, Returns and refunds, Product question, Billing and payment, Complaint. For a clinic: Book or change an appointment, Prices and treatments, Insurance and invoices, Urgent. For a property agency: Buy, Rent, List my property, Existing tenant.
Arabic, Gulf dialect and voice notes
Classification is most valuable where messages are hardest to match with rules. Businesses in the Gulf receive messages in Modern Standard Arabic, in Emirati, Saudi or Egyptian dialect, in English, and in Arabic written with Latin letters and numbers, often in the same conversation, and many customers prefer voice notes. A keyword list for all of that never ends.
The AI Classifier reads the meaning, so “وين طلبي؟”, “where is my order” and a voice note asking the same thing all leave on Order status. Two practical tips:
- Write category names and descriptions in the language your team uses; the model maps messages in other languages to them.
- Choose a speech-to-text model that handles the dialects your customers speak, and test it with a few real voice notes before going live.
From category to person: Least busy assignment
Classification tells you which team should answer. The next step decides which person. In MonoChat that is the Assign Session node with a workgroup, and since 3.8.50 its Assign Algorithm has three options:
- Ordered: agents take turns, whatever their workload.
- Random: an agent picked at random.
- Least busy: the active agent with the fewest open sessions. Agents with the same number take turns.
Open sessions are the conversations assigned to the agent that are not closed or archived; bulk-message conversations the customer has not answered are not counted. You can cap each agent’s load with Maximum open sessions per agent for the whole workspace (Settings › Chat › Others, 1 to 100), or set Max open sessions for one agent in a workgroup’s user list, for example a lower limit for a new hire.
When every active agent has reached their limit, or nobody is active, the conversation is not assigned: it waits in the workgroup’s queue and the node continues on its Queued output. Queued conversations are assigned oldest first as soon as an agent closes, unassigns or reassigns a conversation or becomes active. Connect Queued to a short, honest message such as “Our team is with other customers; your request is saved and a colleague will reply shortly.”
One more setting closes the last gap: Reassign an away agent’s sessions after (minutes), also under Settings › Chat › Others. When an agent stays Away that long, their open sessions that came through a workgroup are assigned again in that workgroup by Least busy, or wait in its queue. Sessions assigned to them by hand stay with them.
Build it: a complete routing flow
- New Message Received starts the flow.
- AI Classifier with your categories, the input set to the last 5 messages, a speech-to-text model, and Save Flow Variable named
topic. - Each category leads to an Assign Session node for its workgroup, with Least busy.
- Urgent (if you have it) first goes through Notify Agents, which sends a push notification or an email to the whole workgroup without writing in the chat, then to Assign Session.
- On Other goes to your general support workgroup.
- Every Queued output sends the short waiting message.
- Outside working hours, a Within Working Hours condition before the classifier can send an away message first; the Wait node can now also wait Until working hours start before assigning.
Test it with real messages from your inbox: short ones, long ones, other languages and voice notes. Then open Flow Instances to see which output each run took, and refine the descriptions and instructions where the model chose differently from what you expected.
Measuring whether routing works
Routing is only good if it shortens the time to the right answer. Watch three things for a few weeks after going live:
- Reassignments: how often an agent passes a conversation to another team. A high rate means a category or its description is wrong.
- On Other share: a large share means you are missing a category.
- First response time per workgroup: see our guide to chat support metrics and SLAs.
Saving the category with Save Flow Variable and setting a customer tag from it also lets you report on how many requests of each kind arrive.
Common mistakes
- Using the classifier to answer. It only routes. To answer automatically, add a message, an AI agent or a knowledge base step after it; see AI to human handoff.
- Too many categories. Twenty overlapping categories confuse the model and the team. Merge those that lead to the same place.
- No fallback. An unconnected On Other or Queued output ends the flow, and the customer waits for nobody.
- Least busy with stale statuses. The algorithm assigns only to active agents. Ask the team to keep their status current, and turn on away reassignment for those who forget.
Sources
- MonoChat changelog 3.8.50 (AI Classifier, Least busy, workgroup queues, away reassignment; opened November 19, 2026)
- MonoChat help center: Flows, AI Classifier Node and Assign Session (opened November 19, 2026)
- MonoChat help center: Workgroups, capacity and Least busy assignment (opened November 19, 2026)
- Communicate: YouGov survey for Zbooni of 1,000 UAE residents (published February 12, 2024; opened November 19, 2026)
MonoChat puts WhatsApp, Instagram, Facebook, TikTok, Telegram and web chat in one shared team inbox, with workflow automation, workgroups and AI. Start on the free Basic plan at app.monochat.ai, and see the pricing page for larger teams.
Put this into practice with MonoChat