Seamless WhatsApp integration for Frappe using Meta's official API — no third-party services required.
WhatsApp Demo |
Bulk Message Feature Guide |
If you're not using live credentials, follow step no 2 to add the test number on Meta to which you're sending messages.
You can also install whatsapp_chat along with this app to send and receive messages like a messenger.
bench get-app https://github.com/shridarpatil/frappe_whatsapp
bench --site [sitename] install-app frappe_whatsapp
Get your WhatsApp Cloud API credentials here
Supports all Doc Events
- Create an entry in the WhatsApp Message doctype
- On save, it triggers the WhatsApp API to send the message
Useful when you can't pull values directly from a doctype. Define a script and populate the variable _data_list
:
doc.set("_data_list", data_list)
Example:
- Set up a webhook on Meta
- Add a verify token on Meta and update the same in WhatsApp Settings
- Add the webhook URL on Meta:
<your-domain>/api/method/frappe_whatsapp.utils.webhook.webhook
- Add appropriate webhook fields:
messages
to receive messages- Add other required webhook fields
- Update templates directly on Facebook Developer Console
- Display template status inside Frappe
MIT License — Free to use and modify.