Stripe Automation with n8n: Payment Alerts, Logs & Dunning (2026)

Every Stripe payment is an event you can act on — thank the customer, log the revenue, kick off onboarding, or rescue a failed charge. n8n turns those Stripe events into automated workflows without a line of code. Here are the ones worth building first.

Stripe Automation with n8n: Payment Alerts, Logs & Dunning (2026)

How Stripe automation works in n8n

n8n has a Stripe Trigger that fires on Stripe events like `payment_intent.succeeded`, `charge.refunded` or `customer.subscription.deleted`. You point Stripe's webhook at n8n once, then build whatever should happen next — visually, across all your other tools.

1. Instant payment alerts

Post every successful payment to Slack, Telegram or Discord the moment it lands, with the amount and customer email. Nothing motivates a team like a live feed of revenue.

2. Live revenue log in Google Sheets

Append each payment to Google Sheets or Airtable for a searchable, shareable record — amount, currency, date and payment ID — without exporting CSVs. This is one of our most-used recipes for a reason.

3. Failed-payment recovery (dunning)

Trigger on `invoice.payment_failed`, then email the customer a friendly update-your-card link via Gmail and alert your team. Automated dunning recovers revenue that would otherwise silently churn.

4. New-customer onboarding

When a subscription starts, add the customer to your Mailchimp list, create a HubSpot contact, and send a welcome sequence — all in one workflow triggered by the Stripe event.

More Stripe workflows

  • Refund issued → log it and notify support
  • High-value payment → personal thank-you from the founder
  • Subscription cancelled → trigger a win-back email + Slack alert
  • Daily revenue summary posted every morning

Setup basics

Add the Stripe Trigger, connect your Stripe API key, choose the events you care about, and paste the webhook URL n8n gives you into Stripe → Developers → Webhooks. Start from a working Stripe recipe to skip the setup.

Browse Stripe automations

Frequently asked questions

Do Stripe webhooks work with self-hosted n8n?

Yes, as long as your n8n instance is reachable over HTTPS. Stripe also retries failed webhook deliveries for up to three days, so occasional downtime won't lose events once your workflow is back online.

Can I automate Stripe in test mode first?

Absolutely. Use your Stripe test API key and test webhook endpoint, make a test payment, and confirm the workflow runs. Switch to live keys when you're happy — the workflow itself doesn't change.

Which Stripe event should I use for a paid order?

For one-off payments use `payment_intent.succeeded`; for subscriptions use `invoice.paid`. n8n lets you subscribe to exactly the events you need in the Stripe Trigger node.

Written by Maya Ellison

Maya has spent years automating marketing and ops stacks, and turns real playbooks into step-by-step n8n guides.