Stripe Dunning & Payment Recovery
Recover failed Stripe payments automatically: branch on the decline reason to email the customer a billing-portal link, or flag hard declines for review.
Inside this workflow
Overview
**What it automates:** Webhook (Stripe payment failure) → branch on decline code → soft declines (card expired): email with billing-portal link + retry prompt → hard declines (insufficient funds, fraud): Slack flag for manual review. **Business outcome:** SaaS companies recover 15-20% of failed payments with intelligent dunning. Every dollar saved on churn is 10x your acquisition cost. **Apps & nodes:** Stripe webhook, Gmail (dunning emails), Slack (alerts), n8n conditions **Setup (4 steps):** 1. Configure Stripe webhook for payment.failed events 2. Add Gmail account + dunning email template 3. Connect Slack for hard-decline alerts 4. Define which decline codes are "soft" (recoverable) vs "hard" **Difficulty:** Intermediate (15 min setup) | **Credentials:** Stripe, Gmail, Slack
What's included
Quickstart
- 01
Download the JSON
With an active Library Pass, download the workflow file right from this page or your dashboard.
- 02
Import into n8n
Choose Import from File and select the downloaded JSON. The full agent graph appears, ready to configure.
- 03
Plug in credentials
Each integration node prompts for credentials on first run. The setup guide lists every credential the agent expects.
- 04
Activate and test
Run once with sample input, confirm the expected output, then flip the activate toggle.
Reviews (0)
No reviews yet. Be the first.
Sign in to leave a review.
Included with any pass
This agent — and every other in the library — comes with a Library Pass. One pass, the whole catalog.
Get a Library Pass- Every agent in the library
- All new releases while active
- Unlimited downloads
- Commercial-use license
- Priority email support
- 30-day money-back guarantee
More in Ops
AI Invoice Processing with OCR & CRM Sync
Auto-extract line items, dates, and amounts from invoice PDFs using OCR+AI, validate them, then upsert to Salesforce Opportunities — zero manual data entry.
AI Daily Briefing
Each morning, an LLM reads your calendar and emails you a tight brief — the shape of the day plus a prep note for every meeting.
AI Invoice Payment Reminders & Tracker
Auto-send payment reminders at 30/15/7 days past due, track cash flow, and flag risky accounts in Slack — so you never leave money on the table.