If someone message on whatsapp after office hours. need to send automated reply . How can we acheive this in odoo. Appreciated if someone guide me on this.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
Hii,
To send automated WhatsApp replies after office hours in Odoo, you need to integrate WhatsApp with Odoo using a third-party service (like Twilio, Gupshup, or WhatsApp Business API) and implement logic to detect out-of-office hours and auto-reply accordingly.
Here's a step-by-step guide to achieve this:
Prerequisites
- WhatsApp Business API or provider (Twilio, Gupshup, 360Dialog, etc.)
- A custom Odoo module
- Your Odoo version (assume Odoo 14–18 CE/EE)
- A webhook or endpoint to receive incoming messages
1. WhatsApp Integration with Odoo
You need a service that can:
- Send and receive WhatsApp messages
- Integrate with Odoo via webhooks or APIs
Example: Twilio WhatsApp
- Set up a Twilio WhatsApp Sandbox
- Register a webhook URL that Twilio calls when a message is received
- Use Odoo Controller to handle this webhook
Create a Custom Controller in Odoo
This controller handles incoming messages:
# controllers/https://your-odoo-domain.com/whatsapp/incoming
Ready-Made Modules
If you prefer a plug-and-play solution:
I appreciated for your time and response. Let me clear you more on this. I have done whatsapp integration with odoo using meta business whatsapp. Its working fine. But scenario is that , whenever any customer message me on whatsapp after office hours. i need to send approved template to convey them our working hours. I am trying to use automation rules , but that is not working for my case. May be i am doing wrong configuration. Guide me if you have any idea about this to achieve my case