Microsoft Teams

Last updated:

For message formatting instructions, see this dedicated page.

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 that will map to the channel. Make sure that you copy and save the URL—you will need to provide it to the outside service.
  5. Select the Done button. The webhook will be available in the team channel.

See the Microsoft Teams documentation for more info.

2. Setup webhook in PostHog

Copy the Webhook URL into the PostHog Setup page:

PostHog add webhook

3. Add to action

For each Action that should be posted to Teams, select "Post to webhook when this action is triggered":

PostHog edit action

4. Celebrate!


Was this page useful?

Next article


For message formatting instructions, see this dedicated page . 1. Create app Go to the Slack page to create apps and create a new app. Call it "PostHog" and connect it to the workspace of your choice. Feel free to use an image from here as the app's logo. 2. Create webhook Go to the 'Incoming Webhooks' page for your newly-created app and toggle 'Activate Incoming Webhooks' to turn it on. Then click on 'Add New Webhook to Workspace' and select the channel that the notifications will be…

Read next article