Send SMS using ClockworkSMS
Table of Contents
Note: This task is applicable only to Zoho Creator.
Overview
The clockworksms.sms.send task is used to send messages through your ClockworkSMS account using Deluge. For example, imagine you have a Zoho Creator application to track your inventory. You can use this task to send SMS notification to the specified phone number through your ClockworkSMS account, whenever your inventory runs low on stock.
Syntax
where,
Parameter | Data type | Description |
<variable> | KEY-VALUE | is the variable which will hold the response returned by Clockworksms. |
<clockworksms_connection> | TEXT | is the name of the ClockworkSMS connection. |
<to_number> | TEXT | is the phone number to which the message must be sent. The phone number must be in the format: +<country_code><phone_number> |
<message> | TEXT | Contents of the message |
Send an SMS using ClockworkSMS
The following snippet when executed sends the specified message to the specified number.
response = clockworksms.sms.send("Clockworksms", "+91XXXXXXXXXX", "Thank you for subscribing");
where,
Parameter | Description |
"Clockworksms" | is the name of the Clockworksms connection |
"+91XXXXXXXXXX" | is the phone number to which the message will be sent |
"Thank you for subscribing" | is the message which will be sent |
response | is response returned as KEY-VALUE by Clockworksms |
Response Format
Following is a sample success response returned by Clockworksms: