- Log in to post comments

Koha already have a feature to Push Notices via SMS
Koha uses SMS Drivers to push these Notices to a Service Provider
SMS Driver can be written which can Push Notices using an External API (Gupshup WhatsApp API) in this case which can inturn send the Notice as WhatsApp Messages.
Requirements
- Facebook Business Account
- GupShup Account with WhatsApp Business API
- GupShup API Key
- Approved Templates for CHECKOUT, CHECKIN, DUE
- GupShup Endpoint URL for API
- SOURCE Number as Registered in Facebook Business Account and Mapped in Gupshup
How to Install
- Download the Package File (.KPZ) from this github Repository
- Upload the Package File in the Koha Plugins
- Configure the Plugin by entering the Information already stated in Requirements
- Modify the SMSSendDriver Value to SMS::Send::Gs in the System Preferences in Koha
- Enable Notices via SMS in Koha for desired category of Patrons
- Configure the messages cron if not already configured on Koha Server
Configuration
Step 1
Step 2
Step 3

Assumptions of this Driver
Template for CHECKOUT, CHECKIN, DUE is already approved by Facebook and contains 2 Variables/Parameters
eg Template
==================================================

Dear {{1}},
The following books have been issued to you as per your request in Library
{{2}}
Thank you for visiting The Institute Library.
==================================================
The Driver will replace {{1}} with the Patron First Name & {{2}} will be replaced with the SMS Template Data as recieved from KOHA eg {{2}} can contain Barcode of Books issued which will convert the Template to the following and send
==================================================
Dear Abhishek,
The following books have been issued to you as per your request in Library
6754, 5754
Thank you for visiting The Institute Library.
Github Repository : https://github.com/abhisheknagar/gupshup-wa-koha-driver
Need Help in Configuration
