Workspace One Intelligence, Custom Connectors and Microsoft Teams

Creating a Custom Automation with WS1 Intelligence


Pre-reqs

Create a new Microsoft Teams Channel

Create a new Postman Collection

Our next action will be to setup a Postman collection. This Postman collection will contain the api actions we to send commands to the Teams webhook we just created. There are 2 possible status messages we can post into Teams, a simple message - think a basic text string, or a "card". The Card has a bit more formatting to it, things like a title, heading and message body. Our postman collection will ultimately allow us to post either type. 

In the left-hand column of the postman window, you should see your new collection you just created 

click the 3 dots and select the new request menu option 

{

   "text": "Hello from Postman"

}

{

   "@context": "https://schema.org/extensions",

   "@type": "MessageCard",

   "title": "Card Title",

   "summary": "Card summary",

   "themeColor": "0072C6",

   "sections": [

       {

           "text": "Card Text",

           "facts": [

               {

                   "name": "Item 1:",

                   "value": "Value 1"

               },

               {

                   "name": "Item 2:",

                   "value": "Value 2"

               },

               {

                   "name": "Item 3:",

                   "value": "Value 3"

               },

               {

                   "name": "Item 4:",

                   "value": "Value 4"

               },

               {

                   "name": "Item 5:",

                   "value": "Value 5"

               }

           ]

       }

   ],

   "potentialAction": [

       {

           "@context": "http://schema.org",

           "@type": "ViewAction",

           "name": "View in UEM",

           "target": [

               "https://UEMConsole.awmdm.com/AirWatch/#/AirWatch/Device/Details/Summary/1234"

           ]

       }

   ]

}

Create the custom connector in Workspace One Intelligence

Creating the automation 


Verify!