Generate Stripe invoice PDFs with PDFops, S3, Gmail, Sheets, and Slack
UnknownWhat this workflow does
This workflow has 12 nodes and runs on Stripe events (payment intent.succeeded). Along the way it connects Stripe, AWS S3, Gmail and Google Sheets and 2 more.
How it runs
Trigger: On Stripe events (payment intent.succeeded).
- Set Invoice Defaults (Edit Fields (Set)): sets 7 fields: companyName, invoicePrefix, taxRate…
- Has Billable Amount? (If): checks a condition and branches into true / false
- Fetch Stripe Customer (Stripe): get (customer)
- Build Invoice Payload (Code): runs custom JavaScript code
- Pdfops: invoice
- Alert Billing Channel (Slack): post (message)
- Archive to S (AWS S3): upload (file)
- Has Customer Email? (If): checks a condition and branches into true / false
- Log to Invoice Ledger (Google Sheets): append
- Email Invoice to Customer (Gmail): send (message)
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-pdfops is verified or supports 3.0 (used in PDFops Generate Invoice).
Nodes used (11)
- Stripe Trigger
n8n-nodes-base.stripeTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Stripe
n8n-nodes-base.stripe - Code
n8n-nodes-base.code - Pdfops
n8n-nodes-pdfops.pdfops - AWS S3
n8n-nodes-base.awsS3 - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow listens for successful Stripe payments, generates an invoice PDF with PDFops (handling zero-decimal currencies), archives the PDF to Amazon S3, emails it to the customer via Gmail when possible, logs the transaction to Google…