XMatters Message > MS Teams

Not Yet Reviewed

Is it possible to trigger a flow when our Xmatters group receives a notification/message then automatically posts the message body/details on MSTeams? Thanks.

0

Comments

3 comments
Date Votes

Please sign in to leave a comment.

  • Hi Jose,

    A rough idea to look at is to add a custom step which would post a chat message to Teams using their API:
    https://docs.microsoft.com/en-us/graph/api/chat-post-messages?view=graph-rest-beta&tabs=http

    Once you can do that manually, you can create a step in Flow Designer to do the same thing and all you need to think about is the trigger. Do you want something in the xMatters event to cause a POST to go out (like someone responded to the event with x or device notifications were delivered to person Y) or is it something like a comment you want posted back to Teams? Once you know the trigger you can add that to the flow too as the first step, then the custom step to post to Teams and connect them - pass along the data you want to send or script it in somehow and voila - you have an ad-hoc integration!

    If I infer a bit more - you want to basically create an event in xMatters then post the event ID/details to the channel? Then the event status to started should be enough of a trigger and you should be able to dig out the event details like the event ID, maybe the recipient name so we know what group it was sent to and the description or some such for context.

    I know it's not a fleshed out step by step answer but there's enough there to at least start something. If you need more guidance you can post back with your questions!

    0
  • Basically what we wanted to happen is, when our Xmatters group receives a message/notification from someone, the body or details of the said message is posted automatically on our MS Teams channel. 

    0
  • Thanks for the help guys. Will read through the shared links and will explore for now. :)

    0

Didn't find what you were looking for?

New post