productinterview.tools
MenuClose

Design an AI System That Answers Customer Support Tickets (AI System Design Question)

The interviewer asksDesign an AI system that drafts or resolves customer support tickets for an online retailer handling 20,000 tickets a day.

Forward Deployed EngineerAI Platform PMAI Product Engineer (secondary)CoreSystem design roundRepresentative30 min

On this page
  1. The 30-second version
  2. What it's really testing
  3. How to structure your answer
  4. The interview, played out
  5. The strong answer, distilled
  6. How it's scored
  7. How the answer changes by role
  8. Common mistakes
  9. More follow-ups to practise
  10. Go deeper
  11. Sources

The 30-second version

  1. Requirements: ticket mix, which actions are allowed (refunds?), cost of a wrong answer, response-time goals.
  2. Skeleton: intake → classify and route → context (order data, policies) → draft or act → checks → send or hand off.
  3. Start with drafts for agents; auto-resolve only categories that pass their eval gate.
  4. Actions (refunds, address changes) through tools with limits; above the limit, a person approves.
  5. Evals per category from past resolved tickets; monitoring and a feedback loop from agents' edits.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Requirements and risk before architecture
  • The whole skeleton, then depth where it matters
  • Staged autonomy based on evidence
  • Failure handling and cost

How to structure your answer

  1. Requirements.
  2. Skeleton end to end.
  3. Depth: routing, context, actions.
  4. Autonomy plan and evals.
  5. Failure, latency and cost.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong moveMissed signalRevealed when asked
  1. Interviewer
    Design an AI system that drafts or resolves customer support tickets for an online retailer handling 20,000 tickets a day.
  2. Candidate
    What's the ticket mix, and what is the system allowed to do: answer only, or also take actions like refunds?
  3. Revealed when asked
    About half are order status and returns. It may issue refunds up to $50. Wrong refunds are the main worry.
  4. Strong move
    Asks about actions and the cost of mistakes before designing.
  5. Candidate
    The skeleton: tickets come in; a classifier tags category and urgency; we assemble context (the customer's orders from the order system, relevant policy passages via retrieval); the model drafts a reply or proposes an action; checks run; then it's sent, queued for an agent, or escalated.
  6. Candidate
    I'd start with drafts for human agents on every category. A category moves to automatic resolution only when its eval passes the bar, say 95% correct on 500 past tickets with no policy violations. Order status will probably get there first; complaints may never.
  7. Interviewer
    How do refunds work?
  8. Candidate
    Through a refund tool, not free text. The tool enforces the $50 limit and checks the order is eligible; anything over the limit goes to a person with the AI's recommendation. Every action is logged.
  9. Interviewer
    What about failures?
  10. Candidate
    If the order system is down, the AI says it'll follow up and queues the ticket; it never guesses an order status. Low-confidence classifications go to a person. And agents' edits to drafts are captured as signals for what to improve.
  11. Interviewer
    Cost?
  12. Candidate
    Hmm, I'd need to estimate.
  13. Missed signal
    Cost and latency should be part of the design from the start.
  14. Candidate
    20,000 tickets, roughly 3,000 input tokens of context and 300 output each: about 60 million input and 6 million output tokens a day. At typical API prices that's tens to low hundreds of dollars a day depending on the model, small next to agent time. A smaller model for classification keeps it lower.

The strong answer, distilled

  • Requirements: half order status and returns; refunds up to $50; wrong refunds are the key risk.
  • Skeleton: intake → classify and route → context (order data, retrieved policies) → draft or propose action → checks → send, queue or escalate.
  • Staged autonomy: drafts everywhere first; auto-resolve a category only after its eval passes (e.g. 95% correct on 500 past tickets, zero policy violations).
  • Actions: refunds through a tool that enforces limits and eligibility; above the limit, human approval; everything logged.
  • Failure: never guess when systems are down; low confidence → person; agents' edits feed improvement.
  • Cost: ~60M input and 6M output tokens/day; small relative to agent time; small model for classification.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Requirements None Volume Mix, permitted actions, cost of mistakes
Design A chatbot Main flow Full skeleton with depth on routing, context, actions
Autonomy Full automation Human review Per-category gates based on evals
Failure and cost Ignored Some Fallbacks, hand-off, cost estimate

Round scorecard: FDE: AI system design round, filled in for the mock candidate

DimensionWeakPassableStrongThe mock candidate
RequirementsAssumes them.Asks about scale.Users, data, scale, latency, cost and risk, before drawing anything.Strong. Asked about ticket types, actions allowed and the cost of mistakes.
ArchitectureOne component.A reasonable flow.Full skeleton, then depth on the parts this system depends on.Strong. Full skeleton, then depth on routing, retrieval and actions.
Quality and evalsNone.Mentions testing.Evals per component and end to end, and how they're built.Strong. Per-category evals from past tickets, with gates before auto-resolving.
Failure and costIgnored.Mentions one.Fallbacks, guardrails, latency and cost levers, tied to requirements.Passable. Good hand-off design; cost estimate came only when asked.

How the answer changes by role

Role What to emphasise
Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation Integrating the retailer's systems and the staged rollout
AI Platform PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation Which pieces a platform should provide: tools, evals, routing
AI Product Engineer Implementation and the feedback loop from agents' edits

Common mistakes

  • Letting the model issue refunds through free text
  • Auto-resolving everything from day one
  • No plan when the order system is unavailable
  • Ignoring cost until the end

More follow-ups to practise

  • "Customers start gaming the refund limit." Hint: account-level signals and monitoring.
  • "Peak season triples volume." Hint: capacity, queueing and what to automate first.
  • "How would you report the system's value to leadership?" Hint: resolution time, cost per ticket, satisfaction.

Go deeper

Sources

Representative question: written to match AI system design rounds, not a specific reported interview. Token estimates are illustrative.