Notifications
Announcements
Is there a way to set a 'post a message in a chat or channel' action is an 'Urgent' message?
I can get the message to flow into the chat that I want but I want it to specifically be marked as Urgent.
Would love this to be possible!
Hi @Emmaburt26,
Unfortunately the importance property is set as a default to normal in that action.
A workaround could be to use an HTTP request and POST the message via the Graph API, https://docs.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http. This way you can set the importance property yourself.
Below is an example with the Invoke an HTTP request action.
This requires a premium action.
{ "subject": "This is very urgent", "importance": "urgent", "body": { "content": "This is a Flow test, this is urgent", "contentType": "html" }, }
Btw, also make sure that you configure the Base Resource URL and Azure AD Resource URI correctly within the connection
Thanks for the reply, I don't have premium 😫
Good to know there is a work around though
I totally forgot about this new sweet non-premium action called, Send an HTTP request to Office 365 Groups. It is still in preview, however it can do the same job:
https://docs.microsoft.com/en-us/connectors/office365groups/#send-an-http-request
Hi @Expiscornovus Thank you for your work :). Your post is very helpful but i dont have an idea how your getting your channel/conversation URI in your flow.
Could you share this?
Hi @MichalPro,
In my setup I was testing with one specific channel and one specific conversation. In that setup I stored the Channel Id in a initialize variable action of type string.
I retrieved the channel id in the get link to channel options. That link should also contain a Channel Id, which should look something like below:
19:1172bde8739742b69419eb0980fcde33@thread.tacv2
However, do you want to retrieve this dynamically or are you looking for a id of one specific channel? Also depends a bit on your flow setup. Can you share a screenshot of what you currently have?
Hi @Expiscornovus
Thank you for interesting 🙂I know how to find Channel/Conversation ID (i dont need to find it dynamically) but using it in URI field in Sending HTTP Request isn't working for me. Automate needs URI of the channel/conversation not the ID.
That URI field should contain the whole graph uri. So, it would need to be:
https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/messages
Replace (team-id} your specific team id and {channel-id} by the channel id you tried to use in your earlier screenshot (19:1a06 etc.)
Thank you for your help. I was looking to find a way to send urgent messagfe to conversation, not the channel but thanks to your advise I figured out how to create URI.
my URI is: https://graph.microsoft.com/v1.0/chats/19:1a06bee3cf6945c6b70089a239c76277@thread.v2/messages
Unfortunately, this feature is not working for me and I dont know why my URI si not valid.
Your URI looks valid. It is probably failing because this resource type is not supported in the type of action (Invoke an HTTP) you are using. Try a different type of action like HTTP or one of the Send an HTTP request actions.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 519 Super User 2025 Season 2
Tomac 296 Moderator
abm abm 232 Most Valuable Professional