Stripe Integration
Connect Stripe to process payment events, manage subscriptions, create invoices, and automate billing workflows.
Available triggers
| Trigger | When it fires |
|---|---|
| Charge Succeeded | A payment completes successfully |
| Charge Failed | A payment attempt fails |
| Invoice Created | A new invoice is generated |
| Invoice Payment Failed | An invoice payment attempt fails |
| Customer Created | A new customer is added |
| Subscription Created | A new subscription starts |
| Subscription Updated | A subscription changes (upgrade/downgrade) |
| Subscription Cancelled | A subscription is cancelled |
Available actions
| Action | What it does |
|---|---|
| Create Customer | Add a new Stripe customer |
| Get Customer | Retrieve customer details |
| Create Invoice | Generate a new invoice |
| Create Charge | Process a one-time payment |
| Update Subscription | Modify a subscription |
| Cancel Subscription | Cancel a subscription |
| Create Refund | Issue a refund |
Setup
- App Authorizations → Stripe
- Enter your Stripe API key (from Stripe Dashboard → Developers → API Keys)
- Use test mode keys for development, live keys for production
Common patterns
Payment confirmation
Stripe Trigger (charge.succeeded) →
Send Email (receipt to customer) →
Update CRM Record (mark as paid) →
Send Slack (#revenue, "New payment: ${{amount}}")
Failed payment recovery
Stripe Trigger (charge.failed) →
Send Email (payment failed, update card) →
Create Task (follow up in 3 days) →
Log (payment failure details)
Subscription lifecycle
Stripe Trigger (subscription.cancelled) →
Send Email (we're sorry to see you go + feedback survey) →
Update CRM (mark as churned) →
Send Slack (#churn-alerts)
Warning
Always use Stripe test mode API keys during development. Live keys process real payments. Switch to live keys only after thorough testing.