Extract and Process Invoices with GPT-4, Google Drive, and Google Sheets — n8n Workflow
Overview
This template is a fully automated AI invoice processing workflow for n8n. It watches a Google Drive folder for new invoice PDFs, extracts all key information using an AI Agent, assigns the correct booking account, saves the renamed invoice in the right Drive folder, and updates your Google Sheets booking list.
A perfect starter template if you want to build your own AI-powered accounting automation.
What this workflow does Monitors a Google Drive folder for new invoice PDFs. Downloads and ext
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 12 nodes, connecting agent, extractfromfile, googledrive.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (12)
Google Sheets
googleSheets
Google Drive
googleDrive
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Simple Memory
n8n-nodes-langchain.memoryBufferWindow
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
extract-and-process-invoices-with-gpt-4-google-drive-and-google-sheetsfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Wolfgang Renner
@naviqo
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →