Personalized ThriveCart failed payment recovery playbook
When a ThriveCart subscription payment fails, draft a warm, personalized recovery email and alert the revenue channel with full customer context.
Build an agent workflow that runs a personalized dunning playbook every time a ThriveCart subscription payment fails. The goal is to replace the generic provider dunning email with a warm, human-reviewed recovery touch, and to give the revenue team full context in Slack so they can hit send fast.
Trigger: a ThriveCart webhook for subscription_payment_failed events. During setup, make sure a Create Event Subscription is in place in ThriveCart so the webhook actually reaches this workflow.
When the webhook fires, the agent should:
1. Read the failed charge details from the webhook payload, including the customer email, the product/subscription that failed, the failure reason if present, and the card-update link ThriveCart provides so the customer can fix their payment method.
2. Call ThriveCart Get Customer using the customer's email to pull their full purchase history and lifetime value. Use this to reason about who this person is: a long-time multi-product customer, a recent buyer still in their first window, or a one-off bundle holder.
3. Use Gmail Create a Draft to write a warm, personalized recovery email to the customer. The draft must reference what they actually bought (by name), acknowledge their relationship if they are a long-time customer, and include the card-update link from the webhook payload as the clear call to action. Tone is friendly and human, not transactional. Do not auto-send. Drafts only.
4. Use Slack Send a Message to post an alert to the revenue channel. The message should include: the customer's name and email, the failed product and amount, the failure reason if known, a one-line summary of their history and lifetime value, a callout if they look like a VIP (high lifetime spend or multiple products), and a link to open the Gmail draft so a human can review and send.
Important constraints: the agent must never auto-send the recovery email. It always stops at a draft. The Slack post is what hands the work off to a human. If ThriveCart Get Customer returns nothing usable, draft a shorter, lighter recovery note focused only on the failed item and say so in the Slack summary.
Ask me for the Slack channel to post in, the Gmail account that should own the drafts, and (optional) a VIP threshold based on lifetime spend.
Additional information
What does this prompt do?
- Listens for failed subscription payments in ThriveCart and kicks off a personalized recovery the moment a charge bounces.
- Looks up the customer's full purchase history and lifetime value so the response fits the person, not a template.
- Drafts a warm, on-brand recovery email in Gmail that references what they bought and includes the card-update link.
- Posts a Slack summary to your revenue channel with the customer's story and a one-click link to the draft so a human can review and send.
What do I need to use this?
- A ThriveCart account with permission to manage webhook notifications.
- A Gmail account connected to the inbox you want recovery drafts created in.
- A Slack workspace and the channel where your revenue team watches payment events.
How can I customize it?
- Pick which Slack channel gets the alert, and tag a specific owner or group when the failure is from a high-value customer.
- Adjust the tone and length of the recovery email, or add segment-specific language for long-time customers vs. first-time buyers.
- Decide what counts as a VIP (lifetime spend threshold, number of products owned) and have the workflow flag those alerts differently.
Frequently asked questions
Will this auto-send the recovery email to the customer?
Does this replace the generic ThriveCart dunning email?
What if the customer is brand new and has no history?
How does it know it is a high-value customer?
Can I route different products or plans to different Slack channels?
Stop losing subscribers to a generic dunning email.
Connect ThriveCart, Gmail, and Slack once, and Geni turns every failed charge into a personalized recovery touch your team can send in a click.