The flow
Starts it 1Logic 8Service 12
The steps in the order they run, from what starts it.
- 1Stripe (Trigger Payment Succeeded)Stripe triggerStarts it
- 2Code (Get payment data, amount & currency)CodeLogic
- 3HTTPS (Get Line Items)Http RequestService
- 4IfIfLogic
- 5Get a customer1StripeService
- 6HTTPS (Get all Invoices)Http RequestService
- 7Code (Format Invoice Data)CodeLogic
- 8Code (payment summary)CodeLogic
- 9HTTPS (Create Stripe Invoice)Http RequestService
- 10List InvoicesSplit OutLogic
- 11Email (Send Invoice)GmailService
- 12HTTPS (Download PDF)Http RequestService
- 13Stripe (Get a customer)StripeService
- 14HTTPS (Finalize Invoice)Http RequestService
- 15Loop Over ItemsSplit In BatchesLogic
- 16Rapiwa (Notification Admin by WhatsApp)RapiwaService
- 17Invoice Save to Google DriveGoogle DriveService
- 18HTTPS (Generate Payment Links)Http RequestService
- 19Code (Format Data for Sheets)CodeLogic
- 20We do only Invoice ObjectsIfLogic
- 21HTTPS (Download Invoice PDF from Stripe)Http RequestService
How it's built
- Starts on
- An event in a connected app
- Steps
- 21, with 2 branches, 1 loop or waits
- Size
- Large: read it before trusting it with anything live
- Connects to
- Gmail, Google Drive, Stripe
- Model
- None. This is plumbing, not judgement
Questions
What does it need to run?
An n8n account, plus your own Gmail, Google Drive and Stripe accounts. You connect your own accounts after importing it; none are included.
What starts it?
It starts on an event in a connected app.
Does it use AI?
No. Every step is fixed logic or a call to a service, so it does the same thing every time.
How long does it take to set up?
Take your time. At 21 steps it is large: read it before trusting it with anything live.
How do I import it?
Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.
Before you run itNothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.