AI Agents

Extract payment voucher data with AI-powered Gemini analysis

17 nodes 303 139 Webhook
Download

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. 1.Receive voucher image through webhook and buffer it in memory
  2. 2.Send image to Gemini for AI-powered content analysis and data extraction
  3. 3.Process extracted data according to defined business logic conditions
  4. 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

Memory AI Agent LLM Chain Google Sheets Gemini

Details

Trigger Webhook
Nodes 17
Apps 5
Views 303
Downloads 139

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

Window Buffer Memory

Memory Buffer Window

#1

Sticky Note

Sticky Note

#2

Line: Get Image

HTTP Request

#3

Message Type

Set

#4

Message Classification

Switch

#5

Sticky Note1

Sticky Note

#6

Text Message Processing

Agent

#7

Image Message Processing

LLM Chain

#8

Line: Response to User

HTTP Request

#9

Line: Text Response to User

HTTP Request

#10

Text from Slip Result

Google Sheets

#11

Line: Messaging API

Webhook

#12

Sticky Note2

Sticky Note

#13

Sticky Note3

Sticky Note

#14

Sticky Note4

Sticky Note

#15

Google Gemini for Text

Gemini Model

#16

Google Gemini for Image

Gemini Model

#17