This Sample script is used to send a sms notification from ServiceDesk Plus using the Clickatell SMS messaging Gateway.The sms is sent using the Clickatell SMS API and a Authorization Token is used to authenticate with the Gateway, against a Existing Account.This can be used in the application either under Request Custom Triggers , Request Custom Menu or Change Custom Triggers.The link below will provide more information on Request Custom Triggers.
Use Case : We have considered a scenario where this script is triggered when a High Priority Request is created and a sms message is send to specific Technicians.The message will have the Priority of the Request , the Time of Creation and the Requester's Name.
Clickatell SMS API:
1.Copy the script into the custom scripts folder in the Manageengine\ServiceDesk\integration directory on the server.
2.Configure the phone numbers, the sender name and the message content in the script by following the comments that are provided inline.
3.Configure the script under the Admin -> Custom Triggers. Provide $COMPLETE_JSON_FILE as the parameter to the script.
Below is a screenshot showing a sample configuration.
The phone numbers and messages have to be configured in the script.Please keep an eye on the comments in the script which will help you make necessary changes to it.
A short guide on setting up python on the application server is available here.