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.
The full canvas, before you import it
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
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3Press Cmd+V / Ctrl+V — nodes appear instantly.
- 4Add your API keys in the node config panels and click Run.
Discover more automations
- Finance OpsPayment Webhook HandlerReceive a Stripe-style webhook payload, parse the event, send a receipt email on success, and Slack-alert your team on failure.
- Finance OpsBinance WebSocket BTC Price AlertSubscribe to the Binance public WebSocket ticker stream and trigger a price alert when BTC/USDT crosses your target threshold — no API key required.
- Finance OpsInvoice Data Extraction from PDFAn AI agent calls LlamaParse to parse a PDF invoice, then returns structured JSON with vendor, amount, line items, and totals.
- Finance OpsQuickBooks Sales Receipts from StripeReceive Stripe payment webhooks, create or find the QuickBooks customer, and generate a sales receipt automatically.
- Finance OpsPortfolio Diversification Slack BriefRead portfolio holdings from Google Sheets, analyze concentration risk with AI, and alert Slack when exposure needs review.
- Finance OpsInvoice Total Calculator (Agent Skill)An agent runs a bundled Python skill that computes line totals, discount, tax, and the grand total from invoice items.
- Finance OpsFinance Evidence S3 ArchiveUpload a finance evidence note to a structured Amazon S3 path and return the stored object key.
- Finance OpsOrder-to-Cash Exception AgentInspect order, fulfillment, invoice, and payment events, then route revenue exceptions before they become customer-facing issues.
- Finance OpsFreight Invoice Audit AgentAudit carrier invoices against shipment milestones, contracts, and accessorial rules before overcharges hit finance.
- Finance OpsDeepfake Vendor Payment Change TriageCross-check urgent vendor payment change emails, require human review, and block social engineering signals before money moves.
- Finance OpsGPU Inference Cost per Token Anomaly MonitorCalculate GPU inference cost per million tokens, detect efficiency regressions, and send a FinOps investigation brief.
- AI AgentsDuckDuckGo Claim Evidence FinderSearch DuckDuckGo Lite for a factual claim and turn the result snippets into a cited evidence brief.