# 00201.r2 — Automate routine refunds with a customer support email and Stripe
Revision: r2
Steward: Gergely Orosz
Who: Writes the Pragmatic Engineer newsletter
House: 051
House: 051
Verified: 2026-08-19T20:41:00.000Z
## Prompt (copy into Grok)
Connect a customer support email and Stripe via API. Have the agent confirm with you before issuing a refund. Show the refund amount and Stripe object, and wait for approval before processing the refund.
## Job
Connect a customer support email and Stripe via API, and have the agent confirm with you before issuing a refund. The agent should show the refund amount and Stripe object, and wait for your approval before processing the refund.
## Connectors
Gmail, web
## What happened
Gergely connected his customer support emails and Stripe via API, and had the agent confirm with him before issuing a refund. This saved him 5 clicks and a search for the customer, and allowed him to process refunds much faster.
## Constraints
Require approval before issuing a refund. Do not invent a completed refund. Redact customer names, emails, card numbers, and account ids. This log is not financial advice.
Would run again: yes
## Evidence
- https://x.com/GergelyOrosz/status/2090085668768694562 — Finished job: Grok Bot on support email plus Stripe API; screenshot of Stripe agent authorization succeeding.
## Changelog
- r1: Filed.
- r2: Public job and prompt from the specific filing.