web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Teams connecter with P...
Power Automate
Answered

Teams connecter with Power Automate

(0) ShareShare
ReportReport
Posted on by 21

I'm using the Teams Get Message action to try and pull messages from a particular chat channel. My issue is that the flow pulls the message but not any replies to the message. 

Any assistance would be appreciated.

 

Thank you.

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Hi there, 

     

    You can use the Graph API "List Replies"

     

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

     

    Here's a blog post that will show you how to walk through it:

     

    https://blog.magnetismsolutions.com/blog/paulnieuwelaar/2021/05/19/get-replies-to-teams-thread-in-power-automate-with-graph-api

     

    (Written by @paulnieuwelaar ) 

     

    Cheers,

     

    Rhia

  • PowerAUser2000 Profile Picture
    21 on at

    Thank you, you answered the question I asked perfectly. I reread my question along with your answer and realized I did not ask the right question. What I'm trying to accomplish is gather all the messages and their replies in a particular Team channel into a spreadsheet or a database of some sort to try and identify any common questions my agents are asking. I would also like to measure how long it took for the agent to receive a reply and what the reply message was.  

  • Verified answer
    Rhiassuring Profile Picture
    8,692 Moderator on at

    Oh, I see! Well. That's a lot. So, your agents are posting the messages into a channel to ask questions, and then you want to gather the answers given -- but you also want to sort of build a little knowledge base and see if you can decrease the same questions being asked? Am I on the right track?

     

    So I guess step 1 is to do the piece from the previous answer (so at least it was useful!) Get those replies for each of your messages. Do a loop to get all messages, and then do a loop within that to get all your replies.)

     

    Next would be to have an Excel table ready to go, that you can store this information into.  (Or a dataverse table, whatever works for you.) In your loop of list replies you would be adding into it.


    Looking at it, the List Replies API gives us some of that data you'll need - the reply itself, of course, the created date time - and you'll have the original message too so you'll be able to use a Date function to minus that date from the message date, that'll give you the response time.

    Now........... finding commonalities between the questions.......... hmm. HMMM. Hmm. Well. 

     

    Okay. There are .. options.

     

    One would be to use AI. Get all your data crammed into that sheet / table, and then use the "extract most relevant words and phrases from text and then classify them into predefined categories". You'd need to do a manual pass there to define the categories, but that's going to make it much easier to start grouping them. 

    I think that's your best option with using the tools available. Is AI an option for you? (Before you answer, if you wonder why I'm asking that, take a look at this - https://powerapps.microsoft.com/en-ca/ai-builder-calculator/ )

     

  • PowerAUser2000 Profile Picture
    21 on at

    Yes, you are on the right track and I think this way will work.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard