cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

How to find a reply is posted in team channel thread ?

How can I find a reply is posted in a message thread of the team's channel?  

 

P.S: I have a workflow which will post a message when order is placed and required people will discuss about that order and once order is completed , we want to post a final automated reply to that message thread that order is shipped and no more discussions around this is neeeded

1 REPLY 1
Super User II
Super User II

Hi @Phani,

 

Do you want to implement this in the existing flow or in a new one?

 

If you have the message id in your flow a possible solution could be to query the replies of that post with a List channel message replies Graph API call, via a HTTP trigger action.

https://docs.microsoft.com/en-us/graph/api/channel-list-messagereplies?view=graph-rest-1.0&tabs=http

 

getmessageidreplies.png

 

Btw, keep in mind that this one of the protected APIs from Microsoft Teams, so you can only use delegated permissions.

https://docs.microsoft.com/en-us/graph/teams-protected-apis

 

And you need to register an app in your Azure AD and assign the delegated permission to that app in order to be able to call the Graph from your flow. An example of such registration can be found in this blog:

https://www.lee-ford.co.uk/using-flow-with-graph-api/

 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (50,635)