Templates / Automatic Gmail invoice PDF upload to Google Drive with spreadsheet logging

Automatic Gmail invoice PDF upload to Google Drive with spreadsheet logging

Ready for 3.0

by Toshiya Minami ✓ · 1,072 views · created 2025-10-14 · Invoice Processing

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

  1. Has PDF Attachments? (Filter): keeps only the items that match a condition
  2. If: checks a condition and branches into true / false
  3. Upload to Google Drive (Google Drive): uses Google Drive
  4. Log to Google Sheets (Google Sheets): append or update
  5. Mark Email as Read (Gmail): mark as read

Services it uses

GmailGoogle DriveGoogle Sheets

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)

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…

Excerpt from Toshiya Minami's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.