Stripe + n8n: Free Workflows & Setup Guide
What you can automate
- ✓Create invoices and payment links programmatically
- ✓Trigger workflows on successful payments
- ✓Sync subscription data with CRM and spreadsheets
- ✓Send payment failure alerts and retry notifications
- ✓Generate revenue reports and financial summaries
- ✓Manage customer records and payment methods
Credential setup
In the Stripe Dashboard → Developers → API Keys → Copy the Secret Key (starts with sk_live_ or sk_test_). For webhooks, create an endpoint in Developers → Webhooks pointing to your n8n Webhook URL. In n8n, add a Stripe credential with the secret key.
Common errors & fixes
Invalid API Key provided (401)
Check that you're using the correct key type. Live mode and test mode have different keys. The key should start with sk_live_ or sk_test_.
No such customer
Customer IDs start with 'cus_'. Make sure you're passing the customer ID, not the email or name. Test mode and live mode have separate customer databases.
Free templates using Stripe
Frequently asked questions
Should I use test mode or live mode?+
Always develop and test with test mode keys (sk_test_). Switch to live keys only when deploying to production.
How do I handle webhook verification?+
Stripe signs webhook payloads. Use the Webhook Signing Secret (from Stripe's webhook settings) to verify the signature. n8n's Stripe Trigger handles this automatically.
Can I create subscriptions?+
Yes. Create a customer, attach a payment method, then create a subscription with the desired price ID using n8n's Stripe node or HTTP Request.
Want us to set it up for you?
We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.
Get setup help