WhatsApp Cloud API and whatsapp-web.js Integration
by ProcessDrive India PVT LTD https://www.processdrive.com$ 98.30
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Contacts (contacts) • Discuss (mail) • Inventory (stock) • Purchase (purchase) • Sales (sale_management) • Calendar (calendar) • Invoicing (account) |
| Lines of code | 2681 |
| Technical Name |
whatsapp_cloud_advanced |
| License | OPL-1 |
| Website | https://www.processdrive.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Contacts (contacts) • Discuss (mail) • Inventory (stock) • Purchase (purchase) • Sales (sale_management) • Calendar (calendar) • Invoicing (account) |
| Lines of code | 2681 |
| Technical Name |
whatsapp_cloud_advanced |
| License | OPL-1 |
| Website | https://www.processdrive.com |
bring WhatsApp Cloud API + Web.js to Odoo
WhatsApp Cloud Advanced
Send and receive WhatsApp messages in Odoo via Meta Cloud API or WhatsApp Web.js. Queue and schedule messages, sync/submit templates with placeholders, handle webhooks for delivery/read, and use bulk tools, sandbox mode, and fallback email.
Uses & Advantages
Get the best of both worlds: Meta's official Cloud API for production-grade reliability and an optional Web.js device backend for fast starts and flexible use cases — all managed from Odoo.
Unified messaging in Odoo
Send from Sales, CRM, Invoices, and more with chatter sync.
Template automation
Auto-builds placeholders for approved templates and validates counts.
Bulk + scheduling
Queue, schedule and dispatch campaigns safely via cron.
Status & webhooks
Tracks delivered/read/failed with inbound message handling.
Multi-account routing
Use multiple numbers/backends and choose per message or globally.
Sandbox + fallback
Safe testing with optional email fallback for critical notices.
Media & interactive
Send documents, images, and supported interactive formats.
Security & access
Dedicated user/manager groups and audit-friendly logs.
Easy setup
Test connection, sync templates, and start sending quickly.
Choose Your WhatsApp Backend
Use Meta's official Cloud API for robust, policy-compliant operations, or connect to a WhatsApp Web.js device session when you prefer a lightweight, device-based setup.
WhatsApp Cloud API (Meta)
Official Meta Graph API with webhooks, delivery receipts, and approved templates.
- Best for: Production-scale, reliable messaging and compliance.
- Highlights: Approved templates, statuses (delivered/read), 24‑hour window rules.
- Requirements: Facebook app, WABA, phone number ID, access token, webhook verify token.
- Limitations: Template required outside 24h window; Meta policies & pricing apply.
WhatsApp Web.js (Device Session)
Device-based session via QR code with a lightweight service endpoint.
- Best for: Quick starts, small teams, or device-forward workflows.
- Highlights: QR login, send/receive, health/reset controls in Odoo.
- Requirements: Running Web.js service, API key/endpoint, device online periodically.
- Limitations: Depends on WhatsApp Web session stability; not an official Meta API.
Features
Meta Cloud API + Web.js backends
Multi-account with default routing
Message queue, scheduling, cron dispatcher
Templates: sync, submit, placeholder rendering
Incoming webhook: messages + statuses
Bulk send wizard
Bulk batch campaigns
Sandbox mode + fallback email
Partner enrichment (opt-in, wa_id)
Web.js session (QR, health, reset)
Template parameters auto-build and validation
Media, interactive and text support
Per-message or global backend selection
Odoo chatter updates for inbound text
Delivery/read/failed status tracking
Priority and campaign tags
Security: User and Manager groups
How It Works
WhatsApp Cloud Advanced connects your Odoo to Meta's WhatsApp Cloud API (or an optional WhatsApp Web.js service). Outgoing messages are queued and dispatched by a cron job or on demand; delivery/read/failed updates arrive via a webhook and update the message status. Reusable templates support placeholder rendering and can be synced or submitted to Meta. Bulk tools help you reach many contacts in one go, safely.
Setup Guide
Step 1: Install WhatsApp Cloud Advanced
After installation, you'll find WhatsApp Cloud menus under Marketing and Configuration.
Step 2: Create WhatsApp Cloud Account
Create a WhatsApp Cloud Account with Phone Number ID, Access Token, Webhook Verify Token, and API Version. Click Test Connection to verify.
Step 3: Sync/Submit Templates (Optional)
Use the Templates menu to sync approved templates from Meta or submit new ones. Placeholders are converted automatically.
Step 4: Choose whatsapp webjs session in the cofiguration (if needed)
In configuration, choose Meta Cloud API or Web.js, configure if needed, for the backend code please contact us.
Installation
📁 Step 1: Copy Module
Copy the whatsapp_cloud_advanced folder into your Odoo custom addons path.
⚙️ Step 2: Install App
Activate Developer Mode → Go to Apps → Update Apps List → Install WhatsApp Cloud Advanced.
🚀 Step 3: Restart Odoo
Restart your Odoo service for changes to take effect.
🚀 Step 4: Open the Menu
Go to Marketing → WhatsApp Cloud to configure accounts, templates, and sessions.
License
This module is released under the Odoo Proprietary License v1 (OPL-1).
Author
ProcessDrive — www.processdrive.com
Our Odoo Services
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module