We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

joeykusky
ServiceNow Employee

 

The large majority of the organizations I work with have invested in an Enterprise Collaboration tool.  In the market, there are two major players that often come up in conversations - Slack and Microsoft Teams. 

ServiceNow IntegrationHub has introduced spokes to integrate with both of these platforms.  Both of these spokes are in our IntegrationHub Fremium package, which includes the spokes as well as one-million transactions.  If you have a question on this package, please contact your ServiceNow sales team with questions. 

In a previous blog post, vNickNow covered integration into Slack with the Blog Post Embedding ServiceNow IT Ops into Slack .  In this blog post, I am going to cover integration into Microsoft Teams. 

 

Step 1: Preparing Microsoft Teams

In order to integrate ServiceNow into Microsoft Teams, you will first want to identify a team you want to send messages to.  In my example, I created a new team called ITOM ihub MS Teams, although you can use any existing team.  Once you have a team identified, you will need to add an app for the incoming webhook.  In the Microsoft Teams app, go into apps and search incoming to find the Incoming Webhook application. 

find_real_file.png

Next you will add a team to the webhook and provide a name

find_real_file.png

 

find_real_file.png

 

When you have finished creating the webhook, be sure to copy the link for later use in ServiceNow.

 

Step 2: Preparing ServiceNow

 

Prerequisites:

  • IntegrationHub plugins are installed on the instance you are using.  Go to System Definition – plugins and search for “flow” to see all of the plugins listed.  All of the plugins starting with the word flow should be in the installed state.find_real_file.png
  • Ensure your user account in ServiceNow has the flow_designer role assigned.  Contact your ServiceNow administrator to request this access.

Step 3: Creating Flows

Example Scenario:

The Security Operations team primarily uses Microsoft Teams for team communication.  They have asked about leveraging Microsoft Teams to see incidents in ServiceNow.  You want to create a flow that takes all new incidents assigned to the Security Operations assignment group and posts them into a Microsoft Teams Channel. 

 

  • Open Flow Designer and create a new flow find_real_file.png
  • Name your flow and add it to the Global find_real_file.png
  • Create your trigger conditions
    • New records (created) on the incident table
    • Filter by assignment group – Security Operations

      find_real_file.png
    • Create your actions
      1. Under Add an actions select Microsoft Teams and Post Incident Detail find_real_file.png
      • Add your webhook URL, Drag the Incident Record Pill over to the incident field, and create a title for your post find_real_file.png
      • Click Done
  • Save and Test your flow
    • Save the flow
    • Identify or create an incident record already assigned to the security operations group and copy that record
    • Click the test button on the top right hand of the flow
    • Choose your incident record
    • Watch your Microsoft Teams Channel to see if the test was successful.  You should see the following in your channel find_real_file.png

Summary

Using the standard Microsoft Teams spoke you can post messages, incident details, change details and problem details into a Microsoft Teams channel creating better collaboration in your enterprise.

In the next blog post, we dive into management of Channels and Teams using the Microsoft Teams Graph Spoke released in the ServiceNow store.

Notes:

Microsoft Teams Documentation
https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/administer/integrationhub/referen...

Slack and Microsoft Teams: Is Enterprise Collaboration a Two Horse Race? https://www.cmswire.com/digital-workplace/slack-and-microsoft-teams-is-enterprise-collaboration-a-tw...

 

10 Comments
taylor21
Mega Expert

This is a wonderful guide, thank you! Is it possible to send messages directly to users in Teams using this spoke? 

Inactive_Us1335
Kilo Explorer

Tried it works charm thank you 🙂 , do we have some more integrations to Servicenow using O365 suite?

 

dharanikumar
Giga Guru

Hi Taylor,

Were you able to send the messages directly to the users using this spoke please?

Thank you!!

Kumar

Gowtham Reddy A
Tera Explorer

Hello joeykusky, 

Can you share the details to onboard groups from ServiceNow to Microsoft Teams using graph spoke.

Thanks in advance

Vivek47
Tera Contributor

Hi,

Any article to update back ServiceNow record from MS teams?

Thanks,

Vivek

Donald Small
Giga Contributor

Great article.  Is there a way to pass an attachment (like a screenshot) from an incident to a Teams message?

Donald Small
Giga Contributor

I don't think Microsoft support @ mentions through the web connector yet.  But from what I have read, it is coming in a future release of Teams.

dharanikumar
Giga Guru

Hi All,

How can we remove or modify the below highlighted button from the MS Teams notification please?

find_real_file.png

Thank you!! 

Enrique Tabalon
Kilo Guru

@joeykusky 

I'm trying to follow the steps but our instance is now on Utah and when doing step #3 under creating an action, if I selected the Post Incident Detail, the required fields on the form is not the same as what you have.

 

The Webhook URL is missing. 

 post incident detail.png

adminperson
Tera Contributor

Is it possible to add the webhook to a private teams channel, or does the channel have to be public?