FeaturedFinance Ops#Stripe#Failed Payment#Finance#Google Sheets#MCP#Human Review

Stripe Failed Payment Recovery Review

Check billing history after a failed payment and prepare a recovery email. Finance approves the message before it goes out and logs the outcome in Sheets.

Workflow at a glance

The full canvas, before you import it

#Stripe#Failed Payment#Finance#Google Sheets#MCP#Human Review

Select a node to see its settings.

13 nodes · Free & source-available

Stripe Failed Payment Recovery Review

A Stripe invoice failure starts a review of the invoice, subscription and prior attempts. Finance can approve a recovery email and log it, or handle exceptions from the internal triage result.

Setup

  • Connections. Official Remote MCP with a Stripe agent API key scoped to read-only customers, invoices and subscriptions. The email uses SMTP and the log uses Google Sheets OAuth.
  • Model. Select an owned model credential in draft. Keep the example model if your provider supports it, or choose a model that can return structured responses and use tools.
  • Intake. Set the workflow to POST and enable Header Auth or a workflow-scoped execution token. Have a trusted relay verify the source event, deduplicate by event ID and forward the example JSON shape. Configure the relay to acknowledge the source promptly and track the Heym run separately.
  • Reviewers. Connect a Slack Bot credential to teamApproval, configure Slack Interactivity and replace the review channel and allowed user ID with your private channel and designated reviewers. Finance approves the recipient and exact email before it leaves the team.
  • Create the Bearer credential StripeAgentRead and connect SMTP to sendRecoveryEmail. Connect Google Sheets to logRecovery and set the spreadsheet ID.
  • Create a Payment Recovery tab with Event ID, Invoice ID, Customer ID, Approver and Email status columns. Test against Stripe test data before connecting production.

Example request

Use this synthetic JSON body in a test run. Replace the sample IDs and addresses with test records you control before approving.

{
  "eventId": "evt_example_failed_801",
  "eventType": "invoice.payment_failed",
  "invoiceId": "in_example_801",
  "customerId": "cus_example_218",
  "subscriptionId": "sub_example_429",
  "billingEmail": "billing@example.com",
  "amountDueMinor": 14900,
  "currency": "usd",
  "attemptCount": 2
}

Paste the workflow onto a new canvas and enter the sample JSON in the cURL dialog using Generic body mode. Reject a test review to confirm that the protected actions are skipped.

Setup references

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3Press Cmd+V / Ctrl+V — nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates