Design Customer Service Chat Routing to Available Support Associates

Last updated: November 29, 2026

Quick Overview

Design the system that takes a customer who starts a support chat in the Amazon app, places them in the right queue by issue type and language, and connects them to an available associate with the right skills.

Amazon
System Design
Software Engineer
Amazon
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the system that takes a customer who starts a support chat in the Amazon app, places them in the right queue by issue type and language, and connects them to an available associate with the right skills.

Amazon support runs at large scale across languages and sites, so this question shows up for customer service technology teams. The interviewer probes skill-based routing, presence tracking for associates, and how you keep the customer's place in line through disconnects.

What the Interviewer Expects
  • Define queues by skill (issue type, language, tier) and associate capacity
  • Track associate presence and concurrent chat slots reliably
  • Choose a matching strategy that balances wait time and skill fit
  • Persist chat sessions so either side can reconnect
  • Expose wait-time estimates and handle overflow
Key Topics to Cover
Skill-Based Routing
Presence
WebSockets
Queueing
Session Recovery
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you estimate and show the expected wait time?
  • What happens when an associate's browser crashes mid-chat?
  • How do you route a VIP or repeat-contact customer differently?
  • How would you add a bot that handles the first turns?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: customer starts chat with order context; a bot gathers intent; system routes to an associate with matching skills; associates handle up to three chats at once; transcripts saved. Non-funct...

High-Level Design

Clients hold WebSocket connections to a Chat Gateway fleet. Messages are written to a Conversation store (DynamoDB keyed by chat id) and relayed through a pub/sub layer keyed by chat id so either part...


Submit Your Answer
Markdown supported