AutomationLiveEN
Support ticket triage
Demo live project: routes fictional customer emails to the right queue with a short summary.
Esempi BestIAPublished on 24 November 2026
- Maturity
- Live
- Category
- Automation
- Entry language
- English
- Published
- 24 November 2026
01The problem
A made-up support team spends the first hour of each day reading and forwarding emails before anyone answers a customer.
02The solution
Incoming emails are summarised, tagged with a queue and a priority, and placed in the helpdesk; agents can reassign with one click.
03Role of AI
A language model proposes queue, priority and a two-line summary; low-confidence tickets go to a human triage queue.
04Technical architecture
README.md
TriageDesk — support ticket triage
Demo live project with fictional customers.
Overview
Incoming emails are summarised and routed to the right helpdesk queue with a priority. Low-confidence tickets go to a human triage queue.
Architecture
[Mailbox] --> [Helpdesk] --webhook (HMAC signed)--> [Node.js service]
| verify signature, idempotency key
v
[Preprocess] strip signatures/quotes, PII masking
|
v
[LLM API: queue, priority, summary]
|
confidence >= 0.75 | < 0.75
v
[Helpdesk API: set queue + note] [Triage queue]
|
v
[PostgreSQL audit]Stack
| Layer | Technology |
|---|---|
| Service | Node.js 22, Fastify |
| Queue | BullMQ on Redis (retries, rate limiting) |
| Data | PostgreSQL 16 |
| AI | LLM via API, JSON output |
| Hosting | container on a managed platform, 2 replicas |
Model output
{ "queue": "billing|technical|account|other", "priority": "P1|P2|P3", "summary": "two lines", "confidence": 0.0 }Reliability
- Idempotency on the helpdesk message id (unique index) — webhooks may be delivered twice.
- Exponential backoff, dead-letter queue after 5 attempts.
- Kill switch
AI_ROUTING_ENABLED=falsesends everything to the triage queue.
Data model
create table triage (
message_id text primary key,
suggested_queue text, suggested_priority text, confidence numeric,
final_queue text, overridden boolean default false,
created_at timestamptz default now()
);Quality loop
Weekly report: override rate per queue; prompts and thresholds adjusted when overrides exceed 15%.