The business that gets more messages than it can handle
When everything lands in one inbox, the most important message of the day can sit under forty newsletters. Here's how I'd make sure it never does.
This isn’t a client write-up. It’s a problem I see a lot, and exactly how I’d solve it, built on systems I’ve already shipped.
- 01Message ingestion
- 02Intent classification
- 03Priority engine
- 04Department routing
- 05SLA monitoring
- What it is
- AI triage and routing for incoming messages
- NLP
- LLM classification
- Message queues
- Event-driven architecture
- Who it’s for
- Teams that get hundreds of emails, chats and form messages a day, with someone sorting them by hand.
- What changes
- Every message is read in seconds, tagged with what it's about and how urgent it is, and sent to the team that owns it, with timers that warn before a reply is late.
The problem, up close
Monday morning, and the shared inbox has a few hundred unread messages from the weekend. Somewhere in there is a customer who was charged twice, a supplier changing their bank details, and a lot of “thanks!”.
Someone reads each message, decides where it should go, and forwards it. They're good at it. They're also one person, and by the time they reach the double-charged customer, that customer has already posted about it.
Then there's the quieter problem: once a message is forwarded, nobody can tell whether anyone actually picked it up.
Urgent waits in line
Messages are handled in the order they arrived, not by how much they matter.
Wrong desk, double the wait
A misrouted message bounces between teams. Every hop adds hours and frustration.
No one sees the whole picture
Without tracking, you can't tell how long replies take, which team is overloaded, or what people keep writing about.
What sorting by hand costs you
Your numbers, not mine. Move the sliders to match your team.
25 hours a week
That's 3.1 working days, every single week.
Why the usual fixes don’t stick
Inbox rules and filters
Fine for “anything from the bank goes to Accounts”. Useless when the subject says “quick question” and the real problem is in the third paragraph.
More people on the inbox
It grows the cost, not the speed. Sorting is still manual, and still first come, first served.
A helpdesk on its own
Tickets get created, but someone still has to read and assign every single one.
How it works
The whole system, one step at a time. Choose a step to see what happens there and what it’s built with.
Message ingestion
Email, website forms, WhatsApp and chat all flow into one queue. Each message becomes an event with its sender, channel and history attached, and duplicates are dropped.
- Email and webhooks
- Message queue
- Deduplication
What it looks like
Two messages, sorted in seconds. The grey lines show what happens behind the scenes.
- Subject: Charged twice?? Hi, I paid for order #48213 yesterday and my card shows two payments of ৳2,450. Please fix this asap.
- Intent: billing, duplicate charge (confidence 0.94) · order #48213 · ৳2,450
- Priority: high · payment problem, customer waiting
- Routed to Accounts › Refunds with a summary: “Customer charged twice for #48213, ৳2,450. Check gateway and refund one payment.” First reply due within 2 hours.
- Subject: Love the new app! Just wanted to say the new checkout is so much faster. Great job.
- Intent: feedback · priority: low. Added to the product team's weekly digest, no reply timer.
The decisions that matter
AI for meaning, rules for policy
The model works out what a message is about. Your business decides what that means: which team, how urgent, which deadline. Keeping the two apart means you can change a rule without touching the AI.
Confidence, not certainty
Every classification carries a confidence score. Below a threshold, the message goes to a person, and their choice becomes one of the examples the classifier sees next time.
Queues and events
Messages travel through a queue, so a Monday-morning spike slows nothing down and nothing is lost if a service restarts. Each step publishes an event that the next one listens for.
Cheap steps first
Language detection, spam and auto-reply filtering, and pulling out order numbers all run before the language model. The expensive step only sees what's left.
How I’d run the project
Listen first
I spend a few days with the people who deal with the problem every day. What comes in, how often, and what a good answer actually needs. No slides yet.
Map the answers and the rules
Where does the information live? Policy PDFs, an HR system, a helpdesk, someone's head. I list every source, and who is allowed to see what.
Build one real slice
One team, one channel, real data. Small enough to finish quickly, real enough to learn from. You see it working, not a mock-up.
Pilot with a friendly team
A few people use it for real work. Every wrong or unhelpful answer becomes a test case that I fix and keep, so the same mistake doesn't return.
Roll out and hand over
More teams, a dashboard you can read, and documentation your own developers can maintain without me.
Keeping it safe
People stay in the loop
Low-confidence or sensitive messages, like legal threats or data requests, always go to a person.
No automatic replies by default
The system sorts and summarises. Replying on its own is a separate decision you make per message type.
Careful with personal data
Only what's needed reaches the model. Card numbers and passwords are masked first, and every step is logged.
How we’ll know it works
Time to the right team
How long until a message is with the team that can solve it. This should drop from hours to seconds.
Misroute rate
How often a team has to pass a message on. Every misroute is reviewed and fixed.
Late replies
How many replies miss their deadline, by team and by message type.
What people write about
Weekly trends by topic, which often point to a product or process problem further upstream.
Where I’ve built parts of this
Questions you might have
Which channels can it read?
Email, website forms, WhatsApp Business and most chat or helpdesk tools that offer an API or webhooks.
What happens when it isn't sure?
The message goes to a person, with the AI's best guess shown. Their decision is saved, so similar messages are sorted better next time.
Can it reply to customers by itself?
It can draft replies, but sending them automatically is your call, per type of message. Most teams start with sorting and summaries only.
Do we have to change our helpdesk?
No. It routes into the tools you already use, through their APIs.
Got a problem like this in your business?
Tell me what’s eating your team’s time. I’ll be honest about whether AI is the right fix, and if it is, how I’d build it for you.
You’ll be talking to me directly, not a sales team.