Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brew.new/llms.txt

Use this file to discover all available pages before exploring further.

Connect Stripe to Brew so subscription and payment events trigger automations. Send onboarding when a customer subscribes, recover failed payments with dunning sequences, win back churned users.

What you can do

  • Trigger automations from Stripe events. Kick off email flows when subscriptions are created, payments fail, customers cancel
  • Personalize with billing context. Reference plan, amount, and customer details inside emails
  • Recover revenue. Dunning and win-back automations fire automatically without you wiring up webhooks

Setup

In Brew, go to Integrations and click the Stripe card. You’ll be redirected to Stripe to authorize Brew to listen to events from your account. Brew never sees your Stripe API keys.
Brew only listens for events. It can’t create charges, refund payments, or modify subscriptions.

Triggering automations

Once connected, Stripe events show up as available triggers in the automation builder. Pick a Stripe event when configuring a flow’s trigger.

Supported events

Brew supports the following Stripe events as automation triggers:
  • checkout.session.async_payment_succeeded
  • checkout.session.async_payment_failed
  • checkout.session.completed
  • customer.created
  • customer.updated
  • customer.deleted
  • customer.subscription.created
  • customer.subscription.paused
  • customer.subscription.resumed
  • customer.subscription.trial_will_end
  • customer.subscription.deleted
  • invoice.paid
  • invoice.payment_failed
  • invoice.upcoming
  • quote.finalized
  • quote.accepted
  • quote.canceled
In chat, say “Send this email when a subscription is canceled” and Brew will scaffold the automation with customer.subscription.deleted pre-selected.

Common patterns

GoalStripe event
Welcome new subscribercustomer.subscription.created
Dunning for failed paymentsinvoice.payment_failed
Notify before trial endscustomer.subscription.trial_will_end
Win-back on cancelcustomer.subscription.deleted
Pre-renewal reminderinvoice.upcoming
Quote follow-upquote.finalized, quote.accepted, quote.canceled

Requirements

  • A Stripe account with admin access (needed to authorize OAuth)
  • Live mode connected for production automations; test mode is supported for testing

Need Help?

Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:

Search Documentation

Type in the “Ask any question” search bar at the top left to instantly find relevant documentation pages.

ChatGPT/Claude Integration

Click “Open in ChatGPT” at the top right of any page to analyze documentation with ChatGPT or Claude for deeper insights.