Sending SMS in Zoho CRM
In this documentation we explain in a step-by-step guide how to send SMS from Zoho CRM via sms77. The setup does not require any programming knowledge and takes only a few minutes.
Step 1: Create a workflow rule
The first thing we need to do is create a new workflow rule. A workflow is a sequence of actions after a pre-determined event has been triggered. After logging into Zoho CRM, we navigate to Settings -> Automation -> Workflow Rule. By clicking on the blue button labeled Create Rule, the screen shown here will open:
Step 2: Describe a workflow rule
Zoho CRM offers a variety of different modules, depending on the license used and/or assigned user rights. All modules trigger events, after which we can send SMS. In this example, we will limit ourselves to sending when contacts are created. However, sending on other events is very similar. If you are unsure we are there for you anytime via mail.
The following modules are available as of today, September the 24th of 2021:
- Price Books
We give the rule a descriptive name. This is mainly for assignment purposes. It is especially helpful when we have several rules.
We describe our rule by entering the actual function of the rule. While this field is not required, it is extremely helpful.
Step 3: Set time for execution of rule
In this example, we describe execution at module creation. However, a workflow can be executed at many other times as well.
On entry option
This selection refers to a module entry. In our case, to the Create event of a Contact in the Contacts module. The following selections are available:
- Create or edit
The following selections are available for this time-based selection:
- Time of creation
- Time of change
- Last activity time
The following selections are available for score-based selection:
Once we have finalized the condition, the workflow looks something like this:
Step 4: Activate webhook action
By clicking on the button labeled Instant Actions, a submenu opens with the available action types. In our case, we choose Webhook. Clicking on it opens the webhook form shown in the following item.
We assign a name to clearly describe our action. In this example, we decide to use SMS Dispatch.
We describe our action. This field is optional, but certainly useful.
This field should have the value POST.
URL for notification
In this field we enter the server address of sms77. The value must be https://gateway.sms77.io/api/sms.
User defined parameters
Here we define our interface key.
By clicking on the green plus symbol a new line appears. As parameter name we enter X-Api-Key and at parameter value our API key must be entered. This one can be found in the customer area.
Body (main part)
As type we select form data.
Here we set the receiver number.
We parameter name to to.
We parameter value to mobile.
First we set the content of the actual text message.
Set the parameter name to text.
Set the parameter value to a text of your choice
This parameter is optional: if we want to specify a sender ID, we need to add another parameter.
If this is the case, we set the parameter name to from.
As parameter value we set the desired sender ID.
After setting the mentioned values our screen looks similar to this:
Now, finally, we need to press Save and link.
We have now completed our workflow and can press Save which gets us back to the previous page.
Finally we want to test the workflow. All we have to for this is to create a contact. If everything worked, this contact will receive an SMS to the stored mobile number.