Emails a customer once when their subscription payment fails, and alerts finance in Slack if it fails a third time.

UsesGmailSlackStripe

Chase failed subscription payments

StripeStripeWhen an invoice payment fails. Save it as failed_invoice.When an invoice payment fails. Save it as failed_invoice.
Decisions & LoopsIf failed_invoice.attempt_count is 1If failed_invoice.attempt_count is 1
Yes
GmailAsk the customer to update their cardSend an email to failed_invoice.customer_email. Save it as reminded. Subject: We couldn't process your paymentHi failed_invoice.customer_name, We tried to collect failed_invoice.amount_due_display for your subscription but your card was declined. You can update your payment details and pay here: failed_invoice.hosted_invoice_url Thank you!Gmail
No
No steps
Decisions & LoopsIf failed_invoice.attempt_count is greater than or equal to 3If failed_invoice.attempt_count is greater than or equal to 3
Yes
SlackTell financeSend message to channel. Save it as escalated.:warning: failed_invoice.customer_name (failed_invoice.customer_email) has failed to pay failed_invoice.amount_due_display three times. Invoice: failed_invoice.hosted_invoice_urlSlack
No
No steps