B2B SaaS, logistics softwareShowcase project
A support agent that resolves 68% of tickets and hands the rest to a person with context
We built an AI support agent for a logistics SaaS help desk. It answers from the product docs and account data, performs safe actions like resending invoices, and escalates with a full summary when it isn't sure.
68%
tickets resolved without a human
40 sec
median first response, down from 6 hours
0
incorrect refunds in 90 days
- Services
- AI agents, RAG, Evaluation & monitoring
- Stack
- TypeScript · LangGraph · pgvector · Postgres · Zendesk API · OpenAI
- Duration
- 7 weeks
The problem
A 4-person support team handled around 900 tickets a month. Roughly two thirds were repetitive: where is my invoice, how do I add a user, why did a shipment status not update.
First response time averaged six hours because tickets queued overnight for a team in one time zone, while customers were spread across four.
A previous chatbot trial had been switched off after it confidently invented a refund policy.
How it fits together
- Zendesk ticket
- Intent + retrieval
- Tools (read-only / safe actions)
- Answer with citations
- Escalate with summary
What we did
Started with the ticket history, not the model. We classified 3 months of tickets by hand to find the 14 intents worth automating and wrote the evaluation set from real conversations.
Built retrieval over the help centre and internal runbooks, with every answer carrying a citation the customer can click.
Gave the agent a small set of tools with explicit permissions: look up account, resend invoice, add user (only if requester is an admin), check shipment status. Anything involving money or deletion is a request to a human, never an action.
Escalation writes a summary, the customer's sentiment, and what was already tried into the Zendesk ticket, so the agent's handoff is better than a cold ticket.
Shipped behind a feature flag to 10% of traffic, compared resolution and CSAT against the human baseline for two weeks, then ramped.
What changed
68% of tickets closed by the agent with a CSAT of 4.6/5, slightly above the human baseline of 4.4.
Median first response dropped from about six hours to forty seconds; the team now starts the day with a prioritised queue of hard cases.
The evaluation suite runs on every prompt or model change. Two model upgrades were rejected because accuracy on the billing intent dropped.
“The handoff is what sold the team. When a ticket reaches a person, it arrives with the whole story already written up.”
Next case study
Turning 1,200 supplier invoices a month from email into ERP entries, with a review queue