AI invoice automation: PDF to Google Sheets with n8n
Built an n8n workflow that reads uploaded PDF invoices with GPT-4.1 and appends extracted fields to Google Sheets.
- Used for
- Work
- Skill needed
- No code
- Shown in video
- Partial demo
- Summary based on
- Transcript
n8n Invoice Automation for Beginners | AI + Google Sheets
Published Nov 3, 202615:27685 views17 likes
What they made
Uploaded PDF invoice was parsed and its fields appended as a new row in Google Sheets.
13:50How they did it
- Human1:25
Created a Google Sheets with invoice columns and started a new n8n workflow named AI invoice automation.
Stated in video · Google Sheets - Human2:31
Added a Form trigger with a required file field labeled invoice.
Stated in video · n8n - Human3:55
Generated a sample invoice with ChatGPT and uploaded it through the form.
Stated in video · ChatGPT - Human5:12
Added an Extract from File node to convert the PDF binary into text.
Stated in video · n8n - Human6:47
Configured an Information Extractor node with schema attributes for invoice number, sender, email, address, total, currency, invoice date and due date.
Stated in video · n8n - AI10:51
Attached GPT-4.1 as the model and ran the extractor, which correctly read the total as 6376.5 USD.
Stated in video · OpenAI GPT-4.1 - Human11:42
Added a Google Sheets Append Row node and mapped extracted fields to columns.
Stated in video · Google Sheets - Human14:07
Published the workflow and used the production form URL to run the end-to-end demo.
Stated in video · n8n
What you can reuse
- Separate currency code from the numeric total so the amount stays usable for calculations.
- Keep the total as a number without symbols or thousands separators for clean spreadsheet entry.
- This approach works on text-based PDFs; scanned or image invoices need an extra OCR step.
Trade-offs
- Only handles text-based PDF invoices; scanned or image invoices require an additional OCR step.
- Uses n8n Cloud for beginners; local or VPS hosting is only mentioned as a future topic.
AI-generated case summaries can contain mistakes. Report an error



