Microsoft Teams
Post project events and monitoring alerts to a Microsoft Teams channel.
You need a webhook URL for the channel. Create one with the Workflows app, from the template that posts to a channel when a webhook request is received. An older incoming-webhook connector URL works too.
Project events
Send spec uploads, docs publishes, SDK builds and the project's other events to Microsoft Teams.
- Open the webhooks
Open Integrations in the project sidebar, choose Microsoft Teams under Notifications and paging, then Add a webhook (Manage webhooks once the project has one).
- Add a Teams webhook
Press New webhook, choose Teams, and paste the workflow's webhook URL.
- Pick the events
Forward only what you need, or use Select all. Then press Send test to check a message arrives.
Each message is an Adaptive Card with the project's name and what happened, the format both Workflows and the older connectors accept. For every event and the delivery log, see webhooks.
Monitoring alerts
Send error spikes, new issues and regressions from your API's monitoring to Microsoft Teams.
- Open the alert rules
Open Monitoring, then the Alerts tab, and create a rule or edit one. The Microsoft Teams card on the Integrations page links there too, and lists the rules already using it.
- Choose Microsoft Teams as the channel
Pick Microsoft Teams and paste the workflow's webhook URL. Alert channel addresses must be public
https://URLs: Octri refuses a private or internal address.
Each rule has one channel. To reach several places, make a rule for each. See alerts for the rule kinds, windows and cooldowns.