Teams Post a Message and set to Important using Flow Designer

daniellebell
Tera Guru

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?

6 REPLIES 6

SanjivMeher
Kilo Patron
Kilo Patron

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.

JaeggerLegane
Kilo Sage

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!

Lam_B
Tera Expert

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...

Amit Verma
Kilo Patron
Kilo Patron

Hi @daniellebell 

 

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.