If you installed the Microsoft Teams integration before 27 March 2026, you will need version 5.0.3 of the MS Teams plugin and obtain a new incoming webhook URL using Power Automate, as described in this guide.

The Matomo Microsoft Teams plugin lets you deliver reports directly to Microsoft Teams where your team can receive regular analytics updates. This feature is available in Matomo Cloud for configuration and On-Premise users can install it from the Matomo Marketplace.

This guide explains how to obtain a Microsoft Teams Incoming Webhook URL for use with Matomo.

  1. Go to Power Automate.
  2. Click My flows in the left menu.
  3. Click New flow at the top.
  4. Select Instant cloud flow under Build your own from blank.
  5. Provide a name for the flow – Matomo Bot.
  6. Select When a Teams webhook request is received by scrolling down in the list and click Create.
  7. Click the plus + icon.
  8. Search for Post messages in a chat or channel and select Post messages in a chat or channel under Microsoft Teams.
  9. Select Post in as Channel.
  10. Select the appropriate Teams and Channel ID.
  11. Under the message, add @{triggerBody()?['text']}.
  12. Select the option, When a Teams webhook request is received.
  13. Change Who can trigger the flow? to Anyone.
  14. Click Save located at top right section of the page.
  15. Once saved, copy the HTTP URL and save it securely; this is your Webhook endpoint.
Previous FAQ: How to integrate Microsoft Teams and Matomo