Notice setup
What notices can MessageBee send?
Currently,
MessageBee can send CHECKOUT, RENEWAL, CHECKIN, HOLD, HOLDDGST, HOLD_REMINDER, HOLD_CANCELLATION, CANCEL_HOLD_ON_LOST, PREDUE, PREDUEDGST, DUE, DUEDGST, AUTO_RENEWALS, AUTO_RENEWALS_DGST, MEMBERSHIP_EXPIRY, WELCOME HOLD, and up to 3 ODUEs.
System preferences
- If sending SMS messages, set SMSSendDriver to "MessageBee".
- If sending Voice messages, set PhoneNotification to "Enable".
Plugin configuration
Install and configure the MessageBee plugin on your site, adding library credentials (host, username, and password).
Notice configuration
In Tools > Notices and slips, for all notices the library will be sending through MessageBee:
- Copy/paste the YAML syntax from the Github documentation into the Email, SMS, and/or Phone tabs, as applicable.
- Keep content in the Print tab for any notices that the library will want to print.
Do staff need to capture patrons' mobile provider for MessageBee SMS messages?
No, the mobile provider is not necessary for SMS messages sent through MessageBee.
Do SMS numbers need hyphens?
No, SMS numbers do not need hyphens.
Do SMS numbers need the leading 1?
No, SMS numbers do not need the leading 1. MessageBee will add it on their end. If your phone numbers have the leading 1, you do not need to remove them.
How does MessageBee know what messages to send?
When a message to a patron is triggered by messaging preferences or overdue notice triggers, anything in a template where Koha finds "messagebee: yes" will be compiled and transmitted to MessageBee via the plugin. When the process_message_queue.pl cron runs, it passes those YAML bits to the plugin, the plugin pulls the related metadata for the indicated patron, checkout, item, etc. and this information is formatted into a JSON file and sent to MessageBee.
How will libraries know what MessageBee-controlled notices have been sent/delivered?
Patrons’ Notices tab will display the YAML data that was transmitted to MessageBee via the plugin. Libraries should contact MessageBee for the specific formatted notices sent to patrons.
Frequently Asked Questions
Can a message be resent?
Libraries can resend notices from the patron screen. The message status reverts to pending and the plugin will grab that message, and transmit it to MessageBee again.
If a checked out item is returned to the library, will the patron still get a message?
Yes. The plugin will check the issues table before compiling the JSON file to send to MessageBee. If it doesn't find the checkout, it will look to the oldissues table and pull the data for the JSON blob to send to MessageBee from there instead. For this reason, a checkout message can be sent to MessageBee, even after an item has been returned.
What happens if a hold generates a message and the patron checks it out before MessageBee gets the hold waiting message?
Rather than getting both the checkout and hold waiting message, the patron will only receive the checked out message.
Why do I see a 'deleted' status for MessageBee notices in a patron's Notices tab?
For some notices (observed with HOLD SMS), Koha will add the message to the message queue with a pending status. The MessageBee plugin sees this and takes any message with a 'pending' status and content like 'messagebee:yes' and puts that in a JSON file that is transmitted to MessageBee. After that, the plugin changes the status of the message from 'pending' to 'deleted'. This is so Koha doesn't attempt to send the message that MessageBee is already sending.