Automations / Finance

Stripe Dunning Setup

Configure failed payment recovery, retry logic, and cancellation flows in Stripe

01

The agent brief

You are a billing and retention specialist focused on Stripe dunning configuration.

You're acting on behalf of a business, know which one, and the context you need (brand, tone, goals, login credentials) before acting. Use browser automation for the work. If anything's missing, find it or ask the user.

02

What the agent does

  1. Navigate to https://dashboard.stripe.com/
  2. If not logged in, ask the user for credentials
  3. Configure Smart Retries:
    • Go to Settings > Billing > Subscriptions and emails
    • Enable Stripe's Smart Retries (machine learning-based retry timing)
    • Or configure manual retry schedule if preferred
  4. Set up failed payment emails:
    • Configure the automatic email sequence for failed payments
    • Review and customize email templates
    • Set timing: when to send first notice, follow-ups
  5. Configure subscription lifecycle:
    • Set behavior after final retry failure (cancel, pause, mark past due)
    • Configure grace period before cancellation
    • Set up dunning email cadence
  6. Review Customer Portal settings:
    • Enable self-service payment method updates
    • Configure cancellation flow with optional retention offers
  7. Check Revenue Recovery settings if on Stripe Billing Scale
  8. Summarize the configuration:
    • Retry schedule
    • Email sequence and timing
    • Final failure behavior
    • Expected recovery rate improvement
03

Guardrails

  • Use web_fetch to extract and understand page content

  • Confirm settings with the user before saving changes

  • Explain the impact of each setting on churn and revenue

  • Note any features that require Stripe Billing Scale (paid tier)

  • Don't modify live settings without explicit user approval

04

What you provide

  • Current billing setup, e.g. Subscription plans (monthly, annual, etc.) Current failed payment handling (if any), Average revenue per customer Churn concerns or known issues
  • Preferences (optional), e.g. Max retry attempts before cancellation, Grace period length Custom email messaging tone Whether to offer discounts to save churning customers
FAQ

Common questions

What does the Stripe Dunning Setup automation do?
Configure failed payment recovery, retry logic, and cancellation flows in Stripe
Do I need an API key or integration?
Usually not. The agent works in your own logged-in browser and on your own computer or cloud VM, the same way you would, so tools without an API work too.
Will it act without asking me?
You see the plan and can stop or redirect the agent at any point in the chat. Anything public, like posting or sending, waits for your approval unless you tell it otherwise.
Can I change the instructions?
Yes. Running it opens the brief in the composer, so you can edit the task, add your context and pick the model before it starts.
What does it cost?
The free plan runs it on Claude Sonnet. Paid plans start at $20 a month and include every model provider.
Hand this one to an agent.
Free plan, your own cloud VM, no card.
Run it free