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 Developers,

In last few articles in this series we have learnt how to setup the Twiliohow to configure Twilio with ServiceNow Notify and how to setup NotifyAnd as we have already discussed, it's always better and equally important to test your integration and configurations before proceeding forward with the development.

All the information for Twilio-Direct callback testing is available at ServiceNow Docs.

We will be making an outgoing call & will be sending an SMS using Twilio and trigger callbacks to ServiceNow to test whether Twilio can reach the instance.

Step 1) Navigate to Notify > Administration > Twilio Direct Configuration.

find_real_file.png

Step 2) Click 'here' in the Info Message 'This record is in the Twilio Direct Driver application, but Global is the current application. To edit this record click here.' to change the application scope.

The screen will look somewhat like below :

find_real_file.png

Step 3) Click 'Test Callbacks'

find_real_file.png

Step 4) Fill the 'To' field with your mobile number, let the Test type as 'Call' and leave the Message field as is. Click Initiate Test Call.

find_real_file.png

Your screen will now look somewhat like this :

find_real_file.png

And you will recieve a voice call from Twilio number on your mobile number specified in 'To' field :

find_real_file.png

Step 5) You can also view when the last callback test was run, its status, and the test logs. Click 'View logs' in the success message 'Callback test successful. View logs for more details.'

Your screen will look somewhat like this :

find_real_file.png

Step 6) Open the recent test record and observe the details.

find_real_file.png

Step 7) Now let us test the SMS, In Step 4, Change the Test type as 'SMS', fill the 'To' field with your mobile number and leave the Message field as is. Click Initiate Test SMS.

find_real_file.png

Now your window will look somewhat like this :

find_real_file.png

And you will receive a text message from from Twilio :

find_real_file.png

Step 😎 Click 'View logs' in the success message 'Callback test successful. View logs for more details.'  and open the recent test record.

find_real_file.png

Step 9) Observe the callback test results.

find_real_file.png

If our tests are successful, that means we are good to proceed. If you get any kind of error, please mention it in comments or post a question to community, we would love to help.

An important points to remember here is, The callbacks can be tested only after a connection is established with Twilio.

So far we have everything we need to start development. In the next post we will be discussing how to make use of Twilio functionality on Tasks.

Thank you.

Vishal Ingle

DxSherpa Technologies Pvt. Ltd.

Pune, MH, IN.

Version history
Last update:
‎09-06-2020 09:41 AM
Updated by: