Kütüphane / Belgeler, PDF ve OCR
Belgeler, PDF ve OCR
Split and track WhatsApp restaurant bills with WAHA, Gemini and Sheets
When something happens in a connected app, it reads and extracts data from documents with Google Gemini and OpenRouter using WAHA, Waha, Google Sheets.
Ne yapar
## Bill Roaster - WhatsApp (WAHA) ### How it works This workflow manages shared bills over WhatsApp using WAHA. It accepts whitelisted WhatsApp messages, OCRs receipt photos with Gemini, stores the extracted receipt context, then lets users assign splits by message and sends generated payment requests to the relevant contacts while logging bills in Google Sheets. It also handles payment confirmations by matching WhatsApp senders to bill rows and updating paid status, and runs a daily reminder job for unpaid bills. ### Setup steps - Configure WAHA credentials, session details, and the webhook/trigger so incoming WhatsApp messages and outgoing replies work correctly. - Set up Google Sheets credentials and create/configure the expected sheets for contacts, temporary OCR sessions, bill logs, unpaid bill lookups, and reminder metadata. - Configure Gemini credentials for receipt/document analysis and OpenRouter credentials for the LLM chains that generate bill and reminder text. - Update the whitelist logic with allowed WhatsApp numbers and verify the Config/Config1 nodes have the correct currency code and symbol. - Check the scheduled reminder trigger timezone and daily run time, then test the receipt, assignment, payment confirmation, and reminder paths end to end. ### Customization You can adjust the split-parsing code, LLM prompts, reminder frequency/anti-spam rules, currency settings, whitelist, and Google Sheets schema to match your household or team billing process.
Adımlar
- When Message Received (WAHA)
- Normalize WAHA Payload
- IF Has Photo (Receipt)?
- IF Assignment Format (contains ':')?
- IF Payment Confirmation?
- Download Receipt Media (WAHA)
- Save Session (temp OCR)
- Get Session (saved OCR)
- Parse Assignment & Calculate Split
- Compose Final Message
- Find Contact (waNumber)
- Log Bill to Sheet
- Cron - Check Reminders (Daily 7PM)
- Get Unpaid Bills
Toplam 35 adım.
Benzer otomasyonlar
Raporlar, Analitik ve PanolarABD Temsilciler Meclisi Yasa Tasarılarından Haftalık Hayvan Hakları Brifingleri Oluştur18 adımSohbet Botları ve Mesajlaşma BotlarıWhatsApp'ta Restoran Sorularını Yanıtla ve Masa Ayır8 adımSohbet Botları ve Mesajlaşma BotlarıGemini RAG ile WhatsApp'ta Restoran Sipariş Asistanı18 adımPotansiyel Müşteri Yaratma ve ZenginleştirmeVAPI Sesiyle Restoran Siparişlerini Pazarlama ve Rezerve Etme9 adım