Split and track WhatsApp restaurant bills with WAHA, Gemini and Sheets
UnknownWhat this workflow does
This AI workflow has 35 nodes and runs on Waha events (plus 1 other trigger). Along the way it connects Google Sheets, Google Gemini, OpenRouter Chat Model and Waha (community).
How it runs
Trigger: On Waha events (plus 1 other trigger).
- Whitelisted People (If): checks a condition and branches into true / false
- Config (Edit Fields (Set)): sets 2 fields: currencyCode, currencySymbol
- Config (Edit Fields (Set)): sets 2 fields: currencyCode, currencySymbol
- Get Unpaid Bills (Google Sheets): uses Google Sheets
- Normalize WAHA Payload (Code): runs custom JavaScript code
- Calculate Reminder Level & Anti-Spam Guard (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- Download Receipt Media (WAHA) (HTTP Request): calls an HTTP API
- If: checks a condition and branches into true / false
…plus 21 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @devlikeapro/n8n-nodes-waha is verified or supports 3.0 (used in When Message Received (WAHA)).
- Check that @devlikeapro/n8n-nodes-waha is verified or supports 3.0 (used in send message : chatting, send message : chatting1, send message : chatting2).
Nodes used (13)
- Waha Trigger
@devlikeapro/n8n-nodes-waha.wahaTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - WAHA
@devlikeapro/n8n-nodes-waha.WAHA - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow runs a WhatsApp bill-splitting bot using WAHA, Google Gemini for receipt OCR, OpenRouter for funny bill and reminder messages, and Google Sheets to track sessions, contacts, bills, payment status, and automated daily reminders.…