Block 1 - personal
- Type / Role
- n8n-nodes-base.if - if
- Config choices
- Version 2.2
This workflow is provided as-is. Please review and test before using in production.
Who's it for This workflow is perfect for individuals, small businesses, or households who need to: Automatically process and categorize expense receipts Extract structured data from invoices and r...
n8n-nodes-base.if, n8n-nodes-base.formtrigger, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.googledrive, n8n-nodes-base.code
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Daniel Rosehill.
Original n8n.io sourceThis workflow is perfect for individuals, small businesses, or households who need to:
This comprehensive expense processing workflow combines AI-powered document analysis with automated file management and notifications. Here's the complete flow:
Form Submission: Users submit expenses through a web form with receipt upload and category selection (Personal, Business, or Shared/Home)
AI Document Processing: The workflow extracts text from PDF receipts using OCR, then uses Google Gemini AI to parse and structure the data into a standardized JSON format including vendor details, amounts, dates, and categorization
Smart Routing: Based on the expense category, receipts are automatically routed to different processing paths with category-specific folder organization
Multi-Destination Storage: Receipts are uploaded to:
Email Notifications: Sends formatted HTML email notifications with complete expense details and links to stored receipts
Accounting System Integration: Automatically forwards business expenses to accounting systems via email hooks (customizable per user requirements)
Replace all placeholder values:
YOUR_GEMINI_CREDENTIAL_ID with your Gemini credential IDYOUR_PERSONAL_GDRIVE_CREDENTIAL_ID with personal Drive credentialYOUR_BUSINESS_GDRIVE_CREDENTIAL_ID with business Drive credentialYOUR_GMAIL_CREDENTIAL_ID with Gmail credentialYOUR_S3_CREDENTIAL_ID with S3 credentialUpdate Google Drive folder structure:
YOUR_BUSINESS_DRIVE_ID and YOUR_SHARED_DRIVE_ID with actual drive IDsConfigure email addresses:
[email protected] with your notification email[email protected] with your accounting system's email hook (this is a mail hook for uploading documents to small business accounting systems - can be modified per user requirements)Update S3 bucket names:
business-expenses, personal-expenses, and shared-expenses with your bucket namesCreate organized folder structures in your Google Drives:
Drive Root/
├── 2024/
│ ├── January/
│ ├── February/
│ └── ... (all months)
├── 2025/
│ ├── January/
│ └── ... (all months)
└── 2026/
└── ... (all months)
Modify the form dropdown options and conditional logic to add/remove expense categories:
Customize the structured output parser schema to extract different fields:
Add or modify storage locations:
Customize the HTML email template:
Update the JavaScript code in Code nodes to match your folder structure:
Extend the workflow with additional integrations:
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 | Expense organizer with Google Drive routing and Gemini AI entity detection |
|---|---|
| Complexity | advanced |
| Nodes | 24 |
| Categories | Invoice Processing, Multimodal AI |
| Author | Daniel Rosehill |
| Published | 07 Aug 2025 |
Use the JSON export at /data/workflows/7143/7143.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.
Who's it for This workflow is perfect for individuals, small businesses, or households who need to: Automatically process and categorize expense receipts Extract structured data from invoices and r...
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.