Financial Document Extraction from Gmail to Google Sheets — n8n Workflow
Overview
Overview Manual financial reconciliation is tedious and prone to error. This workflow functions as an AI Financial Controller, automatically monitoring your inbox for invoices, receipts, and bills, extracting the data using OCR, and syncing it to Google Sheets for approval.
Unlike simple scrapers, this workflow uses a "Guardrail" AI agent to filter out non-financial emails (like newsletters) before they are processed, ensuring only actual transactions are recorded.
Who is it for? Finance Teams
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
Gmail
gmail
Code
code
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Google Gemini Chat Model
n8n-nodes-langchain.lmChatGoogleGemini
Guardrails
n8n-nodes-langchain.guardrails
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
financial-document-extraction-from-gmail-to-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
Gtaras
@tarasidis
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →