Sunday, October 3, 2021

Create and add an outgoing webhook in teams

For you technical users, you don't need to build a full-fledged Bot Framework service to integrate a service into a channel. Try a lightweight "outgoing webhook," instead. For example, you can create a webhook to look up a daily weather report or remind you to break for lunch.

Of course, if you are looking to build a more advanced app, we can help you do that, too.

In this article

Create and add an outgoing webhook

Go to the team name where you want to add the webhook and click More options More options button > Manage team. On the Apps tab, click Create an outgoing webhook in the bottom right corner.

Name your webhook, provide an address, description, and profile picture, then click Create.

Important: As part of this process, you'll be assigned a security token. You'll need this token to verify that your message is coming from a trusted source (Teams). We'll only show you the token once, so copy it and store it someplace safe.

For a more detailed technical walkthrough of creating a webhook, see Outgoing webhooks in Microsoft Teams.

If you want to go even deeper, the Microsoft Teams developer platform has info and instructions for creating custom apps.

Use a webhook in different teams

Once you add an outgoing webhook to a specific team, you won't be able to chat with it automatically from other teams. But you can set up a webhook in another team that integrates with the same service. You'll need to go through the setup process each time you want to add your webhook to a new team.

No comments:

Post a Comment