Automatic Email Invoice Archiving & Data Extraction with Gmail, Drive & AI — n8n Workflow
Overview
Automated Invoice Archiving
Automatically fetch, store, and extract key information from invoices received via email from your ISP or utility provider (electricity, gas, telecom, water, etc.).The workflow saves the invoices to Google Drive (or optionally to your personal FTP/SFTP server) and logs all invoice details into Google Sheets via AI-powered extraction.
Read: Full setup Guide
How it works
Scheduled TriggerRuns the workflow at a selected interval (e.g., every hour). You can freely a
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a scheduled trigger, running on a defined schedule.
- 2
Process
Data flows through 17 nodes, connecting agent, code, extractfromfile.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (17)
Google Sheets
googleSheets
HTTP Request
httpRequest
Google Drive
googleDrive
FTP
ftp
Gmail
gmail
Code
code
AI Agent
n8n-nodes-langchain.agent
OpenRouter Chat Model
n8n-nodes-langchain.lmChatOpenRouter
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
automatic-email-invoice-archiving-data-extraction-with-gmail-drive-aifile 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
Paolo Ronco
@paoloronco
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →