How to setup the Microsoft Teams webhook

Last updated:

|Edit this page

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

In PostHog, navigate to the action that you'd like to receive webhooks for. Then 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. Our new realtime Slack destinations is currently in preview. It provides more formatting options, a revamped configuration UI, and the ability to send events or actions. Go to its listing in the data pipeline docs to learn more. 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…

Read next article