Block 1 - When clicking ‘Test workflow’
- Type / Role
- n8n-nodes-base.manualTrigger - manualTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
Say goodbye to manual invoice checking! This smart workflow automates your entire invoice processing pipeline using AI , OCR , and Google Sheets . ️ What This Workflow Does: 1. Reads an invo...
n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.splitout, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.readwritefile, n8n-nodes-base.extractfromfile, n8n-nodes-base.if
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dhrumil Patel.
Original n8n.io sourceThis smart workflow automates your entire invoice processing pipeline using AI, OCR, and Google Sheets.
📥 1. Reads an invoice PDF — Select a local PDF invoice from your machine.
🔍 2. Extracts raw text using OCR — Converts scanned or digital PDFs into readable text.
🧠 3. AI Agent processes the text — Transforms messy raw text into clean JSON using natural language understanding.
🧱 4. Structures and refines the JSON — Converts AI output into a structured, usable format.
🔄 5. Splits item-wise data — Extracts individual invoice line items with all details.
🆔 6. Generates unique keys — Creates a unique identifier for each item for tracking.
📊 7. Updates Google Sheet — Adds extracted items to your designated sheet automatically.
📂 8. Fetches master item data — Loads your internal product master to validate against.
✅ 9. Validates item name & cost — Compares extracted items with your official records to verify accuracy.
📌 10. Updates results per item — Marks each item as Valid or Invalid in the sheet based on matching.
Perfect for businesses, freelancers, or operations teams who receive invoices and want to automate validation, detect billing errors, and log everything seamlessly in Google Sheets — all using the power of AI + n8n.
> 🔁 Fast. Accurate. Zero manual work.
#OCR #AI #Invoices #Automation.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Invoice processor & validator with OCR, AI & Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 22 |
| Categories | Invoice Processing, AI Summarization |
| Author | Dhrumil Patel |
| Published | 20 May 2025 |
Use the JSON export at /data/workflows/4247/4247.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Say goodbye to manual invoice checking! This smart workflow automates your entire invoice processing pipeline using AI , OCR , and Google Sheets . ️ What This Workflow Does: 1. Reads an invo...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Invoice Processing, AI Summarization use case.