Extract invoice data from scanned PDFs to Google Sheets with Sarvam and Gemini
Documents & extraction workflow for n8n with 16 active steps. Starts with n8n Form Trigger. Uses Google Gemini. Integrations include Google Gemini, Google Sheets.
What it does
16 active nodes · Starts with n8n Form Trigger.
Steps in the template include:
- Get OCR Result (HTTP Request)
- Wait (Wait)
- Information Extractor (Information Extractor)
- Google Gemini Chat Model (Google Gemini Chat Model)
Nodes and integrations
- HTTP Request ×7
- Wait
- Information Extractor
- Google Gemini Chat Model
- n8n Form Trigger
- Merge
- Compression
- Extract from File
- Code
- Google Sheets
See the author’s step names
- Get OCR Result (HTTP Request)
- Wait (Wait)
- Information Extractor (Information Extractor)
- Google Gemini Chat Model (Google Gemini Chat Model)
- Trigger – Invoice upload (PDF) (n8n Form Trigger)
- Create Sarvam invoice OCR job (HTTP Request)
- Generate Sarvam presigned upload URL (HTTP Request)
- Merge job details with upload URL (Merge)
- Upload invoice PDF to Sarvam (HTTP Request)
- Start Sarvam invoice OCR (HTTP Request)
- Check Sarvam OCR status (HTTP Request)
- Download Sarvam OCR output ZIP (HTTP Request)
- Decompress OCR result file (Compression)
- Extract invoice OCR JSON (Extract from File)
- Prepare invoice text for LLM (Code)
- Append extracted invoice data to Google Sheets (Google Sheets)
Accounts and credentials
- Google Gemini access
- Google Sheets
Check the HTTP request steps for any additional service accounts or API keys.
AI models and swaps
Google Gemini · Chat
Model ID not specified in the template in Google Gemini Chat Model. Potentially swappable with a compatible n8n chat model node. Test the replacement with the next step.
Resource information
- Credit basis
- Author listed by n8n
- Pricing
- Paid template listed by n8n
- License
- Not specified
- Last record update
- Nov 5, 2026
