The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
beingfluid
Tera Guru
Tera Guru

Hi Guys,

In my last article, I had guided you to set up a Twilio account. In this article we are going to integrate our Twilio account with Notify.

"Notify allows you to integrate with the Twilio telephony service to send and receive phone calls and SMS messages from within your instance."

First of all, we need to install the Plugins for Notify. 

  • Notify (com.snc.notify) plugin - Provides powerful platform features for workflow-driven voice calls, conference calls, and SMS messages. You can activate the Notify plugin if you are an administrator.
  • Notify - Twilio Direct Driver (com.snc.notify.twilio_direct) plugin - Provides next generation integration with Twilio and Notify.

The Notify-Twilio integration with the Notify-Twilio Direct driver provides APIs and workflow activities for applications to handle various notification features.

The Notify-Twilio Direct driver provides the following notification features:
  • Start and manage a conference
  • Send and receive SMS messages
  • Send and receive calls

 

Step 1) Navigate to System Definition > Plugins and search for 'Twilio'. You'll see following two plugins, 'Notify' and 'Notify - Twilio Direct Driver' :

 

find_real_file.png

Step 2) Click 'Install' for 'Notify - Twilio Direct Driver'. 

find_real_file.png

Step 3) Click 'Activate'

find_real_file.png

Your window will look something like this :

find_real_file.png

Step 4) Once the plugin gets activated, Click 'Close & Reload Form'

find_real_file.png

Step 5) Navigate to Notify > Administration > Twilio Direct Configuration and Click 'here' link in the "This record is in the Twilio Direct Driver application, but Global is the current application. To edit this record click here." info message to temporarily change the application scope.

find_real_file.png

Your screen will look something like this :

find_real_file.png

 

Step 6) In new tab, Navigate to https://www.twilio.com/console

find_real_file.png

Step 7) Copy 'ACCOUNT SID'

find_real_file.png

Step 😎 On the Twilio Account Properties page opened in step 5, enter your Account SID.

find_real_file.png

Step 9) Repeat step 7 and 8 for 'AUTH TOKEN' and Click 'Connect'

find_real_file.png

find_real_file.png

Your Screen will look sommething like this :

find_real_file.png

As you can see in the above screenshot, Phone numbers associated with the Twilio account are imported to Notify.

If the account is not associated with an instance and the connection is successful, a read-only list of E.164 and short code phone numbers associated with this Twilio account appears. This list displays the phone number, supported capabilities such as voice or SMS, the country for each Twilio number, and the Notify number group to which the number belongs.

To manage phone numbers per instance, set up one Twilio account for each instance and configure all relevant phone numbers for the instance under that account.

Only one Twilio account (or subaccount) can be configured on Notify at a time.

Ensure that each instance on which you configure Notify uses a different Twilio account. Each account specifies a unique account SID, authentication token, telephone numbers, and endpoint. Using the same account across multiple instances may cause your Twilio service configuration to be overwritten.

Notify automatically creates a TwiML application in the Twilio service and configures the application to use the instance as an endpoint.

You can observe more details by navigating to https://www.twilio.com/console/voice/twiml/apps 

find_real_file.png

 

We have successfully configured Twilio with Notify but to use Twilio Services we need to do some more configurations. See you in the next article to complete the Notify set up and have some fun.

 

Please leave your feedback in the comments so that i can improvise the content.

 

Thank You.

Vishal Ingle

ServiceNow Certified System Administrator

DxSherpa Technologies Pvt. Ltd.

MH, India.

Version history
Last update:
‎08-01-2020 10:54 PM
Updated by: