Every message is read by AI, given an urgency score from 1 to 10 and sent to one of six department mailboxes. Send a sample message below and watch each step happen.
6 department boxes3 languages: English, Urdu, Roman Urdu1–10 urgency scoreRuns on n8n
The automation, step by step
Waiting for a message
Customer message
Submitted on the web form
n8n receives it
Webhook starts the workflow
AI reads it
Works out what it's about
Urgency score
Ranks it from 1 to 10
Routed to a department
Mailbox
Appears live, ranked by urgency
Try it with a real message
Pick a sample or write your own. It runs through the actual automation.
Demo messages also appear in the staff mailbox, tagged "Demo".
What's happening
Events streamed live from the server as the workflow runs.
Ready. Run a message to see the events.
How it appears in the mailbox
What happens at each step
The workflow is built in n8n. Each step is a visible node, so you can open it and see exactly what it did for any complaint.
1
Receive
The form sends the complaint to an n8n webhook, protected by a secret key so only this portal can use it. It gets a reference number straight away.
2
Understand
An AI model reads the message in English, Urdu or Roman Urdu. It picks exactly one category and writes a short subject line.
3
Prioritise
The AI scores urgency from 1 to 10 using the rules below. The subject is labelled with that score so the most urgent work is always on top.
4
Route and deliver
A switch sends it down one of six branches to the right department. It appears in their mailbox instantly, with no refresh needed.
Built-in safety nets. If the AI is slow or unavailable, a keyword backup sorts the message so nothing waits. If the whole automation is down, the portal still saves the complaint and flags it for manual triage. No complaint is ever lost.
How urgency is scored
Danger to life always comes first. Next come outages and serious misconduct, then billing, then routine requests.
Critical9–10
Sparking or fallen live wires
Transformer or PMT fire
Risk of electrocution
Outage affecting a hospital or medical patient
High7–8
No electricity for many hours or a whole area
Bribery or fraud by staff
Kunda connections causing tripping
Medium4–6
Wrong or inflated bills
Detection bills, disconnection threats
Frequent tripping, low voltage
Low1–3
New connection status
Name or contact updates
Feedback and thanks
The six department boxes
Each message goes to exactly one box. If it mentions two problems, the more serious one wins.
See it from both sides
Submit a complaint as a customer, then watch it arrive in the staff mailbox.