![]() ![]() I am not aware of any SMS service, that is for free, so if you subscribe to an SMS provider it will provide you with an API, that can normally very easily be handled from python. If you have an Android device you could install shellms on it ( ) connect it via USB to your PC and use adb to send SMS, which will be billed on your phone's bill / contract. Log into your Twilio project at Click Phone Numbers from the left-side navigation bar. Some services also allow sending SMS via SMTP (sending emails) adresses in his response Most professional available services allow to send an SMS with simple HTTP GET or POST requests, so you don't need a third party python module, but you must connect to a third party web API in most cases the python code is really simple, but first you need an SMS service provider So you need a mobile phone or a service, that offers sending SMS if you subscribe / pay. Which is normally not your laptop / PC, except it has a SIM card and a mobile phone modem. Sending an SMS requires something, that can send an SMS. If Email ID is present and mobile number is not present then send email.Please tell me if I did not understand your question correctly, then I will try to improve it or I'll delete it. If mobile number is present, send text alert (Details of that action given below)Ģ. Next, I have used a decision box to check, if the mobile number is not null for that contact.ġ. Use Get Record element to query the contact object to store contact’s email ID and Mobile number in respective variables for the contact ID (stored in a variable in above step #B).ĭ. To refer the created case (record who triggered the flow), you have to use $record Global variable.Ĭ. Use the Get Record element to get the contact ID for the created case, store the contact ID in a variable. ![]() Initiate a record triggered flow , when a case object is created with Priority as “High”.ī. Create a Flow to send SMSĪs per our use case, when a “High” priority case gets created, send SMS alert to the contact of that account, if mobile number exists and if mobile number does not exists then send an email.īelow are the complete description of the flow-Ī. There can be multiple use cases for Twilio SMS alert but the one which I picked up for this article is, if a High priority case gets created then send a text alert to the contact person and notify him about the case by sending a text message on his mobile phone. Now we have successfully set up the Twilio app in our salesforce org and ready to use the functionality provided by it. It installs few Apex classes, permission sets, objects etc. Please note Twilio creates few components in your org e.g. Starting on April 17, 2023, you can use the Twilio Console or Twilio API to update your existing Sole Proprietor brands with a brand name and a mobile phone number (typically your personal mobile device) that you want to use for OTP verification. This is same as installing any other app/package from app exchange so nothing special. You need to choose that do you want to install it only for admin or for all users. Once you login to your org with the user name and password. You need to provide few basic details along with your email ID and phone number.Īfter you have successfully signed up, you will get an option to install Twilio in your salesforce org. You can have a free trial account created and use that for demo purpose. Let see how we can setup Twilloįirst steps is, we need to have a Twilio account set up. You can also build process builder (I know at some point of time, process builder will go away) or you can also use Apex classes.įirst setup is setup the Twilio. We will create a record triggered flow for this article.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |