logo

NJP

ServiceNow Notify Demo and Training | How to send SMS from ServiceNow with Twilio

Import · Sep 06, 2020 · video

[Music] in order to subscribe to my channel please click here or click here please share comment and like my videos and channel hello guys welcome to sas with service now this is servicenow notify and tulio implementation training one of the important point for any organization is reaching out to the right people on right time to work on the issues which might impact their business and treat it with critical priority this will help them to get the speedy resolution and minimize the business impact in this training you will learn how can you configure notify and tulio to send the communication from service now if your organization is using servicenow and want to send communications for emergency condition or high priority issues then this is the right place as notify and tulu are the right solution for speedy communications and when i talk about speedy communications that means it should be via call phone call or it can be via sms emails are something which normally people doesn't read every time but if i talk about call if i talk about sms that's something i would say kind of a speedy speedy way of communicating with the people what is notify notify is an application in servicenow which provides support for sms and voice channels in servicenow to communicate with internal or external people of organization it also provides out-of-the-box apis and workflow which can be used by developers to configure the communication on the basis of different events activate notify in order to use notify application you need to activate it in your instance as it does not come by default so this is the plugin notify which can be activated for this application once you will activate this plugin there are two other plugins which will automatically be activated if they are not already active one is sms preferences and another one is e164 compliant number now why we have this e164 compliant num phone number now this is something that all the phone numbers so basically whatever communication we are going to send for example to we will call a number or we will send a sms to a particular number now that something number should be e164 when i talk about e164 that means that number should not have any kind of hyphen any kind of comma like we normally mention phone numbers in our daily life that's what we provide those numbers or mention somewhere but it should not have any kind of dot comma spaces it should be there's just one number if i talk about for example there's a number called nine nine nine nine normally we put like nine nine hyphen nine nine but in that case an e164 compliant phone number should be for example you have a company a country code plus nine one and then you can mention nine nine again nine nine no spaces no hyphen no comma that's what you called e164 compliant phone number legacy notify if you have older version of service now you might see legacy notify application however servicenow has dedicated this legacy notify application and that means servicenow does not recommend to use legacy notify so i would recommend that if you already have legacy notify you should migrate it to the new one which we are going to talk about in this particular training and i'm not going to talk about legacy notify further as it is not basically supported or i would say not recommended notify application service now comes up with an application called notify which is basically used to manage and configure notify features or whatever functionalities we have in notify application that is something you can configure in this application let's see in my personal developer instance this is my personal developer instance now if i type in application navigator i type notify you will see this application that means that i have already activated this application the plugin for notify and that's the reason you are able to see this application in my personal developer instance let me show you the plugin which we were talking about so if i come over here and i just go to plugins right click on plugins this will open the list of plugins which you have in your instance or which you can install or which you already have in your instance and if i search for notify and yep you can see over here so we have this plug-in and this is what we were talking about so if in your organization you want to install and utilize this notify application the features of notify application then you have to activate this plugin so you have to go to plugins activate it and then you will be able to see that application which we were talking about that is notify application so let's go back to our application so here is the application now the first module in this application is numbers where basically you have the numbers which will be used to trigger the communication like sms or the call now the record is generated automatically over here that means you can see i don't have any new buttons so this will be generated we will see i will show you the practical live example that how exactly uh phone numbers are getting generated in this particular table now one thing one important thing is that that you can you can definitely you cannot create a racket but you can definitely edit it but not all the fields in this particular table or that particular record you can definitely add it but i will show you later then we have number groups now this is something basically if you want to create different buckets and group basically numbers and workflows for different kind of i would say actions or activities like you can see we have conference call group we have notify on task group we have on cl on call group now these are different different workflows as you can see here there are different workflows associated with these groups now if i open one of these so for example if i open this one you can see we have different workflows associated like which which kind of workflow i should initiate if i will have incoming call workflow now these are definitely static but workflow it can be different for tasks it can be different for conferences it can be different for for example on-call schedules so that's something different that's how you can create different groups as of now you have just three out of the box number groups but you can create as per your requirement as you can see we do have that new button over here and i can create a new group as well and at the same time if i open this one you will see here it says notify phone numbers now one group can be associated with one notify basically uh one number i think you can definitely have multiple phone numbers here because if you will have multiple numbers you can definitely add it but i think one number would be associated with only one group that is basically kind of the mandatory thing i would i would say but i will show you those records as well because as of now because i just installed this particular plugin so i don't have any demo data but i will show you the practical example in this session so you will have clear understanding basically crystal clear understanding about notify implementation now the next module we have is provider selector basically here you mentioned the conference provider or a phone number to be used as choices for initiating a conference that's what you can mention over here now i won't show you the practical demo for this particular example uh i think this is something we won't use because a lot of lot of i would say use cases have to be done for for a real environment like for your organization but i just have demo instances so i cannot show you all the examples but you will still get an idea that how exactly you can you can implement notify in your organization then we have calls now here you will have different modules basically which tracks basically different different actions we have taken for example and different activities for example calls this will track all the calls which were triggered with notify whether it was incoming or outgoing that you can see over here then you have conference calls you can track recordings if you have recorded those notify conferences called that's something you can see over here and you can also see messages so if you have sent messages your system has sent messages maybe they have you have received it to you to the same number then definitely you can see those records over here then if i go a little bit bottom here you have administration section in which you can configure different configurations like twilio direct configuration now this is to send communication via twilio which i will show you soon next is sms preference configuration so you can configure the preferences of sms now this is kind of similar to provider selector however this is just for sms and the last one is notify properties in which you can update and sub behavior of some of the functionality of notify the the features you can see these are the limited properties you have not much of properties but that you can enable or mention some data or value in this properties to change or update the behavior tulio let's learn about what is tulio and why we need it with notify and how can you configure it to consent the communication with the help of notify what is tulio tulu is a communication platform which allows developers to make and receive phone calls send and receive text messages and perform other communication functions using its web services apis notify is a feature of servicenow and servicenow is not a telecom service provider so in order to send communication via call or sms we need a different system which can be used to call our sms to different people of an organization which should be integrated with service now that's how you can send that communication because as you know service now just send notification that means email notification you can send sms as well but that is also with a different configuration and that is basically called as email sms configuration but if i talk about overall functionality servicenow can send only email notification but if you want to send if you want to call someone if you want to trigger sms from servicenow then you can have you need some kind of feature or some kind of third-party system which can be integrated with servicenow and then you can use that to trigger those communications notify and tool you servicenow already has partnership with tulu and already developed out-of-the-box integration to use twilio with notify the new users of servicenow can utilize this integration to send the communication in their organization in order to implement effective communication from servicenow for various incidents or events notify and tulio are the best out of the box solution that means service now has already given you that feature ready feature so you don't have to think about that what service provider how i have to call my service provider you don't have to worry about it because note tulio is a platform of communication which is just being integrated with notify in service now and then you can use the power of both the application to initiate different communication you can call someone you can send sms to someone basically for any priority incidents or different kind of issues or emergencies that's what this integration is and as i mentioned you definitely need to implement or you should implement if you really want to make effective communication so rather than looking for any other solution i would definitely recommend because this is totally out of the box notify and tulio would be the best solution for sending communication for calls and sms to your to basically employees or of your organization or maybe the external people as per the use case you have notify antulio driver features service now has notify twilio driver which is basically the actual integration component there are three major features of this driver you can send and receive messages you can send and receive calls you can start and manage conferences so these are the major features so if i give you an example that you got the priority one incident in your organization and maybe there's a guy who is on holiday and maybe his just phone is on or maybe there's no on-call person today and you have to initiate that message that everybody all the important people should get that sms that hey there is a priority one and that's how you can utilize notify and tool your driver to initiate those communications this integration will be really helpful to initiate those communications and send a message or call that person so that you can just reach out to that person and that person can join the calls or or join the conferences as per the use cases or as per the incident or situation you will have in the organization tullio plugin before you can use twilio with notify you need to enable it with the help of plug-in n service now and the plug-in is notify hyphen tulio direct driver and you can see it says install and is again i have already installed in my personal developer instance as well twilio account even you will activate the tullio plugin you still cannot use toolio to send communication as you should have an account in tulu i would say that's kind of an important piece the prerequisite in order to use tulio with notify in service now so overall for your organization you have to purchase an enterprise subscription with tulio if you want to send the communication if you really want to use this sms or call feature now for this demo because i have to show you the practical demo as i was talking about i will create a free account on the studio website so i will create a free account so that i can show you how exactly it is being integrated with notify and how you can use it in your daily use cases from your customer or clients you can access twilio.com in order to register your account so if i do tuleo.com press enter maybe i have given incorrect name i will do it again this time should be fine yep so this is tulio.com where i'll i will basically sign up and create my account so that i can utilize the service and i can also give the demo to you in this particular training but if as i mentioned for your organization you have to register basically you have to get the enterprise account which i'm sure that you cannot do you definitely need to go uh basically with the proper process so that you can get the account registered so in order to do the registration what i have to do i have i have to click on the sign up button so i will click on sign up which will open up basically a page to sign up here it will ask me basically some of the information so maybe i will just type sass and i will just do now so i will give the email address so you can give your personal email address as well so we have given the email address and i will give the password now and then i can just click on this one so i will just select the terms it says enter at least four uh 14 characters so that's fine i can do like this like this so i will click on start your free trial now i will do never for this site now you will see this page where it will ask you to verify the email now you definitely have to verify email and your phone number as well maybe your personal phone number you have to verify it now what i will do i will just quickly verify it once you will verify in your email inbox then you will be routed to this particular page where you have to verify phone number as well so i will just provide my personal phone number so that i can show you this demo so i will just provide my number and i will just click on verify if i will click on verify it will send me a verification code which i need to enter so you will receive a verification code and you have to enter so i will just mention the verification code and then i will click on submit once you will click on submit you will see the main screen the main console but as of now you just need to provide some information over here as well so maybe i will just do you write code yes in python because that's my that's what i have learned python as well so i will just click on skip to dashboard and then you will see the main console now basically tulu basically charges you for every every call or every sms but in your trial account you get free credits which you can use for the testing for demo purpose that's something you can do but as of now you cannot you can still not do anything because you have to first get the trial number in order to get the trial number you have to click on this get a trial number and this will populate that this is the trial number do you want to select this number and if you will click on choose this number then this number will be populated selected on your main screen you will see that it will be reloaded and you can see we got this number from tulio to send the communication and and to to make the calls to send the sms to different people of your organization but this is just for demo purpose as of now so that now this is ready to send the communication but now i will do the configuration so let's do the configuration in service now notify to connect this account with notify so if i go here and i go to twilio direct configuration if i go over there you can see as of now i cannot edit anything the reason behind it it should be in this scope so i will just select the tullio scope so i will select it and then it will allow me to provide the data so you can see i have this accounts sid account token this auth token how can i get this data now this data will be provided by tulio so if i come over here and i have this account sid i can copy this come over here put it like this and then i have odd token i will come here copy this this is the odd token i will come over here and then i will just paste it that's it and then i will click on connect if i will click on connect you will see a pop-up that hey connected connected to twilio that means connection is successful now what i can do i can basically uh do a testing whether this connection is successful or not now you can also see one thing the number which we just got registered so the number is basically mentioned over here same number which we got from tulio you will see in this particular section so now what i will do i will just do a quick testing whether it has been connected successfully or not so if i will click on this button test callbacks so if i click over here you will get two options you can do the testing with calling you can do the testing by sms as well so i will just select sms now here i will provide my personal number so that i can just send an and basically a message so i will do here i will just mention the mobile number my personal mobile number so i can show you that on the screen so i'm going to record my mobile screen as well so that i can show you the same message so i will just do i will not change it maybe i will just uh mention this is from sas now that's it that's what i have mentioned and i am going to click on now if i will click on initiate test sms that means i will get the sms once i will click this button so let me click on this button so i will click on this it says it is successful it was sent successfully i should have received that sms so you can see the screen i'm sharing the mobile screen as well and you can see i have received the message sent from tullio trial account this message is to test if studio can reach out to servicenow instance please ignore this message that's and you can see this is from sas now that was the basically custom uh message we added in our account in our in our testing and that's how you can do testing so testing is successful now i will click on close now at the bottom you can see some advanced configuration of two leo now these are something related to two co-pilot features to improve sms delivery with phone number like using multiple phone numbers to send high volume messages and content intelligence so for example you can see over here like content intelligence to automatically format every message without writing the custom code that you can see intelligence sms handling so i will i won't i will not show you in this particular demo but i just wanted to uh inform you and update you that this is what the feature we have which you can utilize in your implementation for your customers and clients and implement in your organization so another we have here advanced voice features as well now this is something you can enable i don't think this will be enabled these features these advanced features will be enabled directly with our trial account i think it has to be enabled directly with enterprise account like you can see it also mentions the messages over here it says um using cobala uh we may uh may have an associated cost and that's the reason it is asking you to contact tool you support but we are just using i think we are using trial accounts so i won't be able to show you uh in this particular demo but this is how you can also implement in your organization now if i show you one thing which i was talking about earlier so let me go to notify and if i click on this numbers you will see that the same number which we have just got from tullio will be automatically added over here you can see this is my number which i got from tulio and you can see here we have number owner as well and that was tullio direct as i mentioned earlier this is something created automatically but you can still edit something not everything you cannot edit this number you cannot edit the owner but if i open this racket you can see i cannot edit these fields these are read only fields but i can still edit this notify group that means i can add it to the number group so as i mentioned earlier that you can have one number with one group only that means one number can only have one notify group but i think one group can be added to multiple numbers that is definitely possible but one number would only have one notify group and if i click on this you will see that i can select those three groups which are available in this module these are notify phone number groups that's how you can configure over here notify workflow activities servicenow provides out of the box notify workflow activities which you can use to basically manage calls and sms messages in notify most of the activities will be enabled and can be added for notify call table that means if your workflow will be selected for notify call table then only those activities will be enabled and you will be able to use them however there are still two workflow activities which you can still use even if you will select any other table and you can see over here one is call and another is send sms now let me show you the practical example in my personal developer instance that how exactly you can use this workflow activity like one of these but you will use as i mentioned sms in my personal developer instance and how i will receive that sms in my mobile so if i go to my personal developer instance over here now before showing this demo i still want basically maybe i need to create an account where i have to provide my own phone number but that's something that's how i can use it to show you this demo but that's how system will utilize because this number so this number is just for communication but we have to send this uh these communication these sms or phone calls to recipients that means somebody has to receive it to the employees and where exactly though your employees data would be insist user table and where the phone number would be in this user table so in that case what i will do i will quickly create an account or maybe i'll do sysuser dot or or i will just maybe use the existing user maybe apple tutor let's use use this particular user apple tutor and i will give it a give it a phone number in his mobile phone section so i will just give a plus my one so i will provide my mobile number so that i can show you this demo and i will click on save so now apple tutor this architect basically now have my number so whatever communication i will send i will use this number or maybe this user to send that communication now as i mentioned about this workflow activities so before that let me just go to incident what i will do we will we will use this basically activities and i will show you this demo in incident that means i will create incident and i will show you how exactly it can send sms to any person so for that what i will do maybe i will just take an example that i will use um maybe short description starts with or maybe for every priority one let's do that let's let's say if the uh ticket is priority one it should send an sms to a particular number or maybe to the part to the to the person which is basically in the assigned to field so in that case what i will do i will quickly go to a workflow and if i go to workflow and i come over here so i will create a new workflow and we will use the same activity for send sms so if i click on new over here i will give it a name so maybe i will give notify demo now here i will select the table as i mentioned earlier that you can use only two activities with other tables if i go to core as of now you can't see but you have to select the table first then only you can see these core activities of workflow so maybe i will select incident for now and if i select incident and here i will select run the workflow always now here i will select the condition now that condition is priority is one critical the priority is p1 and then i will click on submit my workflow is created but i still need to add that activity and you will see the number of activities over here now i will remove it from here i will put it here and if i scroll a little bit bottom you can see we have these new workflow activities not these activities will only be enabled when you will enable the plug-in of notify so what i will do i will use this one send sms that's what we want to do right now so i will just select send sms and i will give it a name so maybe send sms or maybe notify p1 incident now you you can mention here from basically from which number you want this methods to be sent so in that case if i select over here you will see the same data notify phone numbers why i have blank the reason you have it's blank here i will tell you why i know the reason why it is blank so i will go to notify again now there's a big reason you will understand that why what kind of configuration we need the reason behind it there is no notify group so what i will do i will select a notify group over here so let's say i was selected for notify on task group because that's what we want we want to trigger the communication on the tasks so in that case i will come over here again and this time if i do that yes you can see i have the number now and if i select it so i will select the same number which is basically my number i got it from julio and here you can select basically to whom you want to send this notification so what i will do i will make it to assign to person so i will maybe select the fields here is the assigned to and we have to select apple tutor so what i will do i will just close this and that's it uh what about the method we have message as well so i can i can mention message as well over here so maybe let me make a little bit smaller screen and i can basically mention the method so hi this is a p1 incident let's do one thing let's utilize the fields custom fields as well so maybe i will mention here hi and i will do assign to maybe assign to name uh i will get the first name yes if i will do that yep i have got it so i will do like this and then this is a p1 incident and and i will mention the number and that number would be you can just mentioned number and we have number let's search for number yep uh i think let me i think we are seeing some other fields those were user record fields but i want this one yep i got it and you can see i have this number and i will put it like this so this is p1 and i can just do thanks sas now that's it hi it'll be first name this is a p1 incident number and it will be right here and that's it i will click on submit and i will just add these transitions till here and i will just maybe just try to click on validate i will see if i have any mistakes no and i will just click on publish now it's a time of testing this so if i come over here and i go to incident and i click on new create new and if i because i have to create new incidents so i can put any color i want maybe apple color apple tutor we will not put apple tutor because he he's he's the person who will be assigned to person so maybe i will add somebody else so let's see this one and now here i will just put apple tutor once i will do that so i will just do test for notify and if i click on save let's see what happens again it will not happen anything it will not do anything i have to make it p1 then only my sms will be sent so i will do like this and now i will click on this save which will basically trigger the workflow and with the help of that triggering of workflow it will trigger sms as well so let's see what happens so i will just click so i have clicked on save and let's see if message will be sent so you can see i'm exactly sharing my screen and you can see i have received one message from servicenow basically with the help of studio account and if i show you the message in my mobile absolutely you can see the message which i will have over here sent from tullio trial account hi abel you can see it is also showing you the name of the person which we have mentioned in the workflow and it says this is a p1 incident and it is also showing the incident number and it says thanks as now the same type of method which i was showing you on the screen now this is how you send smf and you can utilize the workflow feature to send the notification method you can also call it you can also trigger the call with the help of this workflow as well notify api servicenow also provides notify apis which you can use to initiate notify calls and messages with the script you need to use snc.notifyclass with different methods you can find this information basically on developer site of service now so let me show you the site where you can find all the methods all the apis we have for notify and i will also show you one example by writing a business rule and i will use this api in in my script as well to trigger the sms so let me go to my personal developer instance over here now before i show you the demo i will just show you the site so as you know i think as a developer you must be aware of this website that is developer.servicenow.com and if you will open this website you will be able to see all the apis related to notify where you just click on reference you have to click on this server global if i click on it it will open up the list of all the apis available and if i open this one notify just type notify uh here you will see the basically api for legacy notify we don't have to see that i will just focus on this one so here we have notify you can see a lot of apis are there and if i click on it you can see we have a lot of apis and the best part is you can also see a lot of examples written in javascript and you can use them in your scripting now in order to show you the demo i will just use one example like one api so that i can show you how exactly it triggers the message so if you will get any kind of requirement from a customer or client maybe it's kind of a custom requirement and you want to maybe send sms for any priority one issue maybe for a major incident issue in that case you can just trigger the sms with the help of scripting so in that case what i will do i will click on this particular api send sms so we are going to use this one now because notify is also pretty much new so what i will do i will just copy this one just to make sure that i am putting all the parameters because you can see because we have to use this send sms method but i have to use parameters which i have to mention over here to trigger it so for that what i will do i will just go to my instance but before that let me just tell you quickly that what all parameters i need to provide so you can see it says notify phone number now it's the same phone number which you basically get from twilio that's something you have to mention over here which will be kind of a from uh from number which will be sent to the uh basically to the user so user will see okay this is the number i got the message from then i have two phone number now here you can mention basically the phone number who should get the message that's something you can mention here but we will make it dynamic and then we have a message body so you can put the body message of the body as well and then we have source then we have source record now this is something source racket that which racket we are talking about which is the source of this particular event that's something you have to mention over here now we will we will use these parameters and this method and we will try to trigger an sms trigger sms and that will be sent to a user and we will we will write that script in business rule so let's let's go to my instance so here's my instance what i will do i will just directly go to business rule now i already showed you how it can trigger sms with workflow but now i will write a business tool now the condition would be let me just write it here so i will click on new the new business rule form is opened but you can see the application the scope is being shown as tullio direct driver but we have to create this business rule in global scope for incident so in that case i will just change the scope and i will make it global now one thing you have to remember the syntax for scoped application would be different if you want to trigger notification for scoped application table so in that case the syntax will be different but if i would say if you can you can definitely find it over here you have the server global and if you will select server scoped you can still find notify as well notify api and methods but that will be in scoped but as of now i am showing you this demo with global application so in that case i have already selected global and i'm going to create a new business rule so i will put it here demo for notify and i will check this box advanced now here i will select after and we will make make it on insert and i will just select over here i will select the condition as well now condition should be let's say priority that's a condition i will mention and priority would be 2 and i will do assign to is not empty because we are going to do the same we are going to trigger this sms to the same assign to user so in that case i will do assign to is not empty i will go here and i will just go to advanced now i have to write the script now what script you can write here so as i mentioned the api that is but in the meantime what i will do i will also copy uh it i think i copied maybe i lost it but let me just quickly check so we have server google um and i can just copy this just to make sure that we are not basically missing any parameter and i will just put it here and that's it so i'm just i will just remove it soon after writing my script now what you need to do you have to basically trigger the sms now for triggering the sms you will start with snc dot notify now this is for global scope you will do then you will do send sms now you have to provide the parameters the first parameter we have is notify phone number notify for that's something you have to provide here and that should be string and again so what i will do i will quickly go to my tullio account and i will copy the number which i have over here over here you can see this is my number and i will just put it here in the string paste it and then i will do comma next parameter is string to phone number that means the person who has to receive the message now we are going to send this sms to the same user apple tutor which we already sent with the help of workflow and we what we will do we will make it dynamic so that it we can change the user if assigned to is changed you can still send the message so in that case what i will do here i will just mention now it has to be string so i will just mention like this single quotation i will do plus and i will do current dot assign to dot because now i'm going to basically dot walk to the users table rackets field so in that case what is that field that is mobile underscore phone because that's where we basically mention i mentioned my number my personal mobile number so that i can get the message so in that case that's what i have mentioned so i will do comma now you are done with basically the target number that something will be picked from this particular string now you have to mention message body how you want to put the message body let's put this message body dynamic as well that means incident number and the short description together so i will start with again quotation so that it can make the string and then i will put here current dot number i can do plus and then i can do quotation and i will just do colon i will do plus and then i can do current dot shot description and comma so that's the third parameter and the fourth and last parameter is glide racket source so maybe i will just make it a little bit bigger screen so that you can see my whole script properly so here you can see we have glide racket source that means and this time our source is current racket now if you are basically doing a glide racket then you can definitely use gr as well if that's a glide record object you have created but as of now it's a current one the current object so i can just put the current one and that's it you're done with the script so i will just click on save and this will send sms to my mobile and i will show you on my screen as well now i'm going to do a test so i will go here go to incident click on create new i will fill the fields now here i will provide the assigned to because that should not be empty and i will put the same user where i have put in my number and i will make it priority high like this so you can see priority is high that means it will trigger the basically fms because that's what the condition it will trigger the business rule because that's what the condition we have mentioned and if your condition will not met then this will definitely not send sms so i will just put here test for notify api so i think all conditions are met and now i will click on save so let's see if i will get the sms and you will see my mobile screen and you can see that i have received the sms for this incident you can see it says incident number test from twilio trial account it says incident number and then test for notify that means our same notify api this short description that's how it sends sms and you can do this for any kind of event any kind of condition even it's a major incident in priority if a kind of emergency for not just for incident table for any table in the system you can use a lot of notify apis and utilize to fulfill the requirement of your customer and clients so this is how you implement notify uh in-service now with the help of tulio and and you can fulfill the requirement for your customers and clients so i hope you will you like this video please put your comments for any feedback for any question uh like like my videos share my videos and do not forget to subscribe to my channels thank you and have a great day

View original source

https://www.youtube.com/watch?v=62OY_GyC8hA