Automatic Gmail Invoice PDF Upload to Google Drive with Spreadsheet Logging — n8n Workflow
Overview
Sort invoice PDFs from Gmail to Google Drive and Google Sheets
Who’s it for
Freelancers, finance teams, and small businesses that receive invoice PDFs by email and want them automatically saved to Google Drive and logged in Google Sheets—without manual downloading or copy-pasting.
How it works / What it does
This workflow watches your Gmail inbox for unread messages that match an invoice pattern (e.g., subject:invoice filename:pdf). For each email, it checks for attachments, uploads each PDF
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 6 nodes, connecting filter, gmail, gmailtrigger.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (6)
Google Sheets
googleSheets
Google Drive
googleDrive
Gmail
gmail
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
automatic-gmail-invoice-pdf-upload-to-google-drive-with-spreadsheet-loggingfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Toshiya Minami
@minami
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →