Get a Teams webhook URL
Teams webhooks come from Workflows, which replaced the retired Office 365 connectors. Create one from the channel you want Doris to post into.- In Teams, hover the channel name in the sidebar, open the … menu, then choose Workflows.
- Search the templates for
webhookand choose Post to a channel when a webhook request is received. Other templates render Doris alerts as raw data. For a group chat, choose Post to a chat when a webhook request is received. - Confirm the account the workflow runs as. Whoever creates the workflow owns it. If that person leaves and their account is removed, the webhook stops working, so use a shared account for a channel the whole team relies on.
- Select the team and channel, then Add workflow.
- Copy the URL Teams shows. Teams shows it once. To get another, create the workflow again. It looks like
https://<something>.environment.api.powerplatform.com/powerautomate/automations/direct/....
Get a Slack webhook URL
- Go to Slack’s app directory and create an app for your workspace, or open an existing one.
- Under Features, open Incoming Webhooks and switch them on.
- Select Add New Webhook to Workspace, pick the channel and allow it.
- Copy the URL. It starts
https://hooks.slack.com/services/.
Add the channel to a flow step
A channel lives on the step that posts to it. Each Notify person step posts only to the channel it names, so add as many as you need, for example pipeline slips to#revops and onboarding to #csm.
- Open the flow and select the Notify person step. The panel shows its chat channel. While you build a flow with Doris, Doris offers to add a channel in the conversation once the flow has a notify step.
- Select Add a channel. Enter a name that says which room it is, such as
#revops, and paste the webhook URL. Doris works out whether it is Slack or Teams from the URL. - Select Test, then check the channel. A webhook URL does not say which room it points at, so this is the only way to be sure.
Troubleshooting
Doris says the URL is not one it recognises
Doris says the URL is not one it recognises
Doris accepts webhook URLs on Slack’s and Microsoft’s own hosts only. Check you copied the whole URL, including everything after the
?.The test says delivered, but nothing appeared in Teams
The test says delivered, but nothing appeared in Teams
Teams accepts the request before it posts anything. A workflow built from the wrong template accepts Doris’s message and does nothing with it. Open Workflows on the channel, check the run history, and confirm the workflow came from Post to a channel when a webhook request is received.
It worked and then stopped
It worked and then stopped
Open the flow’s notify step and read the last error under the channel. Usual causes are a deleted Teams workflow, a Slack app removed from the channel, or a deactivated account that created the Teams workflow.
Nothing arrives in chat, but the email does
Nothing arrives in chat, but the email does
The step names no channel. Open the notify step and pick one. Adding a channel to one step does not change other steps.