Automatic Gmail invoice PDF upload to Google Drive with spreadsheet logging
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 6 nodes and runs on Gmail events. Along the way it connects Gmail, Google Drive and Google Sheets.
How it runs
Trigger: On Gmail events.
- Has PDF Attachments? (Filter): keeps only the items that match a condition
- If: checks a condition and branches into true / false
- Upload to Google Drive (Google Drive): uses Google Drive
- Log to Google Sheets (Google Sheets): append or update
- Mark Email as Read (Gmail): mark as read
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Nodes used (6)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Filter
n8n-nodes-base.filter - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if
From the author
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…