Vai al contenuto

AutomazioneIn produzioneEN

Support ticket triage

Demo live project: routes fictional customer emails to the right queue with a short summary.

Esempi BestIAPubblicata il 24 novembre 2026
Maturità
In produzione
Categoria
Automazione
Lingua della scheda
English
Pubblicata
24 novembre 2026

01Il problema

A made-up support team spends the first hour of each day reading and forwarding emails before anyone answers a customer.

02La soluzione

Incoming emails are summarised, tagged with a queue and a priority, and placed in the helpdesk; agents can reassign with one click.

Il cuore AI del progetto

03Ruolo dell'AI

A language model proposes queue, priority and a two-line summary; low-confidence tickets go to a human triage queue.

04Architettura tecnica

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

text
[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

LayerTechnology
ServiceNode.js 22, Fastify
QueueBullMQ on Redis (retries, rate limiting)
DataPostgreSQL 16
AILLM via API, JSON output
Hostingcontainer on a managed platform, 2 replicas

Model output

json
{ "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=false sends everything to the triage queue.

Data model

sql
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%.

—Immagini

  • Illustration: incoming emails routed by priority into three helpdesk queues