Extract invoice data from PDFs with Claude and a Google Sheets review queue
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when someone submits an n8n form (“Invoice Intake”). Along the way it connects Google Sheets. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Invoice Intake”).
- PDF to Text (Extract from File): extracts data from a file (pdf)
- Claude Extract Fields (HTTP Request): calls api.anthropic.com (POST)
- Validate and Score (Code): runs custom JavaScript code
- Confidence Check (If): checks a condition and branches into true / false
- Log Extracted (Google Sheets): append
- Log Review Queue (Google Sheets): append
Services it uses
Other Anthropic + Google Sheets templates (261)
HTTP calls to: api.anthropic.com
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.
Nodes used (6)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Extract from File
n8n-nodes-base.extractFromFile - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick Overview This workflow collects invoice PDFs via an n8n form, converts them to text, extracts invoice fields using the Anthropic Claude API, and then logs high-confidence results to Google Sheets while routing low-confidence or incomplete extractions to…