logo

NJP

ServiceNow Flow Designer: Integration Hub + Spokes | ServiceNow Tutorial

Import · Aug 01, 2022 · video

[Music] today we're going to talk about flow designer and more specifically integration hub within flow designer so let's start with the most obvious question what is integration hub integration hub is an extension of flow designer that allows you to communicate with external systems so if you're familiar with workflows in servicenow you would use orchestration activities to facilitate this communication to an external system flow designer uses integration hub more specifically it uses spokes to facilitate this communication so the next question what are spokes spokes are bundled sets of tasks that you can use to facilitate the integrations that you want to build that communication with an external system so for example out of the box when you have integration hub starter pack or enterprise whatever you have you'll get a set of spokes that you can use out of box slack is one of the more popular ones and the spokes provide you actions that you can use to push messages or receive messages from that third-party external system of course if there's not a spoke that fits your needs you can create a spoke by creating an action and that would be your your custom spoke in which you can use other integration hub features like a rest step or a script step to build out your integration the way you need to build it out so now that we know what integration of is and a spoke is where does it live well you might have guessed it lives in flow designer but let's take a look at where it actually pops up in flow designer and really there are three main areas that you'll find the integration hub extension in flow designer so i'm going to create a new flow you just call it test skip our tour and the first place that you may notice integration of would be in the trigger so as i open here you'll see that i have a rest api asynchronous trigger that i can use to ingest inbound web services and trigger my flow to do whatever i design it to do so this is the first place you might see integration hub this is perfect for use with web hooks and it is a new feature i believe that was recently added in one of the last two releases so you'll see you can provide a path and a method for it and you can set up authentication so this is the first place you might see something with integration hub then if i go to add an action to design my flow you'll see what we were talking about when uh we were talking about spokes microsoft ad microsoft sccm microsoft teams and of course the famous slack web hooks so these are just bundles of actions that you can use to facilitate that conversation between servicenow and whatever whatever other external system that you want to you would provide your details here you would set it up and done and you have your communication in some cases you may need to set up credentials which you can do in the connection and credentials application where you can use aliases as as needed and then you would just set that up associated with your particular spoke and you're off on your way to integration now of course although while there are a lot and i mean a lot of different spokes you'll see down here the ones that are not installed there are plenty of spokes you may have a need to do something more specific or custom so the third place we would see integration hub rear its head when you're creating a custom spoke so to create a custom spoke i would just create an action and i would define my inputs and and any steps that i need to take one of those steps would be the actual communication with the external system so i would add a new step here and when i scroll down i can see under utilities this script step with integration hub enabled will allow me to write a custom script to create the web service or make it easy on myself i can come down here to integrations and either create a rest web service with the rest app or powershell or sftp soap ssh jdbc so a lot of different integration options here when you need to create a custom integration this is the third place you'll see integration hub pop up and that is a quick intro to integration hub and spokes just as a reminder integration hub is an extension of flow designer and you'll see it in three main places here in the trigger with the rest api trigger in multiple spokes that you can find in your actions and then of course when you're creating a specific action you will see it when you're adding steps thank you for listening you

View original source

https://www.youtube.com/watch?v=BKzSHZzbV2Q