Templates / Parse invoices & documents with Gemini AI, OCR, and Google Sheets integration

Parse invoices & documents with Gemini AI, OCR, and Google Sheets integration

Unknown

by WeblineIndia ✓ · 2,318 views · created 2025-08-11 · Invoice Processing, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, Google Gemini Chat Model and Tesseractjs (community).

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Check file type (Switch): routes items into 3 branches
  2. Image to Text (Tesseract Node): uses Tesseract Node
  3. PDF to Text (Extract from File): extracts data from a file (pdf)
  4. CSV to JSON (Extract from File): extracts data from a file
  5. Format data from text (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  6. Invoice data (Google Sheets): append or update
  7. Transfrom data (Code): runs custom JavaScript code
  8. Invoice Data (Google Sheets): append or update

Services it uses

Google SheetsGoogle Gemini Chat ModelTesseractjs (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-tesseractjs is verified or supports 3.0 (used in Image to Text).

Nodes used (8)

From the author

Smart Document Parser for Invoices, Logs or Sensor Reports (PDF/Image to Google Sheets) This n8n workflow automatically parses documents such as invoices, sensor logs or structured PDFs/images (including scanned docs or CSVs), extracts key fields like totals,…

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