How to send ens.alerts to MS teams
Hi,
I'm trying to send alerts in Ens.Alert process to a teams channel.
I have already created a production that transforms the incoming alerts and send to a set of user's email but I also wanted to sent it to the teams channel
Any thoughts around this?
Product version: Ensemble 2018.1
You need to configure an incoming webhook on the MS Team Channel and then post your alert to that endpoint from your production. Probably would have to do transformations between Ens.Alert to the JSON structure MS Team requires.
https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-c...
https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-c...
This article from @Kurro Lopez can help you:
https://community.intersystems.com/post/how-send-messages-microsoft-teams
Easiest way is to enable the TeamsChanel email address:
.png)
use the supplied email address as a TO address and the alert will popup in the channel as seperate message.