Integrating Microsoft Teams with Energy Monitor

Energy Monitor allows for sending for notifications from hosts and services to your Microsoft Teams server.

In order to set it up the following must be done:

Note: You must have access to Power Automate, therefore you must have acquired Office365 license.

Setting up

  1. Enter “M365 Copilot” -> “Apps” -> “Power Automate

Integration_with_MSTeams

  1. Enter “Templates” -> “Search Webhook” -> “Post to a chat when a webhook request is received

Note: Energy Monitor accepts only webflows with ID 94557.

  1. Create” -> “Edit” -> “When a Teams webhook request is received

Integration_with_MSTeams

  1. Copy the url under “HTTP URL field”” and “Save


Integration_with_MSTeams

  1. In Energy Monitor “create a contact”:

Integration_with_MSTeams

What we want from this section is the “Webhook”, which is a method for sending data in real-time using HTTPS requests, with the POST method.

  • Webhook, the URL, must be placed as the value of a custom variable named “_WEBHOOK

Integration_with_MSTeams

  1. In Microsoft Teams, in Workflows sub-app, You need to add the Webhook onto a team and channel, chosen for receiving notifications.

    • On the screenshot, the chosen option states to send an email when an event created by the workflow, occurs.

Integration_with_MSTeams

  1. If done correctly, the chat in the channel will be able to receive notifications from Energy Monitor.

Integration_with_MSTeams Integration_with_MSTeams

Note: Please be mindful to pick the option with the ID of 94557.