Teams Bot with external Trigger

Copper Contributor

I have a product information management system and my plan is, to trigger a Teams Bot if the validation of a new product fails. The Bot should then post a Message to a given Teams Channel to inform the users that anything goes wrong.

I found just samples for Teams-Triggering initiated by the user or a given Temas event. But is it possible to send a notification from outside of Teams?

 

3 Replies

@saigkill - You can send the notification in Teams Channel from outside of Teams using following 2 ways:
1. Incoming webhook.
2. Activity feed notification

Using Bot to send notification from outside of Teams it's not feasible.

Thanks,
Nivedipa
-------------------------------------------------------------------------
If the response is helpful, please click Mark as Best Response and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

Hello @Nivedipa-MSFT. Thank you for responding. I have some further questions.

What would be the workflow of a activity feed notification?

As far as i understand, I get a API request (my app is a web api, which gets input from a neighbour system)  to my app with a model, what contains all needed information. And i send this via a Graph-API-Request (like https://learn.microsoft.com/en-us/graph/teams-send-activityfeednotifications?tabs=http#request-5) to Teams. Is this right?

@saigkill - Could you please refer below document for workflow of Activity feed notification.
https://learn.microsoft.com/en-us/graph/teams-send-activityfeednotifications?tabs=http