Automatically notify customers of failed Stripe payments
This template watches Stripe for failed payment events, reads customer email, amount, and currency, and sends an alert through the SendGrid mail API from a JavaScript node. Connect Stripe, keep the trigger on failed payments, and put the SendGrid API key in that JavaScript node. Put the Stripe key on the Stripe connection.