How to send SMS from Zoho Creator apps

Posted by Posted on by

One feature request that we receive frequently from our customers is the ability to send SMS from Zoho Creator apps. The solution is to have a third-party SMS Gateway service that supports HTTP(s) or SMTP API integrated with the Zoho Creator app.

Clickatell is one such service and we’ll explain below how a Zoho Creator application can be configured to use Clickatell’s SMTP API to send SMS. We have created a simple Zoho Creator application for this. The script (.ds file) for the application is available here. Download the .ds file and open it in a text editor of your choice. In the sendSMS function,

  1. Replace clickatellusername with username of your Clickatell account
  2. Replace clickatellpassword with password of your Clickatell account
  3. Replace APIKEY with API ID of your Clickatell account

void sendSMS(int to, string text)
To : ""
From : zoho.loginuserid
Subject : "SMS"
Message : "user:clickatellusername\npassword:clickatellpassword\napi_id: " +
"APIKEY\nfrom:ZohoCreator\nto:" + + "\ntext:" + input.text
Content type : Plain Text

After doing the above changes, import the ds file to your Zoho Creator account. The SMS feature can be tested by adding a record in the SMS Details form. Once the sendSMS functionality is tested, this SMS app can be integrated to any other Zoho Creator application by invoking the sendSMS function and passing the mobile number & the text message as arguments.

For example, in a Help Desk application built using Zoho Creator, let’s say an SMS is to be sent to a technician whenever a new ticket is assigned to him/her. The function sendSMS should be invoked with the mobile number of the technician from the onSuccess action of the Assign Technician form.

Please note that you can use any SMS provider by modifying this example SMS application. Try this app and let us know your feedback.