A support agent reads a ticket, checks account and policy state, proposes a resolution, and may prepare a refund. Keep recommendation, authorization, and financial mutation separate so a customer-service workflow cannot bypass policy or duplicate a refund.
How to present this design
Think aloud in layers. Confirm constraints before drawing; label the system of record, authorization boundary, and irreversible actions; then trace one request through the design. Keep the first version small enough to test.
A sample opening and design narrative
I would first clarify the user and what a successful customer support and refunds outcome means. The workflow is: A support agent reads a ticket, checks account and policy state, proposes a resolution, and may prepare a refund. Keep recommendation, authorization, and financial mutation separate so a customer-service workflow cannot bypass policy or duplicate a refund. I would make this design question explicit: Which cases can be resolved automatically and which need a human? The first failure I would design for is: A retry executes the same refund twice. I would make that failure visible and recoverable. I would launch against verified resolution rate, escalation rate, and duplicate-action count. and monitor policy exception rate, refund reversal rate, and time to resolution.. If those signals miss the agreed bar, I would pause expansion and inspect the failing boundary before adding more autonomy.
This example supplies a structure. In a real interview, ask for missing scale and service-level constraints rather than inventing them.
Decisions to make explicit
- Decision 1
Which cases can be resolved automatically and which need a human?
- Decision 2
How is refund eligibility verified against the system of record?
- Decision 3
How does the user preview the exact amount and reason before approval?
A useful interview walkthrough
- Define success
Start with this measurable outcome: Verified resolution rate, escalation rate, and duplicate-action count. Confirm that it represents the user's job rather than an easy-to-count system activity.
- Protect the boundary
Resolve the design question: Which cases can be resolved automatically and which need a human? State which identity, policy, or source system remains authoritative.
- Design for the first exception
Make this failure explicit: A retry executes the same refund twice. Explain how the system detects it and what the user sees while recovery is pending.
- Prove and operate it
Track Policy exception rate, refund reversal rate, and time to resolution. Name the owner, release gate, and what would trigger a pause or rollback.
Failure analysis
- A retry executes the same refund twice.
- A prompt-injected ticket changes the requested action.
- An approval is applied after account or policy state has changed.
Workaround: Begin with a reversible, human-reviewable slice. Verify the external state after each consequential action, then widen scope only when difficult cases meet the agreed bar.
Evidence and operating signals
- Verified resolution rate, escalation rate, and duplicate-action count.
- Policy exception rate, refund reversal rate, and time to resolution.
Canonical interview prompts
Practice the source questions
The full prompt set stays on the system-design guide; these links take you to the exact source question.