김동원
김동원

Reputation: 31

How can Microsoft team automatically do outgoing webhook?

I am developing MS teams bot.

I am creating a function to send a webhook automatically when I receive a message.

The development was carried out by referring to the URL below.

https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-outgoing-webhook

Like the URL above, teams support outgoing webbook. However, the outgoing webbook must manually enter @mention in the chat window for the bot to work.

I want to tag @mention automatically when I receive a message Is there a way to do a webhook?

Even if it's not an outgoing webbook, The robot or ms flow can receive messages and send messages automatically. I want to develop a robot.

You also need to provide that bot for use by multiple teams.

Upvotes: 0

Views: 1062

Answers (2)

Subhasish
Subhasish

Reputation: 509

You can subscribe to notifications for Microsoft Teams messages. This feature is available in beta on the Microsoft Graph API.

Upvotes: 0

Adam James
Adam James

Reputation: 4191

I'm not sure if you can automatically sync all messages in a channel. But you can use the graph API to constantly check the channel for new messages and pull them into your service.Graph API

Upvotes: 1

Related Questions