Templates / Approve employee expense receipts with Gmail, Google Sheets, and OpenAI

Approve employee expense receipts with Gmail, Google Sheets, and OpenAI

Ready for 3.0

by Luca ✓ · 12 views · created 2026-09-28 · 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 49 nodes and runs on Gmail events (plus 2 other triggers). Along the way it connects Gmail, Google Sheets, OpenAI and OpenAI Chat Model.

How it runs

Trigger: On Gmail events (plus 2 other triggers).

  1. Set Expense Policy (Edit Fields (Set)): sets or maps fields
  2. Set Payout Settings (Edit Fields (Set)): sets or maps fields
  3. Alert on Workflow Failure (Gmail): uses Gmail
  4. Read Employees from Sheets (Google Sheets): uses Google Sheets
  5. Read Claims for Payout (Google Sheets): uses Google Sheets
  6. Aggregate: combines items into one
  7. Aggregate: combines items into one
  8. Read Policy from Sheets (Google Sheets): uses Google Sheets
  9. Read Employees for Payout (Google Sheets): uses Google Sheets
  10. Aggregate: combines items into one

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

Services it uses

GmailGoogle SheetsOpenAIOpenAI Chat Model

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) (When Receipts Are Emailed).

Nodes used (17)

From the author

Quick Overview This workflow processes expense receipts emailed to Gmail, extracts receipt data with OpenAI, checks it against rules and historical data stored in Google Sheets, and routes claims for manager/finance approval, then runs a weekly payout with…

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