# Send Stripe payment invoices with Gmail and Google Drive: n8n workflow

> Started by an event in a connected app, and works across Gmail, Google Drive and Stripe. 21 steps, 2 branches, 1 loop or waits: large, and worth reading...

Source: https://millionrounds.com/workflow/send-stripe-payment-invoices-with-gmail-and-google-drive (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Money admin](https://millionrounds.com/workflows?category=Money+admin#library)

# Send Stripe payment invoices with Gmail and Google Drive

Started by an event in a connected app, and works across Gmail, Google Drive and Stripe. 21 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsend-stripe-payment-invoices-with-gmail-and-google-drive)

**21 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**1** Loop or waits

**3** Services it connects to

## The flow

Starts it 1 Logic 8 Service 12

The steps in the order they run, from what starts it.

- 1 **Stripe (Trigger Payment Succeeded)** Stripe trigger *Starts it*
- 2 **Code (Get payment data, amount & currency)** Code *Logic*
- 3 **HTTPS (Get Line Items)** Http Request *Service*
- 4 **If** If *Logic*
- 5 **Get a customer1** Stripe *Service*
- 6 **HTTPS (Get all Invoices)** Http Request *Service*
- 7 **Code (Format Invoice Data)** Code *Logic*
- 8 **Code (payment summary)** Code *Logic*
- 9 **HTTPS (Create Stripe Invoice)** Http Request *Service*
- 10 **List Invoices** Split Out *Logic*
- 11 **Email (Send Invoice)** Gmail *Service*
- 12 **HTTPS (Download PDF)** Http Request *Service*
- 13 **Stripe (Get a customer)** Stripe *Service*
- 14 **HTTPS (Finalize Invoice)** Http Request *Service*
- 15 **Loop Over Items** Split In Batches *Logic*
- 16 **Rapiwa (Notification Admin by WhatsApp)** Rapiwa *Service*
- 17 **Invoice Save to Google Drive** Google Drive *Service*
- 18 **HTTPS (Generate Payment Links)** Http Request *Service*
- 19 **Code (Format Data for Sheets)** Code *Logic*
- 20 **We do only Invoice Objects** If *Logic*
- 21 **HTTPS (Download Invoice PDF from Stripe)** Http Request *Service*

## 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 it**

Nothing 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsend-stripe-payment-invoices-with-gmail-and-google-drive)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Stripe](https://millionrounds.com/workflows?service=Stripe#library)

## Workflows like it

Also money admin, with the same services where possible, closest in size first.

- [**Auto invoice & receipt OCR to Google Sheets – Drive, Gmail** 21 steps · Gmail, Google Drive](https://millionrounds.com/workflow/auto-invoice-and-receipt-ocr-to-google-sheets-drive-gmail)
- [**Send tailored Upwork job proposals with Gemini and Slack** 21 steps · Gmail, Google Drive](https://millionrounds.com/workflow/send-tailored-upwork-job-proposals-with-gemini-and-slack)
- [**Automate invoice processing with Google Drive and Sheets** 21 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-invoice-processing-with-google-drive-and-sheets)
- [**Consolidate Stripe, PayPal, Shopify and bank revenue** 21 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/consolidate-stripe-paypal-shopify-and-bank-revenue)
- [**Expense organizer with Google Drive and Gemini** 21 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/expense-organizer-with-google-drive-and-gemini)
- [**Automate invoice processing with Gmail and OCR.space** 20 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-invoice-processing-with-gmail-and-ocr-space)
