Templates / Archive and log invoices from Gmail with SFTP and Google Sheets

Archive and log invoices from Gmail with SFTP and Google Sheets

Ready for 3.0

by Paolo Ronco ✓ · 0 views · created 2026-10-23 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 27 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Gmail and Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Fetch Invoice Emails (Gmail): get many
  2. Filter: keeps only the items that match a condition
  3. Normalize PDF Attachments (Code): runs custom JavaScript code
  4. Extract Text from PDF (Extract from File): extracts data from a file (pdf)
  5. Parse Invoice Details (Code): runs custom JavaScript code
  6. Filter: keeps only the items that match a condition
  7. Filter: keeps only the items that match a condition
  8. Filter: keeps only the items that match a condition
  9. Filter: keeps only the items that match a condition
  10. Upload Utility Invoices SFTP (FTP): upload

…plus 11 more steps. See the full node list below.

Services it uses

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

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (9)

From the author

Quick overview Automatically collect PDF invoices from Gmail, identify supported providers, extract and validate invoice data without AI, archive PDFs via SFTP, and update Google Sheets. Supports Octopus Energy, Dimensione, Google Cloud, and Hetzner, with…

Excerpt from Paolo Ronco'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.