แก้ไข

แชร์ผ่าน

Build Outgoing Webhooks

Important

The existing Microsoft 365 (previously called Office 365) connectors across all cloud platforms are nearing deprecation, and the creation of new Microsoft 365 connectors will soon be blocked. For more information on the schedule and how the Workflows app provides a more flexible and secure experience, see retirement of Microsoft 365 connectors within Microsoft Teams.

Webhooks help Microsoft Teams to integrate with external apps. In Teams, the Outgoing Webhooks act as bot and search for messages in channels using @mention. The Outgoing Webhooks allow users to send messages to web services without performing the entire process of creating bots through Microsoft Bot Framework. The Outgoing Webhooks post data from Teams to any service capable of accepting JSON payload.

Key features of Outgoing Webhooks

  • Send notifications to any external web service.
  • Respond with rich text messages including cards and images.
  • Receive messages in public channels and not within the personal or private scope.
  • Send HTTP POST to web service and get response.

Note

The Outgoing Webhooks can't access any other APIs, such as retrieve the roster or list of channels in a team.

This step-by-step guide helps you to create Outgoing Webhooks in Teams. You'll see the following output:

Screenshot shows Outgoing Webhooks in Teams channel.