This is pretty easy.
Prerequisites -
- In Microsoft Teams, select a team and a channel for that team (the channel you want notifications sent to).
- In Microsoft Teams, choose the More options (⋯) button next to the channel name in the list of channels and then choose Connectors.
- Look through the list and at the Incoming Webhook connector, click Configure.
- Give the webhook a name and a custom icon and click Create.
- Next, copy the webhook URL. You will need it to configure this in Blue Prism
How it Works -
Cards are basic building block; they are not new and being used as part of Outlook and office 365. Microsoft has provided various option sand types of Cards those can be used to perform required operation.
All what is needed is -
- Webhook URL - https://outlook.office.com/webhook/XXXXXXXXXXXXXXXXXXXXXX/IncomingWebhook/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXX
- Message Card (JSON)- This will contain some required tags and some optional values [Check type of Cards ]
- { "@type": "MessageCard", "@context": "https://schema.org/extensions", "summary": "A test build notification via REST 4", "themeColor": "0078D7", "title": "A test build notification via REST ", "sections": [ { "activityTitle": "Title test", "activitySubtitle": "Subtitle test" },{ "activityTitle": "Title test 4", "activitySubtitle": "Subtitle test" } ] }
- Then Use of HTTP Methods such as (GET/POST) to perform required task.(Using HTTP VBO)
Bit Caution -
- Outgoing webhooks are limited now and currently being reviewed by security team and only work with publicly exposed (Accessible from outside fil network…such as exposed services via Layer 7)
- For the "Message Card Playground" (i.e. test JSON code), use one of the two following URLs:
Further Reference -
https://docs.microsoft.com/en-gb/outlook/actionable-messages/message-card-reference
------------------------------
Satish Prasad
Senior Analyst Programmer
Fidelity International
Asia/Dili
+91 9999230159
------------------------------