Interested with Bulk SMS Philippines? Contact Us HERE

Integrate SMS API with Salesforce CRM

Send SMS to your customers through Salesforce CRM. Our integration allows users to have full access to the Salesforce CRM platform. CRM systems are ideal for keeping track of and arranging customer contacts. Send bulk text message campaigns, create custom SMS, save message templates, and manage SMS communication directly in the platform.

Through the easy integration of SMS into your Salesforce, you can reach out to worthwhile leads and consumers. With our powerful messaging system, you can improve communications and set up automatic procedures to make sure your customers are always notified.

Cost-effective Messaging

Cost-effective Messaging

SMS messaging is a cost-effective way to communicate with customers, and SMS integration with Salesforce CRM can help users save money while improving customer engagement.

Customizable Messaging

Customizable Messaging

SMS integration allows users to customize SMS messages, including message templates and dynamic content based on customer data, ensuring that messages are relevant and effective.

Multi-channel Communication

Multiple Channels

With iSMS API integrated into Salesforce CRM, users can communicate with customers across multiple channels, including SMS and email, improving reach and engagement.

Increased Productivity

Increased Productivity

iSMS API integration with Salesforce CRM can help users save time and effort by eliminating the need to switch between multiple tools and platforms, allowing them to focus on other high-value tasks.

Salesforce CRM SMS Integration Steps

To integrate the iSMS API with Salesforce CRM, you can follow these steps:

  1. Create an Apex class in Salesforce to handle the HTTP requests to the iSMS API. Here's an example of what the class might look like:
Sample Code
public class iSMS {
public static String sendSMS(String un, String pwd, String dstno, String msg, Integer type, String
agreedterm, String sendid) {
HttpRequest req = new HttpRequest();
req.setBody('un=' + EncodingUtil.urlEncode(un, 'UTF-8') +
'&pwd=' + EncodingUtil.urlEncode(pwd, 'UTF-8') +
'&dstno=' + EncodingUtil.urlEncode(dstno, 'UTF-8') +
'&msg=' + EncodingUtil.urlEncode(msg, 'UTF-8') +
'&type=' + type +
'&agreedterm=' + EncodingUtil.urlEncode(agreedterm, 'UTF-8') +
'&sendid=' + EncodingUtil.urlEncode(sendid, 'UTF-8'));
Http http = new Http();
HttpResponse res = http.send(req);
return res.getBody();

This class takes the iSMS API parameters as arguments and sends a POST request to the API endpoint. The sendSMS method returns the API response as a string.

  1. In your Salesforce CRM, create a custom button or a custom link that calls the sendSMS method with the appropriate parameters. For example, you might create a custom button on the Lead object that sends an SMS to the Lead's phone number.
Sample Code
var result = sforce.apex.execute("iSMS", "sendSMS", { un: "your_username", pwd: "your_password", dstno: "{!Lead.MobilePhone}", msg: "Hello, {!Lead.FirstName}!", type: 1, agreedterm: "YES", sendid: "your_sender_id" });

This JavaScript code calls the sendSMS method in the iSMS class using the Salesforce Apex API. The Lead's phone number is passed as the dstno parameter, and the message body is a simple greeting that includes the Lead's first name. The API response is displayed in an alert message.

  1. Add the custom button or link to your Salesforce CRM page layout. When a user clicks the button or link, the iSMS API will be called and an SMS message will be sent to the Lead's phone number.

Note that you'll need to replace your_username, your_password, and your_sender_id with your actual iSMS API credentials. Also, make sure that your Salesforce CRM users have the necessary permissions to execute Apex code and make HTTP requests.

Please click below to find out about other SMS API integration.