Forum Discussion
lakshay451
Sep 12, 2021Former Employee
In-app notifications for apps in MS teams
I am working on developing an app for MS Teams. I want the app to send in-app notifications to user, to engage the user and draw his/her attention on action item. Could someone please guide how can I...
ChetanSharma-msft
Microsoft
Sep 25, 2021lakshay451 - Please let us know if you still need any help.
Thanks,
Chetan Sharma
------------------------------------------------------
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.
lakshay451
Sep 27, 2021Former Employee
ChetanSharma
This is activity feed notification, is it possible to send notifications in apps that are added in MS Teams ?
Also, can I send this activity feed notification using Logic apps based on some trigger ? If yes, could you share some documentation how ?
This is activity feed notification, is it possible to send notifications in apps that are added in MS Teams ?
Also, can I send this activity feed notification using Logic apps based on some trigger ? If yes, could you share some documentation how ?
- Prithvi-MSFTSep 28, 2021Former EmployeeHi lakshay451,
It will not be possible to send notifications inside app that are installed in teams. However if you want to send notification to a particular app you can integrate bot and send proactive message.
Also you can send activity feed notifications using logic app. You will have to trigger the graph API mentioned here https://docs.microsoft.com/en-us/graph/teams-send-activityfeednotifications- lakshay451Oct 06, 2021Former Employee"send notification to a particular app you can integrate bot and send proactive message"
Could you tell how can this be achieved ?- Petter Skodvin-HvammenOct 06, 2021Copper Contributor
lakshay451 It's not clear how you define "in-app notifications", however you have multiple ways to tackle this.
- Send a chat message to a user or channel message to a team, with your desired content and a deep link to content within your app. The message may be formatted as plain text, markdown or as an adaptive card
- Build UI inside your app that draws attention to particular contents of your app. This will not draw attention to your app, but to particular content within your app. This could be coachmarks, teaching bubbles, first-run splash screens, etc
You can send messages using a custom bot you implement, or using Microsoft Teams connector from a Power Automate flow or Azure Logic App.
Some relevant links:
- https://docs.microsoft.com/en-us/connectors/teams/
- https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links
- https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages