# Save n8n Cloud invoices received in Gmail in Google Drive

Use for free

1 item

## Setup

1. Setup your **Gmail** and **Google Drive** credentials
2. Create a free account at [https://pdflayer.com/](https://pdflayer.com/)
3. Insert your **pdflayer** API key into the `Setup` node
4. Insert the URL to the wanted drive folder into the setup node (make sure to remove everything after the `?`)

## Adjust me

You can adjust this part and save the file wherever you want. E.g. you could save it in your local file system by using the `Read/Write Files from Disk` node or save it in Dropbox by using the `Dropbox` node. You could even email the PDF to the right person instead.

## Who this is for

This template is for everyone that wants to download their n8n Cloud invoices automatically as a PDF instead of downloading them manually.

## How it works

This workflow checks your Gmail inbox for new n8n invoice emails from n8n's payment provider Paddle. Once it finds something, it converts the URL into a PDF using pdflayer and saves it in Google Drive.

## How to adjust it to your need

Instead of saving the PDF in Google drive, you could also save it in your local system, any other storage provider or send the PDF automatically to the right person in your company.
