Implux Field GuideAGENTIC AI · FORWARD DEPLOYED ENGINEERING

A practical reference for designing agents, delivering software, and proving outcomes.

THE PRACTITIONER'S REFERENCE
Questions · Patterns · Practice

System design case / 02

Customer support and refunds

Practice an end-to-end customer support and refunds design interview with requirements, architecture, risk, evaluation, and production trade-offs.

RequirementsArchitectureProduction readiness
Scenario boundary

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.

Ticket + identity
Policy lookup
Resolution draft
Approval gate
Idempotent refund
System path for the customer support and refunds scenario.

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.

01ClarifyUser, workflow, scale, risk, and definition of done.
02PrioritizeFunctional needs, constraints, and the first release boundary.
03DrawComponents, data ownership, trust boundaries, and one end-to-end path.
04StressFailure, stale data, retries, permissions, and human takeover.
05OperateEvaluation, launch gates, ownership, and measurable outcomes.
A system-design answer should move from requirements to an operable design, not stop at a component diagram.

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

  1. Decision 1

    Which cases can be resolved automatically and which need a human?

  2. Decision 2

    How is refund eligibility verified against the system of record?

  3. Decision 3

    How does the user preview the exact amount and reason before approval?

A useful interview walkthrough

  1. 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.

  2. 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.

  3. 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.

  4. 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

Separate recommendations from actions; make refunds idempotent and approval thresholds explicit.
  • 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.