function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anindya ChattopadhyayAnindya Chattopadhyay 

Best way to send SMS from Process Builder

Hi :

We have got a requirement to send SMS and email using Process Builder. Email can easily be achieved by using email template/email alert.
Wondering what's the best way to do that for SMS?

We have got a subscription for Twilio. However as per other posts, it involves writing Apex code to send SMS using Twilio from Salesforce. That is probably possible when you have an interactive form to choose an user and sens SMS. However not sure if that's gonna work from Process Builder. 

Any help will be much appreciated.

vaishali sharmavaishali sharma
i dont think it is gonna work without Apex class and visualforce page .
Anindya ChattopadhyayAnindya Chattopadhyay
Hi Vaishali


So I reckon the best solution will be:

1. Write the Apex class that accepts contactID as the parameter send SMS to that contact, using Twilio API

2. Call the above class fro the process builder and also set the contactID.

Am I right?

Anindya ChattopadhyayAnindya Chattopadhyay

Somethin like this: