Teams Post a Message and set to Important using Flow Designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 02:29 PM
I'm looking for some help in how to use Flow Designer to post a message in a Teams chat with high importance. I have searched the interwebs without any luck. Has anyone done this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 02:50 PM
I am not sure how you are posting the request to Teams using flow designer, but looks like you can pass importance parameter in the request body as urgent to set it high importance
https://powerusers.microsoft.com/t5/Building-Flows/Sending-Urgent-Message-in-Teams-Chat/td-p/1269862
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 03:01 PM
I've done a use case like this one a while ago and summarized the steps to set this up:
1. Install Microsoft Teams Spoke
2. Create Teams channel
3. Add the app "Incoming webhook" from the Teams app store and add it to the channel in the configuration steps
4. Copy the webhook URL you generated with the app (you'll need this in flow designer)
5. Create a flow in flow designer
6. Configure the trigger (e.g. incidents with priority high)
7. Configure the action and choose Microsoft Teams -> Post Incident Details (in the action you'll need to add the previously copied webhook URL)
If my post helped you, please click the accept solution button and hit the thumbs up! Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:33 PM
Hello Danielle
you can use the spoke microsoft teams graph to post messages in a teams chat, but I'm not sure that we can add the mention high importance to it
link to documentation : https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/integrationhub-s...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 09:11 PM
Assuming you will be making a REST API call from your flow action, you can refer below API documentation to configure this :
https://learn.microsoft.com/en-us/graph/api/chat-post?view=graph-rest-1.0&tabs=http
https://powerusers.microsoft.com/t5/Building-Flows/Sending-Urgent-Message-in-Teams-Chat/td-p/1269862
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.