Templates / Extract receipts from Gmail with Claude and log expenses to Google Sheets

Extract receipts from Gmail with Claude and log expenses to Google Sheets

Ready for 3.0

by Nocode Expert ✓ · 92 views · created 2026-07-22 · 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 workflow has 8 nodes and runs on a schedule (every day at 09:00). Along the way it connects Gmail and Google Sheets. It also calls api.anthropic.com over HTTP.

How it runs

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

  1. Set config: search & categories (Edit Fields (Set)): sets 4 fields: gmailQuery, defaultCurrency, categories…
  2. Search receipt emails (Gmail): get many
  3. Prepare email records (Code): runs custom JavaScript code
  4. Build AI extract request (Code): runs custom JavaScript code
  5. Extract receipts with Claude (HTTP Request): calls api.anthropic.com (POST)
  6. Build expense rows (Code): runs custom JavaScript code
  7. Append to expense sheet (Google Sheets): append

Services it uses

GmailGoogle Sheets

HTTP calls to: api.anthropic.com

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 (6)

From the author

Quick Overview This workflow runs daily to search Gmail for receipt and invoice emails, uses Anthropic Claude to extract structured expense fields, and appends the confirmed expenses to a Google Sheets log. How it works 1. Runs every day on a schedule. 2.…

Excerpt from Nocode Expert'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.