Templates / Automated invoice data extraction with LlamaParse, Gemini 2.5 & Google Sheets

Automated invoice data extraction with LlamaParse, Gemini 2.5 & Google Sheets

Ready for 3.0

by Agentick AI ✓ · 1,242 views · created 2025-07-07 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 17 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets and Google Gemini Chat Model. It also calls api.cloud.llamaindex.ai over HTTP.

How it runs

Trigger: On Gmail events.

  1. Split Out: splits a list into separate items
  2. Email with Label Names (Merge): merges the data from its input branches
  3. Get Labels Names (Gmail): get (label)
  4. Should Process Email? (If): checks a condition and branches into true / false
  5. Combine Label Names (Aggregate): combines items into one
  6. Upload to LlamaParse (HTTP Request): calls api.cloud.llamaindex.ai (POST)
  7. Get Processing Status (HTTP Request): calls an HTTP API
  8. Is Job Ready? (Switch): routes items into 4 branches
  9. Get Parsed Invoice Data (HTTP Request): calls an HTTP API
  10. Wait: waits 1 seconds

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

Services it uses

GmailGoogle SheetsGoogle Gemini Chat Model

HTTP calls to: api.cloud.llamaindex.ai

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) (Receiving Invoices).

Nodes used (14)

From the author

This n8n template demonstrates how to automate invoice data extraction from PDF attachments received via Gmail. Using LlamaParse and Gemini LLM, this workflow parses structured fields like PO numbers, line items, tax amounts, and totals — and stores them…

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