Integration with Saudi.support WhatsApp for ERPNext.
mit# whatsapp_saudi
This app integrates ERPNext with 4Whats.net , Global Whatsapp provider. The provider site can be accessed here (https://4whats.net/)
Follow these steps to install Whatsapp Saudi and integrate it with ERPNext:
- You must have ERPNext installed and running.
- Install Python (>=3.8) and Frappe Framework.
Open your terminal and run:
git clone https://github.com/ERPGulf/whatsapp_saudi.git
cd whatsapp_saudi
Run the following command inside the project directory:
pip install -r requirements.txt
Inside your ERPNext environment, install the app:
bench get-app whatsapp_saudi
bench --site your-site-name install-app whatsapp_saudi
bench --site your-site-name migrate
bench restart
- This app integrates with 4Whats.net, a Global WhatsApp provider.
- Visit (https://4whats.net/) to create an API key.
- Add your API Key and Instance ID in ERPNext settings.
- Navigate to ERPNext > WhatsApp Saudi.
- Enter your 4Whats.net credentials token and instance id and the number to whom u want to send.
- After the entry of data click on the button(send test message) then message will send to whatsapp number.
- In 4Whats.net, set up a webhook to receive incoming messages.
- Use the following Base URL for the webhook:
https://your-erpnext-instance.com/api/method/whatsapp_saudi.receive_whatsapp_message
(Replace your-erpnext-instance.com with your actual ERPNext URL.)
- This webhook ensures that all incoming messages are stored in the WhatsApp Response Doctype in ERPNext.
1-Send PDFs & Documents
- You can now send PDF documents directly via WhatsApp.
2-Error logs
- Errors are now logged under error logs.
3-incoming Messages
- We have set up a webhook in 4Whats.net to handle incoming messages.
- Incoming messages are automatically stored in the WhatsApp Response Doctype in ERPNext for tracking and further processing.
Aysha Sithara.