Skip to content

Rowad-Org-ERP-team/frappe_whatsapp

 
 

Repository files navigation

Frappe Whatsapp

WhatsApp integration for frappe. Use directly meta API's without any 3rd party integration.

whatsapp

Note: If your not using live credential follow the step no 2 to add the number on meta to which your are sending message

Installation Steps

Step 1) One time to get app

bench get-app https://github.com/shridarpatil/frappe_whatsapp

Step 2) to install app on any instance/site

bench --site [sitename] install-app frappe_whatsapp

Send whatsapp notification from frappe app based on docevents.

Get your whats app credentials

https://developers.facebook.com/docs/whatsapp/cloud-api/get-started

Enter whatsapp credentials

image

Create Template

image

Supports all docevents

Create notifications

whatsapp_notification

Sending text message without creating template

Create an entry in the WhatsApp message. On save it will trigger and whats app API to send a message

image

WhatsApp messages are received via WhatsApp cloud API. image

outgoing (1)

Incomming message

  • Setup webhook on meta
    • Add verify token on meta and update the same on whatsapp settings
    • Add webhook url on meta <your domain>/api/method/frappe_whatsapp.utils.webhook.webhook
  • Add apropriate webhook fields
    • messages to receive message
    • add other required web fields

Upcoming features

  • Update templates on facebook dev.
  • Display template status

License

MIT

About

WhatsApp cloud integration for frappe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.9%
  • JavaScript 5.1%