| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2298 |
| Technical Name |
tw_whatsapp_agent |
| License | LGPL-3 |
| Website | https://ticinoweb.com |
TW WhatsApp AI Agent
An intelligent WhatsApp agent for Odoo, powered by Google Gemini AI. The agent handles incoming WhatsApp messages, manages multi-turn conversations, and integrates with external websites/APIs to provide real-time answers.
Key Features:
- AI-Powered Conversations — Uses Google Gemini AI (Flash & Pro) with automatic model fallback and rate-limiting retry logic.
- External Data Integration — Configurable API endpoints that the AI can query in real-time via Gemini Function Calling. Supports JSON and HTML APIs.
- Authenticated Web Scraping — Built-in web scraper service with automatic login, Bearer token management, session caching, and custom HTTP headers.
- Configurable Prompts — System prompt, greeting messages, temperature, and website data access toggleable per prompt configuration.
- Real-Time UI — Live conversation updates via Odoo bus, WhatsApp-style chat interface with message status tracking (sent/delivered/read).
- Multi-Number Support — Route messages from multiple WhatsApp numbers to the appropriate agent configuration.
Architecture:
WhatsApp → Odoo Webhook → Gemini AI → Function Calling → External APIs → Response
Version History:
- 4.0.0 — External website data integration, Gemini function calling, authenticated API access, configurable endpoints
- 3.0.0 — Website credentials, data endpoints model, web scraper foundation
- 2.0.0 — AI agent prompt configuration, conversation management
- 1.0.0 — Initial WhatsApp webhook, basic Gemini integration
Please log in to comment on this module