Built for a refund queue where the owner approved everything by hand. We wrote the policy as code and put an approval inbox on the exceptions. The build is live below with eight sample requests: set the rules, run the queue, open any request to see the order, the customer, and the rule that decided it.
| Request | Customer | Reason | Amount | Status |
|---|
Requests inside the limit, inside the window, from customers in good standing go through with no one touching them. Each one still writes a full record.
A large amount, a late return, or a frequent refunder pauses. The approver sees the order, the customer history, and the exact rule, and decides in seconds.
A second refund on an order that already has one is blocked before anyone sees it. Changing an approved amount reopens the decision. The rules are code, not suggestions.