Stripe work is API work: charge objects, invoice ids, decline codes and subscription statuses, all structured and none of it ambiguous. Codex handles that sort of data manipulation quickly and suits a task scoped this tightly. The written output is deliberately small, one email and one channel line per failed charge.
Run a staged conversation — no account needed. The agent handles it for real while a simulated world answers its tool calls; nothing touches real accounts, and nothing is actually sent.
Payment
SucceededPayment failed for Aurora Bakehouse, 89.00 EUR
Lucia Marin · lucia.marin@aurorabakehouse.es
Charge ch_3PkR2xLg on the 89.00 EUR Growth plan failed with decline code expired_card, against invoice in_1PkR2y for the 1 August billing period. Customer since March 2025 with twelve successful payments and no previous failures. The subscription is active and the next automatic retry is in three days. Card on file is a Visa ending 4417 that expired in July.
Using this template drops you into a guided setup. It asks exactly this, nothing else:
Connect Stripe
One sign-in. The agent acts through your account, scoped to what this template uses.
Connect Gmail
One sign-in. The agent acts through your account, scoped to what this template uses.
Connect Slack
One sign-in. The agent acts through your account, scoped to what this template uses.
Dunning policy
How you chase a failed payment - how soon you reach out, the tone, how many attempts before you stop, what happens to the account meanwhile, and which customers are too valuable to email without a person reading it first.
Business context
What your business sells and what the customer loses while the payment is unpaid, in your own words. The agent explains the situation from this and claims nothing beyond it.
Runs on Codex
Preselected for this page — connect your Codex account during setup, or switch to NoClick's built-in models with one click.
Watch it handle a test run
A staged conversation against a simulated world — then it’s live.
Decline codes, invoice references and subscription states are the raw material of this template, and reading them correctly is more than half the job.
Involuntary churn is a race against the customer forgetting they ever paid you. A quick harness on a short chain means the draft exists while the failure is still today's news.
The agent counts prior failures through list_charges, and your dunning policy decides what that count means, including when to stop emailing and hand the account to a person. Codex will apply the count accurately but it will not invent a rule you never wrote. The staged third-failure case shows you exactly what your wording produces.
Free to start. Guided setup, a test run against staged conversations, and it's live.