Skip to content

Recover failed Stripe payments

Emails a payment link after a failed Stripe invoice payment and alerts Slack. Requires a Stripe webhook and its signing secret.

No credit card needed.

Proposed workflow

A starting brief, not a finished workflow. Review the steps and test with your accounts.

When

Each invoice.payment_failed event Stripe posts to the signed Stripe webhook.

Then

  1. Use its customer email, or the Stripe customer's; stop if none.
  2. Stop if the invoice's metadata recovery_attempt equals its attempt count; otherwise set it to the attempt count first.
  3. Gmail them a short, friendly note with the amount due in major units, currency and the hosted link to pay.
  4. As your connected user, post customer, amount and attempt to the Slack channel id you choose in setup.

Before you publish

After publishing, add a webhook endpoint with its address in Stripe and paste the endpoint’s signing secret into Whenever. Connect Gmail and Slack and choose the destination channel.

Connect the accounts it needs. AI steps can vary, so test before publishing.

Apps it connects

Related templates

  • Stripe
  • Gmail
  • Google Sheets
  • Slack

Ask cancelling Stripe subscribers why they left

When a Stripe subscription is cancelled, emails the customer your feedback survey, logs the cancellation reason in a sheet, and tells your team in Slack. After publishing, you add a Stripe webhook endpoint and paste its signing secret into Whenever.

All templates

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.