Recover failed Stripe payments with AI emails (by FlyCode)
⚙️ Automated Stripe Failed Payment Recovery (with Postmark + AI Email Generator) Recover failed Stripe subscription payments with AI-personalized emails sent via Postmark. 📝 Template Description Recover failed subscr...
Template notes
⚙️ Automated Stripe Failed Payment Recovery (with Postmark + AI Email Generator) Recover failed Stripe subscription payments with AI-personalized emails sent via Postmark.
📝 Template Description
Recover failed subscription payments automatically with Stripe, Postmark, and AI.
This workflow listens for Stripe invoice.paymentfailed webhooks, checks that the event is related to an auto-charged subscription, and then automatically sends a personalized email (generated with AI) to the customer. The email is polite, branded, but also urgent — encouraging the customer to pay quickly and avoid service cancellation.
---
🛠️ How it works 1. 📣 Webhook Listens for Stripe webhook events. Make sure to connect it in your Stripe dashboard (see setup below).
2. 🧹 Filter (Guard) Ensures the event is indeed an invoice event and filters out unrelated webhooks.
3. 💡 Code Node Extracts useful fields (firstName, lastName, customer email, amount, currency, invoice number, hosted invoice URL, subscription description, account name).