
Hi All,
I have built a teams flow that emails members of my team with all posts made in the last 10 minutes whenever a new message is posted in a particular channel.
I am also aware of how to send a weekly update of all new messages in the channel as shown here: https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Send-a-summary-email-of-Microsoft-Team-Channel-conversations/ba-p/243083
However what I want is something that once a day checks if there are any new messages in the channel, if there are it sends out a summary and if there are no messages posted in the last 24 hours it does not send an email (rather than just sending an email containing no messages).
Please could someone advise me how to do this?
EDIT: Please feel free to move this to the "Building Flows" board; I didn't originally notice there were separate boards for building and running flows and I can't work out how to move or delete the post myself.
Hi @MelSmith ,
You could add a Condition under the "Filter Array" action to check the length of the records, and do all your following actions inside the If yes branch of the Condition, leave the If no branch of the Condition blank.
length(body('Filter_array'))
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.