Extracts text from payment voucher using Gemini
Workflow Description
An automation template that receives payment voucher images via webhook, leverages Gemini AI to intelligently extract text and financial data, and stores results in Google Sheets for easy tracking, verification, and financial record management.
How it works
- 1.Receive voucher image through webhook trigger and buffer it in memory for processing
- 2.Process the image using an AI agent powered by Gemini LLM to extract all text, amounts, dates, and vendor details
- 3.Store extracted data directly into Google Sheets for audit trails, reconciliation, and financial analysis
Use cases
- Automate high-volume invoice and receipt processing for accounts payable departments
- Extract payment amounts, dates, vendor names, and invoice numbers from receipt images without manual data entry
Requirements
- Active Google Cloud project with Gemini API credentials and valid API key
- Google Sheets spreadsheet with appropriate access permissions and columns for storing 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