Issue Rivhit receipts from WhatsApp photos using Google Vision and GPT-4o

Go to Workflow
1 views
Built by achiya achiya
Created on June 05, 2026

Description

How it works

Courier sends an invoice photo to WhatsApp → AI extracts all details via Google Vision OCR
Courier sends a payment photo (check, bank transfer, credit card voucher) → AI matches it to the invoice
AI presents a summary and asks for confirmation
Once approved — receipt is created in Rivhit, invoice is closed, and the PDF is sent back to WhatsApp

Supports cash, checks, credit cards, bank transfers, and split payments. Includes automatic customer lookup by tax ID and Israeli bank code recognition.

Set up steps

Takes about 10 minutes:

Set up a WAHA instance and point its webhook to this workflow
Add your Google Cloud Vision API key to the HTTP Request node
Add your Rivhit API token to the "api key" Set node
Replace the WhatsApp group ID in the Filter node with yours
Connect your OpenAI credentials
Activate and start sending photos!

See the sticky notes inside the workflow for detailed instructions.

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Code Tool
@n8n/n8n-nodes-langchain.toolCode
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow