Block 1 - When clicking 'Execute workflow'
- Type / Role
- n8n-nodes-base.manualTrigger - manualTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This template allows you to automatically process scanned invoices from Google Drive, extract key information using AI, and organize the data in Google Sheets with email notifications. Overview Thi...
n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.converttofile, n8n-nodes-base.switch, n8n-nodes-base.splitinbatches, n8n-nodes-base.set, n8n-nodes-base.extractfromfile, n8n-nodes-base.googledrivetrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ovadia Rocks.
Original n8n.io sourceThis comprehensive workflow automates the entire invoice processing pipeline by monitoring a Google Drive folder for new invoice uploads, intelligently processing both PDF and image formats, extracting structured data using AI-powered information extraction, and automatically organizing the results in a Google Sheet while sending email notifications. The system handles various file formats and includes smart fallback mechanisms for challenging documents like CamScanner PDFs.
File Monitoring: The workflow continuously monitors a specified Google Drive folder for new invoice files using a trigger that checks every minute for newly created files.
File Processing: When new files are detected, the system downloads them and determines the file type (PDF or image) using a smart switch mechanism.
Text Extraction:
AI Information Extraction: Processes the extracted text through OpenAI's language model to identify and extract key invoice information including:
Data Storage: Automatically appends the extracted information to a Google Sheet with links back to the original scanned documents.
Notification: Sends formatted email notifications via Mailgun when new invoices are processed, including an HTML table summary.
Setup Google Drive: Create a dedicated folder in Google Drive for invoice uploads and note the folder ID.
Configure Credentials: Set up the following credential connections in n8n:
Update Configuration:
Test the Workflow: Use the manual trigger to process existing invoices in your folder for initial testing.
Activate: Enable the workflow to start automatic monitoring of new invoice uploads.
External APIs:
Google Services:
Setup Prerequisites:
Recommended Settings:
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Process scanned invoices with Google Drive, OCR & OpenAI to Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 24 |
| Categories | Invoice Processing, Multimodal AI |
| Author | Ovadia Rocks |
| Published | 13 Aug 2025 |
Use the JSON export at /data/workflows/7321/7321.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This template allows you to automatically process scanned invoices from Google Drive, extract key information using AI, and organize the data in Google Sheets with email notifications. Overview Thi...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Invoice Processing, Multimodal AI use case.