workflows.fit
Back to n8n workflows
n8n templateFreeBy Jitesh Dugar

Scan WhatsApp receipt photos and track expenses using Wati and GPT-4o

Transform messy receipt photos into a structured, searchable expense database in seconds. This workflow automates the entire journey from a WhatsApp message to a live Google Sheets entry by combining WATI for communic...

Data & StorageProductivityDevelopmentCore NodesSticky NoteSwitchCodeGoogle Sheets
Loading interactive preview...

Template notes

Transform messy receipt photos into a structured, searchable expense database in seconds. This workflow automates the entire journey from a WhatsApp message to a live Google Sheets entry by combining WATI for communication, OpenAI Vision for extraction, and automated reporting logic.

---

๐ŸŽฏ What This Workflow Does

Turns a simple WhatsApp photo or text command into a professional expense management system:

- ๐Ÿ“ Captures Receipt Assets Receives an image or text command via WATI Trigger from the user's phone.

- ๐Ÿšฆ Smart Message Routing A Switch node detects the input type: - Image: Routes to the AI scanning branch for receipt processing. - Text ("report"): Routes to the reporting branch to generate monthly summaries.

- ๐Ÿ‘๏ธ Vision AI Analysis OpenAI GPT-4o "looks" at the receipt image to extract the merchant name, total amount, currency, and date.

- โ˜๏ธ Base64 Data Processing A specialized Code node uses getBinaryDataBuffer to convert receipt images into a high-speed data URL, ensuring OpenAI always receives the actual image instead of a placeholder.