WhatsApp Payment Recovery — AI Bot Template for Support
BotWhatsApp payment recovery bot. Failed Stripe payment → WhatsApp outreach with retry link → CRM escalation.
Template WhatsApp Payment Recovery bundles a ready-to-deploy workspace for support workflows.
Install in one click from the Aerostack dashboard or via aerostack init --template=whatsapp-payment-recovery.
What It Does
Recover failed payments through WhatsApp. When a Stripe payment fails, the bot reaches out to the customer on WhatsApp with the failure reason and a secure retry link. Follows up if unresolved and escalates to your CRM for the sales team.
What's Built In
- Automatic outreach — within minutes of a Stripe failure, the customer gets a friendly WhatsApp message
- Retry links — generates secure Stripe payment retry links sent directly in the chat
- Follow-up sequence — if payment isn't resolved within 24h, sends a follow-up message
- CRM escalation — unresolved cases after 48h are escalated to HubSpot for your team to handle
- Tone management — messages are empathetic and helpful, not aggressive or threatening
Best For
- Subscription businesses losing revenue to involuntary churn from expired cards and failed payments
- Companies in markets where WhatsApp has 90%+ open rates compared to 20% for email
- SaaS companies that want to recover failed payments without building a custom dunning flow
psychology System Prompt
The instructions that define how this bot behaves. It ships pre-configured — edit it anytime in your workspace.
You are a payment recovery assistant on WhatsApp. ## HOW YOU WORK You are triggered when a Stripe payment fails. Your job is to reach out to the customer proactively and help them resolve the payment issue. ## INITIAL OUTREACH When notified of a failed payment: 1. Look up the customer in HubSpot for context (name, plan, account age, preferred channel) 2. Send a friendly, non-alarming WhatsApp message: "Hi [Name]! We noticed your recent payment of [amount] didn't go through. This can happen for many reasons. Here's a secure link to retry: [payment_link]. Let me know if you need any help!" 3. NEVER say "your card was declined" — say "payment didn't go through" ## IF CUSTOMER RESPONDS - Answer any questions about their subscription or billing - If they want to update payment method: provide Stripe customer portal link - If they want to downgrade: explain options, process if requested - If they want to cancel: ask the reason, try to resolve, respect their decision ## ESCALATION TIMELINE - Day 0: WhatsApp message with retry link - Day 2 (if no action): Follow-up WhatsApp: "Just a friendly reminder about your payment. Your access will continue for now." - Day 5 (if no action): Send email via SendGrid with payment link - Day 7 (if no action): Create HubSpot task for sales team follow-up, mark as at-risk ## RULES - NEVER threaten service cancellation - NEVER share full card details - Be empathetic — payment failures are stressful - Always provide a way to reach a human - Track every interaction in HubSpot ## TONE - Helpful, not pushy - Understanding — "These things happen" - Professional but warm - Short WhatsApp messages, no long paragraphs
checklist Setup Guide
Setup Guide — WhatsApp Payment Recovery
Step 1: Stripe
- Go to Stripe Dashboard
- Copy your Secret Key
- Set up a webhook for
invoice.payment_failedevents pointing to your bot
Step 2: WhatsApp Business API
- Set up in Meta Business Suite
- Create a message template for payment recovery (required for proactive messages)
- Get template approved by Meta
Step 3: HubSpot
- Go to Settings > Integrations > API key
- Create a private app with Contacts and Deals scopes
Step 4: Connect & Test
- Add all secrets to workspace
- Create a test failed payment in Stripe
- Verify the WhatsApp message is sent
Metadata
What's Included
Required MCPs
MCP servers this template connects to.
Tags
Deploy this bot in minutes
WhatsApp payment recovery bot. Failed Stripe payment → WhatsApp outreach with retry link → CRM escalation.
More Support Templates
Browse Support Templates →E-Commerce Support
by @aerostack
AI customer support for e-commerce. Orders, refunds, shipping, product questions — with identity verification.
WhatsApp Order Assistant
by @aerostack
WhatsApp order assistant. Order tracking, refund processing, shipping issues — all through WhatsApp.
Slack Support Escalation
by @aerostack
Slack support escalation bot. Zendesk tickets → AI triage → knowledge base self-service → smart Slack routing.
SaaS Product Support
by @aerostack
SaaS product support bot. Subscriptions, billing, feature requests, and technical troubleshooting.
WhatsApp Healthcare Clinic
by @aerostack
WhatsApp healthcare clinic bot. Appointments, prescription reminders, follow-ups, and patient communication.
WhatsApp Insurance Claims
by @aerostack
WhatsApp insurance claims bot. Claim filing, status checks, document collection, and agent escalation.
Frequently asked questions
What recovery sequence does the WhatsApp Payment Recovery bot trigger after a Stripe failure? +
It detects the failed charge, sends a WhatsApp message with a Stripe-hosted payment retry link, tracks click and retry status, and escalates to HubSpot if the customer does not act within the configured window.
Which MCPs power the WhatsApp Payment Recovery template? +
@aerostack/mcp-whatsapp delivers the outreach messages, @aerostack/mcp-stripe generates retry links and monitors payment status, and @aerostack/mcp-hubspot logs the escalation and updates the deal stage.
How do I adjust the retry timing or message copy in the WhatsApp Payment Recovery bot? +
Set the retry delay and escalation window in the workspace agent config. Update the WhatsApp message templates in the MCP credentials panel without touching agent logic.
What type of business gets the most value from the WhatsApp Payment Recovery bot? +
Subscription businesses with a WhatsApp-native customer base suffering from involuntary churn. Requires a verified WhatsApp Business number, Stripe webhooks enabled, and a HubSpot pipeline for escalations.