Templates / Track and log receipt expenses in Google Sheets with Gmail, Drive, and Claude

Track and log receipt expenses in Google Sheets with Gmail, Drive, and Claude

Ready for 3.0

by Rahn Brosh | Kitebolt ✓ · 21 views · created 2026-08-01 · Document Extraction, 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 17 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Google Drive, Anthropic Chat Model and Google Sheets.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Normalize Email (Code): runs custom JavaScript code
  2. Download Receipt File (Google Drive): download
  3. Has Attachment? (If): checks a condition and branches into true / false
  4. Normalize Upload (Code): runs custom JavaScript code
  5. Archive Receipt File (Google Drive): uses Google Drive
  6. Route by Type (Switch): routes items into 3 branches
  7. Use File Link (Edit Fields (Set)): sets 7 fields: source, kind, subject…
  8. Extract PDF Text (Extract from File): extracts data from a file (pdf)
  9. Extract Receipt (Vision) (Basic LLM Chain): sends a prompt to an LLM, with model: Claude (Vision); output parser: Receipt Fields Parser
  10. Extract Receipt Data (Information Extractor): extracts structured fields from text with AI, with model: Claude (Text)

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

Services it uses

GmailGoogle DriveAnthropic Chat ModelGoogle 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.

Nodes used (13)

From the author

Quick Overview This workflow monitors Gmail and a Google Drive folder for receipts, uses Anthropic Claude to extract expense details from email bodies, PDFs, and images, archives attachments to Google Drive, and appends validated expenses to a Google Sheets…

Excerpt from Rahn Brosh | Kitebolt'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.