Testing a customer refund in five steps
We’re asking AI agents to take on real work. Each dot: work being done today.
Soon, people will depend on that work being done well. Each cube: an agent taking on a task.
Did it refund the right amount? Did it update the right records?
Let’s test one customer refund.
Step 1 of 5, Prepare. Set up a refund test. A customer requests a refund on an order that has already been partly refunded. $500 order · $200 already refunded · $300 remaining. Success: refund the correct amount and update the records..
Step 2 of 5, Run. Let the agent handle the request. The simulated customer asks for the full $500 back. The agent asks for the order number and looks up the payment history, but still tries to refund $500. Fabrik records each call to the simulated services. Customer: “I want the full $500 back.” → Agent asks for the order → Customer supplies #1082.. Read · order and payment history. Attempted refund · $500.
Step 3 of 5, Inspect. See where it went wrong. The payment service rejects the refund because only $300 remains. After the run ends, Fabrik checks the agent’s actions and the records. The balance is unchanged, but the agent still tried to refund too much. No records changed. The case is still open.. × Agent requests an allowed amount — failed. ✓ Rejected refund leaves the balance unchanged — passed.
Step 4 of 5, Change. Make a fix and try again. Your team updates the agent and repeats the test with the same setup, starting records, and simulated customer. This time, the agent confirms the $300 refund, issues it, updates the order, and closes the case. Then it checks the records. Second run · using your team’s updated agent. ✓ Accepted refund recorded: $300. ✓ Order and case reference the completed payment.
Step 5 of 5, Compare. Compare the two versions. The updated agent completed the refund correctly. Review the calls and final records beside the first run to see what changed. Then run the rest of your tests to check whether the fix caused problems elsewhere. Same setup and test case · two versions of the agent. Original version · tried to refund too much. Updated version · completed the allowed refund.
Know what your agent can handle before you put it to work.
We’re asking AI agents to take on real work.
Each dot: work being done today.
Soon, people will depend on that work being done well.
Each cube: an agent taking on a task.
Did it refund the right amount?
Did it update the right records?
Let’s test one customer refund.
Know what your agent can handle before you put it to work.
YOUR AGENT 01 / Simulated serviceCRM
Case #184 · Customer 412
Open 02 / Simulated serviceOrders
Order #1082 · Customer 412
Partially refunded 03 / Simulated servicePayments
Payment #706 · Order #1082
$300 remaining Environment ready
01 / 05 — Prepare
Set up a refund test.
A customer requests a refund on an order that has already been partly refunded.
$500 order · $200 already refunded · $300 remaining
- Success: refund the correct amount and update the records.