AI Ticket Triage with Earned Autonomy
Project Overview
Our IT help desk and the people who send it tickets.
An n8n workflow that drives the FreshService and Anthropic APIs every 15 minutes. It uses Claude to rewrite vague subjects, posts a private triage note on the ticket, and stores structured results so we can build trend dashboards. It costs about $1.50 a month to run.
It runs every 15 minutes. So far it has worked through a backlog of about 500 tickets.
n8n talks to our help desk through the FreshService API and to Claude through the Anthropic API. A small Flask service handles storage, Active Directory and SQL database lookups, and trend analytics.
A triage note is only worth automating if it's right. Letting the model act on tickets is only safe if I can show how often it's right. So I measured it before giving it more room.
Earned Autonomy
I ran a blind audit of 70 tickets. The model's confidence turned out to be calibrated: at high confidence it was fully correct 71% of the time, compared with 36% at medium confidence (p = 0.049).
- Autonomy comes in stages. Each step opens only when measured accuracy for that ticket category is high enough.
- Confidence floors, an allowlist of what it may do, and a kill switch.
- Payroll termination notices skip the model entirely. A fixed directory and ERP account check runs instead.
Still open: finding similar past tickets and scoring solution quality before it takes any action on its own.