๐Ÿค– Agent workflow plan

Agent design: support ticket triage and draft replies

Summary

An AI agent classifies every new ticket, looks up order and shipping status for "where is my order" (WISMO) requests, and drafts a reply. Low-risk WISMO replies with high confidence go to a one-click approval queue; everything else goes to a human with the draft attached. Refunds over 50, complaints and anything mentioning legal or safety issues always go to a person. Target: cut median first response from 9 hours to under 2 hours without lowering CSAT.

Workflow

StepActorToolOutput
1HelpdeskHelpdesk API (webhook)New ticket event
2AgentLLMIntent, sentiment, language, confidence score
3AgentOrder database (read-only)Order status for the customer's email or order number
4AgentShipping-status APICarrier status and carrier-given delivery estimate
5AgentLLMDraft reply using only looked-up facts
6AgentHelpdesk APITicket tagged, draft attached, routed to a queue
7HumanHelpdeskApprove, edit or reject the draft
8HelpdeskHelpdesk APIReply sent; outcome logged

Decision rules

Approval gates

ActionGate
Sending any replyA human approves (one click in Quick approve)
Refund or credit up to 50Support agent approves
Refund or credit over 50Supervisor approves
Closing a ticket without a replyNot allowed for the agent

The agent has no permission to send messages, issue refunds or change orders.

Failure handling

Security and privacy

Metrics

MetricBaselineTarget
Median first response time9 hoursUnder 2 hours
Share of WISMO tickets via Quick approve0%60% of WISMO
Draft approval rate without edits[measure]80%
CSAT[measure]No decrease
Wrong delivery date quoted[measure]0

Rollout plan

  1. Week 1โ€“2: shadow mode. The agent classifies and drafts, but humans work as usual. Compare its routing with theirs.
  2. Week 3โ€“4: enable Quick approve for WISMO only.
  3. Then: add other intents one at a time, after each meets its approval-rate target.

Next: a 2-week pilot plan and a set of test tickets. Constraints respected: GDPR, refunds over 50 need approval, and no delivery dates beyond what the carrier gives.