π Automated Stripe payment recovery: track failures & follow-up emails
π Automated Stripe Payment Recovery Workflow (n8n)
π Automated Stripe Payment Recovery Workflow (n8n)
Detect failed payments, log them, and send polite follow-up emails to recover revenue β all automated with n8n.
β Partβ―A β Detect & log failed payments
What it does:
- βͺListens for failed Stripe payments.
- βͺExtracts customer & payment info.
- βͺLogs them neatly in Google Sheets for follow-up.
π§© Nodes:
1οΈβ£ Stripe Trigger
- βͺListens to:
payment_intent.payment_failed2οΈβ£ Set node
- βͺExtracts & maps fields:
- βͺName, Email, Amount (in cents), Currency
- βͺpayment\_intent\_id
- βͺadded\_at β
{{ $now }} - βͺemail\_sent\_count β
0
3οΈβ£ Remove Duplicates
- βͺKeeps the sheet clean (avoids duplicate rows).
4οΈβ£ Google Sheets node
- βͺAppend or update row:
- βͺName, Email, Amount/100, Currency, payment\_intent\_id, added\_at, email\_sent\_count
> π This builds your βfailed payments queueβ to drive the follow-up emails later.
π Partβ―B β Daily follow-up emails
What it does:
- βͺRuns daily.
- βͺChecks which users havenβt received 2 emails yet.
- βͺSends reminder emails and tracks how many were sent.
π§© Nodes:
1οΈβ£ Schedule Trigger
- βͺRuns every day at 10 AM (
0 10 * * *)
2οΈβ£ Get Payment Failure Leads
- βͺReads rows from Google Sheet.
3οΈβ£ Switch node (Check for no. of emails sent)
- βͺIf
email_sent_count < 1β send first email. - βͺElse if
email_sent_count < 2β send second email. - βͺElse β mark as "quit sending emails".
4οΈβ£ Send First Email
- βͺSends a gentle reminder with billing page button.
5οΈβ£ Update Email Count
- βͺIncrements
email_sent_countby +1 in Google Sheets.
6οΈβ£ Send Second Email
- βͺSends final, urgent reminder.
7οΈβ£ Quit Sending Emails to these Leads
- βͺMarks that no more emails should be sent.
π Headline
> π Automated Stripe Payment Recovery: Track Failures & Send Follow-Up Emails via n8n
β Why this matters:
- βͺCatch failed payments automatically.
- βͺLog every attempt & follow-up count.
- βͺRecover lost revenue while staying polite and respectful.
- βͺAvoid spamming by capping follow-ups to 2 emails.
production deployment
Need this workflow deployed or tailored for your business?
I customize n8n pipelines, build proprietary API nodes, and connect production databases with sub-100ms reliability.
creator
iamvaar
Top 50 Verified Creator
AI Automation Engineer building production-grade n8n systems, custom nodes, and LLM pipelines.
n8n.io/creators/iamvaarspecs
related automations
More workflows from iamvaar
Track receipt expenses from Telegram using Google Gemini and Google Sheets
Quick overview Youtube Video: https://youtu.be/7GqvPmAHm1A
Route weather-based delivery holds with Open-Meteo, Gemini, Postgres, and ServiceNow
Quick overview Demo Video: https://youtu.be/ccEy0J-LKY
Track daily LLM brand visibility with Gemini, Groq, OpenRouter, Sheets and Slack
Quick overview Youtube Video: https://youtu.be/BOodBD6HWSU?si=yEenUFBdYOq1RVj This workflow runs daily at 7AM to generate buyer-style prompts with Google Gemini, query Groq, Ope...
Want this workflow running in your stack?
Book a free 30-minute session. I'll inspect your current infrastructure, review required API credentials, and map out the deployment.