Extract payment voucher data with AI-powered Gemini analysis
Workflow Description
An automation that receives payment voucher images via webhook, analyzes them with Gemini AI to extract amounts, dates, and merchant information, then automatically stores the extracted data in a Google Sheets spreadsheet for centralized record-keeping.
How it works
- 1.Receive voucher image through webhook and buffer it in memory
- 2.Send image to Gemini for AI-powered content analysis and data extraction
- 3.Process extracted data according to defined business logic conditions
- 4.Format results and save them directly to Google Sheets
Use cases
- Automate expense receipt processing for corporate accounting departments
- Extract payment details from voucher images without manual data entry
- Consolidate transaction data from multiple receipts into a single spreadsheet
Requirements
- Valid Google Gemini API key configured in your n8n instance
- Active webhook endpoint to receive and process voucher images
- Pre-configured Google Sheets table with columns for extracted data
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (17)
Window Buffer Memory
Memory Buffer Window
Sticky Note
Sticky Note
Line: Get Image
HTTP Request
Message Type
Set
Message Classification
Switch
Sticky Note1
Sticky Note
Text Message Processing
Agent
Image Message Processing
LLM Chain
Line: Response to User
HTTP Request
Line: Text Response to User
HTTP Request
Text from Slip Result
Google Sheets
Line: Messaging API
Webhook
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Google Gemini for Text
Gemini Model
Google Gemini for Image
Gemini Model