| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 369 |
| Technical Name |
ahda_whatsapp_api_client |
| License | LGPL-3 |
AHDA WhatsApp API Client
A fully configurable WhatsApp API client for Odoo,
supporting template-based messaging, partner targeting, and automation.
Key Features
- Define WhatsApp message templates with dynamic parameters
- Configure recipient logic using Python expressions
- Use
${...}expressions for dynamic parameter values - Integrate with WhatsApp API endpoints
- Log and track sent messages, with a smart button to view logs per API
How to Use
- Go to Settings → WhatsApp API to configure your WhatsApp API endpoint and headers.
- Go to Settings → WhatsApp Templates to create message templates.
- In the template form:
- Recipient: Enter a Python expression that returns a list or recordset of
res.partner(e.g.,obj.partner_ids). - Parameters: For type Expression, use
${...}expressions (e.g.,${obj.name}).
- Recipient: Enter a Python expression that returns a list or recordset of
- Trigger sending via automation or manually from the record.
- View logs for each WhatsApp API by clicking the smart button in the API form.
Available Variables
obj: The current record (same asobject)partner: The recipient partner (from the recipient expression)phone: The recipient's phone numberctx: The Odoo context
Examples
- Recipient:
obj.partner_idsorobj.user_id.partner_id - Parameter Value:
${obj.name}or${partner.phone}
Contact Me:
Odoo Consultation, Customization, and Implementation
Email: ariehariady@gmail.com
LinkedIn: https://www.linkedin.com/in/ariehariady
Odoo Consultation, Customization, and Implementation
Email: ariehariady@gmail.com
LinkedIn: https://www.linkedin.com/in/ariehariady
Please log in to comment on this module