Templates / AI auto-save Gmail receipts to Google Sheets + Google Drive

AI auto-save Gmail receipts to Google Sheets + Google Drive

Ready for 3.0

by Matt Chong | n8n Creator ✓ · 2,149 views · created 2025-06-29 · Invoice Processing, AI Summarization

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 AI workflow has 12 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI Chat Model, Gmail, Google Sheets and Google Drive.

How it runs

Trigger: On a schedule (every day at 08:00).

  1. Get Emails with Receipts (Gmail): get many
  2. Download Attachment (Gmail): get
  3. Upload File (Google Drive): uses Google Drive
  4. Get Required Fields (Edit Fields (Set)): sets 5 fields: id, threadId, textAsHtml…
  5. Extract Data from Invoice (Extract from File): extracts data from a file (pdf)
  6. Merge: merges the data from its input branches
  7. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  8. Append to Google Sheet (Google Sheets): append
  9. Mark Email as Read (Gmail): mark as read

Services it uses

OpenAI Chat ModelGmailGoogle SheetsGoogle Drive

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.

Nodes used (10)

From the author

Who is this for? This workflow is ideal for: - For freelancers, business owners, and finance teams who receive receipts via Gmail - Automatically logs expenses for tax, - bookkeeping and year-end audits What problem is this workflow solving? When tax season…

Excerpt from Matt Chong | n8n Creator'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.