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
amit pandey 9amit pandey 9 

how to call Twilio Rest api from trigger in trail version ?

i have a work scenario where i have to check first duplicate lead , if lead is not duplicate then send twilio SMS to lead mobile number.
mukesh guptamukesh gupta
Hi Amit

Instead of Trigger you can call Twilio by process builder 

Please follow below url:-
https://www.twilio.com/docs/salesforce/sending-sms-messages-process-builder

For Apex class follow below url:-

https://sagarsindhiblog.wordpress.com/2017/09/26/apex-rest-api-salesforce-integration-with-twilioget-a-call-on-your-mobile-number-from-salesforce-through-twilio-voice-api/


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh