Skip to main content

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
  1. Why customers need routing, not a bot
  2. Keywords, menus and AI classification compared
  3. How MonoChat’s AI Classifier works
  4. Designing categories that route well
  5. Arabic, Gulf dialect and voice notes
  6. From category to person: Least busy assignment
  7. Build it: a complete routing flow
  8. Measuring whether routing works
  9. Common mistakes
  10. 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 menuKeyword rulesAI classification
Customer effortMust read and reply with a numberNoneNone
Paraphrases and typosn/aMissedUnderstood
Other languagesNeeds a menu per languageNeeds keywords per languageUnderstood by the model
Voice messagesIgnoredIgnoredTranscribed, then classified
MaintenanceLowGrows with every new phrasingCategory descriptions only
Cost per messageNoneNoneOne 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-schema response 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:

  1. 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.
  2. 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”.
  3. 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”.
  4. 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.
  5. 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

  1. New Message Received starts the flow.
  2. AI Classifier with your categories, the input set to the last 5 messages, a speech-to-text model, and Save Flow Variable named topic.
  3. Each category leads to an Assign Session node for its workgroup, with Least busy.
  4. 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.
  5. On Other goes to your general support workgroup.
  6. Every Queued output sends the short waiting message.
  7. 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 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.

FAQ

Frequently asked questions

What is AI message classification in customer service?

An AI model reads each incoming message and puts it in one of the categories you define, such as order status, refunds, sales questions or billing. The category decides what happens next: which team gets the conversation, which automated step runs, or which agent is alerted. The AI does not answer the customer; it only decides where the message goes.

How is it different from keyword routing?

Keyword rules match words, so they miss paraphrases, typos, other languages and voice notes, and they misfire when a word appears in another sense. A classifier reads the meaning, so "the charger arrived broken" and "I want my money back" both land in Refunds without a keyword list.

Does MonoChat's AI Classifier understand Arabic and voice messages?

Yes. The model reads the meaning in any language the chosen model understands, Arabic and Gulf dialect included, and a voice message is first turned into text with the speech-to-text model you choose. You can add instructions for ambiguous cases.

What happens when no category fits?

The flow continues on the On Other output. It also takes On Other when there is nothing to classify or the AI call fails. Connect it to your general support team so no conversation is left without an owner.

How many categories should I use?

MonoChat's AI Classifier takes up to 20, but four to eight clear categories with a one-line description each work better than many overlapping ones. Add a category only when it leads to a different team or a different next step.

How much does classification cost?

Each run of the node is one call to the model you choose. A model provided by MonoChat is billed to your balance like the Create AI Chat Completion node; with your own model and API key, the provider bills you directly. MonoChat's Basic plan is free and Growth is $120 a month.

First month of Growth on us

Run WhatsApp, Instagram and Messenger from one inbox

Start free with MonoChat: shared team inbox, AI assistants, templates and campaigns on official Meta APIs.

One code per business • 30 days to redeem • No card needed

$150 to get started.

Claim