Browse docs

Microsoft Teams alerts

Post downtime and missed cron job alerts to a Microsoft Teams channel, where your Microsoft 365 team already works.

The Microsoft Teams integration posts one card when an incident opens and one when it resolves. It uses a workflow in the Teams Workflows app: WatchCat sends the alert to the workflow's URL, and the workflow posts it to a channel. There is no app to install in Teams. Microsoft says no premium Power Automate licence is needed for these workflows.

Setup takes four steps: create the workflow in Teams, add its URL to WatchCat, put the integration in a notification channel, and assign that channel to your monitors.

Data note: Microsoft Teams and Power Automate are operated by Microsoft, a US company. The workflow runs in your organization's Microsoft 365 tenant, and the alert is processed by Microsoft even when that tenant is in the EU. See the subprocessors page for details.

Step 1 — create a workflow in Microsoft Teams

Use a standard channel. Workflows have limited support for private and shared channels.

  1. 1 In Teams, open the channel that should receive alerts.
  2. 2 Click the three dots next to the channel name, then Workflows.
  3. 3 Search for webhook and pick the template that posts to a channel when a webhook request is received. Template names vary slightly between Teams versions.
  4. 4 If the template asks Who can trigger the flow?, choose Anyone. WatchCat does not sign in to Microsoft: the signature in the workflow URL is what authorizes each alert, so a workflow limited to users in your tenant rejects them.
  5. 5 Name the workflow "WatchCat", check the team and channel, and click Add workflow.
  6. 6 Copy the URL Teams shows when the workflow is created. It looks like https://….environment.api.powerplatform.com/powerautomate/automations/direct/workflows/…

The URL contains its own access signature. Anyone who has it can post to the channel, so treat it like a password.

Step 2 — add a Microsoft Teams integration in WatchCat

  1. 1 Go to Integrations → New integration and select Microsoft Teams.
  2. 2 Paste the workflow URL and give the integration a name, for example "Teams — Ops".
  3. 3 Save, then click Send test alert on the integration's page and check that the card appears in the channel.

A workflow posts to one channel. To alert several channels, create one workflow per channel and add each as its own integration.

Step 3 — add the integration to a notification channel

Monitors alert through notification channels, not through integrations directly. A channel bundles email recipients and any number of integrations, so one Microsoft Teams integration can serve as many monitors as you like. How notification channels work →

  1. 1 Go to Notification channels → New channel, or edit an existing one.
  2. 2 Under Integrations, check the Microsoft Teams integration you just created.
  3. 3 Save the channel.

Step 4 — assign the channel to monitors

Edit an uptime or cron monitor and check the channel under Notifications. From then on, an incident on that monitor alerts Microsoft Teams when it opens and again when it resolves.

Tip: Turn on Auto-assign to new monitors on the channel and every monitor you create later is covered without another click.

What a Microsoft Teams alert contains

One message when an incident opens and one when it resolves — never a repeat on every failed check. The message is written to be acted on without opening a dashboard first:

Uptime monitor goes down

The monitored URL and check interval, the cause (for example a status code other than the expected one, a missing keyword or an invalid certificate), the regions that saw the failure, the HTTP response, how long it has been failing, a short excerpt of the response body, and links to the incident and the monitor.

Uptime monitor recovers

Total downtime, when it started, the current response, and the cause the incident opened with.

Cron job misses its schedule

The expected interval and grace period, how overdue the ping is, when it was expected, and when the last ping arrived.

Cron job pings again

How long it was overdue, when the ping arrived, and when the next one is expected.

Times are shown in your organization's timezone. The wording is the same in every chat integration, so a team split across tools reads the same alert.

See whether Microsoft Teams accepted the alert

Every request WatchCat sends is recorded on the integration's page: the outcome, the HTTP status, an excerpt of the response, the error if there was one, and how long it took. When an alert seems to be missing, you can tell whether Microsoft Teams refused it or it was never routed there. The log is kept for 7 days on Free, 30 days on Pro, and 90 days on Team.

Accepted is not posted. The workflow accepts each alert before it posts the card, so a successful delivery means the workflow received the alert, not that the card reached the channel. When a card is missing but the delivery succeeded, open the workflow's run history in Power Automate: the failure is recorded there.

Other integrations

A notification channel can hold several integrations at once, so chat, on-call and your own tooling can all hear about the same incident.

Start monitoring in minutes

Free plan available. No credit card required.