Overview:
Step 1: Log in to your MS Teams account
Step 2: Install the Workflows app
Step 3: Creating a New Workflow
Step 4: Selecting a Webhook Template
Step 6: Choosing a Team and Channel
Step 12: Configuring the Webhook URL
Step 13: Confirming Successful Integration
Step 1: Accessing Your Private Channel Workflow
Step 3: Editing the Adaptive Card Step
Step 4: Configuring the Post Card Action
Step 5: Changing the "Post as" Parameter
Canary supports outgoing Webhooks from your Console to an endpoint of your choice. This event-driven approach means you get your alerts in real-time! We support your favourite apps, such as Slack, Splunk, and also support Generic Webhooks.
Private channels: If you need to set up a Webhook notification for a Private channel, there are a few extra steps at the end of the article that need to be followed after Step 7. Private channels have a lock icon next to the channel name in Microsoft Teams.
Follow the steps below to set up Webhooks for MS Teams on your Canary Console:
Step 1: Log in to your MS Teams account
Step 2: Install the Workflows app
If you haven’t already, install the Workflows app.
1. Click on Apps in the sidebar.
2. Search for Workflows.
3. Click Add to install the app.
Step 3: Creating a New Workflow
Open the Workflows app and click on the Create button.
Step 4: Selecting a Webhook Template
1. Search for the template Post to a channel when a webhook is received.
2. Select the template by clicking on it.
Step 5: Naming Your Workflow
1. Enter a name for your new Workflow.
2. Click Next.
Step 6: Choosing a Team and Channel
1. Select the team where the channel is that you would like webhook alerts posted to (the dropdown menus could take around 10s to appear).
2. Select the channel.
3. Click on Create flow.
Step 7: Copy Webhook
1. Copy the webhook URL that's generated.
2. Click Done.
If you're adding a webhook to a Private channel, follow the steps at the bottom of the page before proceeding. If not, you can proceed with step 8.
Step 8: Log in to your Console
Step 9: Go to Settings
2. Then click on Global Settings.
Step 10: Adding a New Webhook
1. Scroll down and click on Webhooks.
2. Then click on the + button in the menu that slides down.
Step 11: Select new Webhook
Click Add MS Teams in the modal that appears.
Step 12: Configuring the Webhook URL
1. Paste the URL that was copied earlier from the MS Teams Workflow setup into the Webhook URL text input.
2. Click Save.
Step 13: Confirming Successful Integration
A message from us will then be posted to the channel that was selected when the Workflow was set up to confirm that the integration has been set up successfully.
That's it!
Private channels
Because of the way that Microsoft Teams handles Workflows, a few addition steps are required to configure the Webhook to work in Private Channels.
Step 1: Accessing Your Private Channel Workflow
Open the Workflows app like we've explained above, and then click on the Workflow that you've just created for a Private channel.
Step 2: Edit mode
Click on the Edit button.
Step 3: Editing the Adaptive Card Step
Open the Send each adaptive card step by clicking on it.
Step 4: Configuring the Post Card Action
Open the Post card in a chat or channel action by clicking on it.
Step 5: Changing the "Post as" Parameter
Open the dropdown menu for the "*Post as" parameter and change it from "Flow bot" to "User".
Step 6: Save
Save the Workflow.
Now follow the rest of the steps here.
You're done!