Skip to content
echogeco
Human in the loop · Gates and review

Gate placement for a refund flow

Decide which steps of an eight-step membership cancellation stop for a person, on what condition and clock, and what the review costs a day.

designmediumExercise · 3 min · 29 of 75
On this page

An online retailer wants membership cancellations automated end to end, and the step that most needs a person is not the one that moves money. Where the gate goes decides both the daily review bill and the worst thing one misread request can do.

The situation

The online retailer this module uses in place of the agency sells a paid membership at $120 a year, and cancellations arrive at 40 a day. The proposed flow:

  1. Read the request and classify it (model).
  2. Look up the membership and payment history (code, read only).
  3. Compute the refund: unused full months × $10, capped at $120 (code).
  4. Turn off auto-renewal (code; turned back on in one click).
  5. Refund the computed amount to the original card.
  6. Downgrade benefits at the end of the paid period (code; reversible).
  7. If the customer asks, delete their stored addresses and saved card (cannot be restored).
  8. Send the confirmation email.

Assume the model misjudges eligibility on 0.5% of refunds, which average $60. One customer in ten asks for deletion, 4 a day, and the model misreads 5% of those, taking "remove my card" for "delete everything", at $200 each in a lost customer and support time. Confirmation emails are wrong 2% of the time, at $5 each. A reviewer takes 2 minutes at a loaded $30 an hour.

The question

Place the gates: say which steps stop for a person and on what condition, who approves, on what clock, and what the review costs a day.

A strong answer · Rubric · Where answers go wrong

Write your answer first, then open