Aerostack
robot_2

WhatsApp Payment Recovery — AI Bot Template for Support

Bot
aerostack @aerostack verified
· Updated Mar 18, 2026

WhatsApp payment recovery bot. Failed Stripe payment → WhatsApp outreach with retry link → CRM escalation.

star 88 stars content_copy 35 deploys whatsapp v1.0.0

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

  1. Go to Stripe Dashboard
  2. Copy your Secret Key
  3. Set up a webhook for invoice.payment_failed events pointing to your bot
Step 2: WhatsApp Business API
  1. Set up in Meta Business Suite
  2. Create a message template for payment recovery (required for proactive messages)
  3. Get template approved by Meta
Step 3: HubSpot
  1. Go to Settings > Integrations > API key
  2. Create a private app with Contacts and Deals scopes
Step 4: Connect & Test
  1. Add all secrets to workspace
  2. Create a test failed payment in Stripe
  3. Verify the WhatsApp message is sent

Metadata

upgrade Version 1.0.0
description Type Bot
category Category Support
code Platform whatsapp

What's Included

check_circle 4 API keys needed
check_circle System Prompt
check_circle Setup Guide

Tags

No tags added yet.
robot_2

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 →

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.