Process email invoices with OCR, GPT-4, Slack, QuickBooks and Google Sheets — n8n Workflow
Overview
Overview This workflow automates invoice processing directly from your email inbox.
It captures invoice attachments, extracts structured data using OCR and AI, validates totals, and securely processes invoices. If issues are detected, it routes them for human review. Approved invoices are recorded in QuickBooks and logged for auditing.
How It Works
Email Trigger Monitors a Gmail label and downloads invoice attachments automatically.
Configuration & Metadata Sets OCR API, thresholds, an
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 20 nodes, connecting agent, code, extractfromfile.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (20)
Google Sheets
googleSheets
HTTP Request
httpRequest
Slack
slack
QuickBooks Online
quickbooks
Code
code
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
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
process-email-invoices-with-ocr-gpt-4-slack-quickbooks-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
ResilNext
@rnair1996
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →