Extract invoice data into Google Sheets with LDX hub AnalyzeDoc Gemini
UnknownWhat this workflow does
This workflow has 5 nodes and runs when someone submits an n8n form (“Invoice → Google Sheets”). Along the way it connects Google Sheets and Ldxhub (community).
How it runs
Trigger: When someone submits an n8n form (“Invoice → Google Sheets”).
- AnalyzeDoc: Extract Invoice Fields (Ldx Hub): work with analyze doc
- Parse Extracted JSON (Extract from File): extracts data from a file (from json)
- Flatten for Sheets (Code): runs custom JavaScript code
- Append Row to Google Sheets (Google Sheets): append
Services it uses
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-ldxhub is verified or supports 3.0 (used in AnalyzeDoc: Extract Invoice Fields).
Nodes used (5)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Ldx Hub
n8n-nodes-ldxhub.ldxHub - Extract from File
n8n-nodes-base.extractFromFile - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code
From the author
Quick overview This workflow collects an invoice PDF or image through an n8n form, uses LDX hub AnalyzeDoc (Gemini) to extract key invoice fields as JSON, and appends the results as a new row in Google Sheets. How it works 1. Receives an invoice file upload…