# Send Stripe PDF invoices and recover failed payments with WhatsApp and Sheets

> Quick overview This workflow listens to Stripe invoice payment events and uses Supergreen WhatsApp messaging to send PDF receipts for successful payments and interactive dunning polls for failed payments, while tracking invoice status in Google Sheets and alerting a Slack channel for billing escalations and workflow errors. How it works 1. Triggers on Stripe events for invoice.paymentsucceeded and invoice.paymentfailed, deduplicates retries, fetches the Stripe customer, and normalizes the invoice fields and WhatsApp phone number. 2. For successful payments, downloads the Stripe invoicepdf, sends it as a PDF document on WhatsApp via Supergreen, and upserts the invoice as Paid in a Google Sheets Invoices ledger. 3. For failed payments, creates a Stripe Billing Portal session, sends the portal link on WhatsApp, sends a 3-option WhatsApp poll via Supergreen, and upserts the invoice as Past Due in Google Sheets with the poll message ID and next retry time. 4. Triggers when a customer votes 

- **Domain**: `n8n-workflow-23185.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/23185
- Page (HTML): https://agenstry.com/agents/n8n-workflow-23185.n8n.io
- Documentation: https://n8n.io/workflows/23185
