Recover failed Stripe payments with friendly Gladly care

When a Stripe payment fails, we find the customer in Gladly, log the details, open a follow-up task, and send a warm note to update their payment method.

Agentic Task
GladlyStripeCustomer SupportFinanceEmail AutomationNotifications & Alerts
PromptCreate

When Stripe sends a failed-charge webhook event, act as our dunning care agent and turn a billing failure into proactive, on-brand customer care inside Gladly. First confirm the event is a genuine payment failure. Only proceed for real declined charges: skip $0 authorization checks, skip disputes and chargebacks, and ignore anything that is not an actual failed payment.

Take the customer's email address from the Stripe event and look them up in Gladly with Find Customers. Email is unique per customer in Gladly, so a match returns a single profile. If no matching Gladly customer exists, stop and do nothing: do not create a new customer, note, task, or email.

If a matching customer exists, add an internal note to their timeline with Add Conversation Note. Summarize the failed payment for the support team: the amount and currency, the decline reason, and the related invoice reference. Keep it factual and internal only, and never include full card details. At most include the card brand and last four digits if Stripe provides them.

Create a follow-up task for the support team with Create Task so an agent can own the recovery. Give it a clear title that references the customer and the failed payment, and mention that the customer has already been emailed to update their payment method.

Send a friendly, personalized outbound email to the customer with Send Email inviting them to update their payment method. Keep it empathetic and non-alarming: acknowledge that a recent payment did not go through, reassure them that it happens and is easy to fix, and give one clear, calm next step to update their billing details. Address the customer by name and reference the affected amount, but never mention card details. Gladly's Send Email is a non-routable, non-searchable outbound message, so make the email self-contained rather than expecting a threaded reply.

Example output

Subject: A quick note about your recent payment Hi Jordan, We tried to process your recent payment of $49.00 and it did not go through this time. No worries at all, this happens now and then and is usually a quick fix. Whenever you have a moment, you can update your payment details and we will take care of the rest. If anything looks off or you have any questions, just reply and our team is happy to help. Thanks for being with us, The Acme Support Team

What does this prompt do?

  • Watches for failed payments in Stripe and only acts on real declines, skipping $0 authorization checks, disputes, and chargebacks.
  • Finds the matching customer in Gladly by their email so every update lands on the right profile.
  • Logs an internal note summarizing what failed (amount, decline reason, and invoice reference) and opens a follow-up task for your support team.
  • Sends the customer a friendly, personalized email inviting them to update their payment method, without ever mentioning card details.

What do I need to use this?

  • A Stripe account that sends payment event notifications.
  • A Gladly account with API access for your support team.
  • Customer emails in Gladly that match the email on the Stripe payment.

How can I customize it?

  • Change the wording and tone of the customer email to match your brand voice.
  • Adjust what counts as a genuine failure, for example ignoring very small amounts or specific decline reasons.
  • Decide who the follow-up task is assigned to and how it is titled.

FAQs

Will the customer see the internal note?
No. The note is added to their Gladly timeline for your team's eyes only. Customers just receive the friendly outreach email.
Does it charge the customer again automatically?
No. It only invites the customer to update their payment method. Any new charge happens through your normal billing once they update their details.
Will it contact people over $0 authorizations or disputes?
No. It only acts on genuine declined payments and skips $0 authorization checks, disputes, and chargebacks.
What happens if the customer is not in Gladly?
If no matching customer is found by email, the workflow stops and does nothing, so you will not get stray notes, tasks, or emails.
Are card details ever included?
No. Full card numbers are never included anywhere. The internal note sticks to the amount, decline reason, and invoice reference.

Related templates

Consolidate weekly Stripe revenue and separate growth from FX

Every Monday, turn last week's Stripe payments in every currency into one home currency total and show what was real growth versus exchange rates.

Open Exchange Rates
Stripe
Google Sheets
+1
Agentic Task
Reconcile Stripe payouts against your Mercury deposits

Every weekday morning, check that every Stripe payout actually landed in your Mercury account, and hear about it only when one did not.

Stripe
Mercury
Slack Bot
Agentic Task
Rescue failed Stripe payments with a Keap recovery play

When a Stripe payment fails, tag the customer in Keap, log the reason, open a 48 hour follow up task, and send a friendly card update email.

Stripe
Keap
Slack Bot
Agentic Task
VIP concierge follow-ups in Gladly for big Shopify orders

When a big order lands in Shopify, we pull the customer's Gladly support history, draft a concierge follow-up task, and alert your VIP channel in Slack.

Shopify
Gladly
Slack Bot
Agentic Task
Morning Gladly support task digest posted to Slack

Every weekday morning, get a short, prioritized Slack rundown of open Gladly follow-up tasks, most overdue first, so your support team knows what to tackle.

Gladly
Slack Bot
Agentic Task
Keep Gladly customers in sync with new HubSpot contacts

Every time you add a contact in HubSpot, we automatically create or update their Gladly profile so support always sees up-to-date customer details.

Gladly
HubSpot
Deterministic Code

Turn failed payments into on-brand customer care.

Let your support team recover revenue with a warm, personal touch instead of a cold billing notice.