Created
May 15, 2017 14:31
-
-
Save taija/76c2e22cba7d07e476d0457b4e8cda53 to your computer and use it in GitHub Desktop.
Webhook for integrating Uptime Robot with Microsoft Teams
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"text": " *alertDetails* - ID: *monitorID*. URL: [*monitorURL*](*monitorURL*)", | |
"title": "*monitorFriendlyName* is *alertTypeFriendlyName*" | |
} |
Thanks for this, works a treat :)
Thanks for posting this! Super helpful.
Worked for me, Thanks! Still works three years later. It's surprising that they haven't broken that functionality yet...just give it time.
I'm trying to setup the Connector, but i allways get an Error in the Workflow in Teams:
The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['attachments']' is of type 'Null'. The result must be a valid array.
Any Ideas?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got it working. Hopefully this will help someone else.
In Microsoft Teams:
In UptimeRobot
Add a new Alert Contact...
Alert Contact Type = Web-Hook.
Friendly Name = Whatever you want.
URL to Notify = The URL copied above.
POST Value (JSON Format) =
Send as JSON = Yes
Click Create Alert Contact, then Close.
Edit each monitor and add the new contact.