⚡ Only 300 spots remaining • Closes in 2d 14h 32m
Automate involuntary churn prevention. When an invoice payment fails, this workflow automatically dispatches a polite email to the client using Gmail or SendGrid, containing their personalized Stripe Customer Portal url to update card details.
This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.
This is an exclusive blueprint. Copy the JSON below to use it.
PRO TIP
Always test your workflow in a development environment before pushing to production.
{
"nodes": [
{
"parameters": {
"path": "payment-failed-hook"
},
"name": "Stripe Payment Failed",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
100,
300
]
},
{
"parameters": {
"toEmail": "={{$json.customer_email}}",
"subject": "Failed Payment Alert: Please Update Card Details",
"html": "We couldn't process payment for invoice {{$json.number}}. Please update your details here: <a href='{{$json.hosted_invoice_url}}'>Update payment method</a>"
},
"name": "Send Invoice Email",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2,
"position": [
300,
300
]
}
],
"connections": {
"Stripe Payment Failed": {
"main": [
[
{
"node": "Send Invoice Email",
"type": "main",
"index": 0
}
]
]
}
}
}To use this, copy the JSON above and paste it directly onto your n8n canvas.
Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.