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:
- When a new channel message is added
- Delay 5 minutes
- Get Messages
- Filter Array - (This has to filter the results of Get Messages)
- Message Reply Parent Id is equal to the trigger Message Id
- Apply to Each - (This uses the Filter Array as the source)
- Add Rows into table
Employee 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