Skip to main content

Notifications

Community site session details

Community site session details

Session Id : tBUgQ3U+4mu88oBaSNpLnL
Power Automate - Building Flows
Unanswered

Time stamp for a reply on teams

Like (0) ShareShare
ReportReport
Posted on 31 Jul 2023 17:57:09 by 4

I need to track the time of response of a teams channel, my flow goes:

 

When a new channel message is added

 

Add row in to a table

 

  • USER : Message From 
  • Message id: Message id
  • Message Time: Message created time
  • Reply Time: Message lastModification

Delay - 5min

 

Update a row.

 

  • Key column: Reply time
  • Key Value: Reply time⁠
  • Last User reply: ⁠User
 
So, i do get the parent messages details, however, doesn't got the replies. 


Any suggestion?
 

  • Danielbecerra Profile Picture
    4 on 07 Aug 2023 at 21:20:55
    Re: Time stamp for a reply on teams

    after several try and different options provided by chatgpt and other sources i was unable to get only the reply... 
    ill keep looking for a solution thank you

  • wskinnermctc Profile Picture
    6,517 Super User 2025 Season 1 on 01 Aug 2023 at 21:08:07
    Re: Time stamp for a reply on teams

    I was thinking about this after I posted, and I am probably thinking about this incorrectly. I don't use Power Automate with Teams, and I don't have a Teams to even do testing with.

     

    I don't fully understand the relationship between messages and parent messages or the difference between chats and messages.

     

    I do think you should try one testing something though. Since the initial trigger is when a message is created and it is a snapshot of that message at creation therefore you can't see any replied.

    Just get the message again after the delay and it should include the replies information.

     

    So try something like:

     

    • When a Message is Created
    • Delay 5 Minutes
    • Get Message (single message - not Get Messages like my first example)

    wskinnermctc_0-1690924046381.png

     

    Then see if you get any of the reply information you can use from that Get Message step.

     

    Sorry I can't be more help,

     

     

     

     

     

  • Danielbecerra Profile Picture
    4 on 01 Aug 2023 at 15:34:45
    Re: Time stamp for a reply on teams

    ill try it right away, thank you!, we run a service desk where our time of response must be under 2 min, just a quick "side chat" or "i can help you do the work". saddly dindt work only reads the first message. 

     

    Danielbecerra_0-1690904044892.png

     

  • wskinnermctc Profile Picture
    6,517 Super User 2025 Season 1 on 31 Jul 2023 at 18:59:26
    Re: Time stamp for a reply on teams

    I'm glad I don't have a 5 minute time requirement to respond to teams messages,

     

    You will have to add more steps to get messages after the 5 minute delay. The initial trigger "When a new channel message is added" is like a snapshot of data. There is no reply information for the trigger because it was just created.

    Waiting 5 minutes doesn't change the data that was in the initial trigger.

     

    So you need to wait 5 minutes, then Get Messages from that teams channel and filter the messages that have a Message Reply Parent Id that is the same as the initial trigger message id.

     

    So it will be something like:

    1. When a new channel message is added
    2. Delay 5 minutes
    3. Get Messages
    4. Filter Array - (This has to filter the results of Get Messages)
      • Message Reply Parent Id is equal to the trigger Message Id
    5. Apply to Each - (This uses the Filter Array as the source)
      1. Add Rows into table

    Employee Response TrackerEmployee Response Tracker

     

    I have never done this before and did not test this flow. But it will need to be something similar where the message triggers the flow and then you will have to go back and get data after the delay.

     

    Good luck, hope these people are responding within 5 minutes 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,089 Most Valuable Professional

Leaderboard