How to setup the Microsoft Teams webhook

Last updated:

You can receive messages in Teams whenever an action triggers.

1. Create an incoming webhook in Teams

  1. Navigate to the channel where you want to add the webhook and select (•••) More Options from the top navigation bar.
  2. Choose Connectors from the drop-down menu and search for Incoming Webhook.
  3. Select the Configure button, provide a name, and, optionally, upload an image avatar for your webhook.
  4. The dialog window will present a unique URL for that channel. Make sure that you copy and save the URL – we will need it in the next step.
  5. Select the Done button. The webhook will now be available in the team channel.

For more details, see the Microsoft Teams documentation.

2. Setup the webhook in PostHog

Navigate to project settings in PostHog paste the URL you copied from Teams into the "Webhook integration section".

Add webhook integration

Click "Test & Save" and you should receive a message on Teams.

3. Post actions to the webhook

For each action that should be posted to Teams, select "Post to webhook when this action is triggered". You can also modify the message format.

PostHog Edit Action

4. Celebrate!

Questions?

Was this page useful?

Next article

How to setup the Slack webhook

You can receive messages in Slack whenever your actions trigger. Note: Currently it's only possible to receive messages in a single Slack channel. If you'd like to receive messages in more than one channel, you can use the Zapier Connector . 1. Create an app in Slack Go to the Slack developer dashboard and create a new app. Call it "PostHog" and connect it to the workspace of your choice. Optional: Feel free to use an image from here as the app's logo. 2. Create a webhook in Slack Go to…

Read next article