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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Reply to latest messag...
Power Automate
Answered

Reply to latest message in teams channel. Potentially creating spam

(0) ShareShare
ReportReport
Posted on by

Hello guys!

My task is to create a flow which replies once to a new message in a teams channel. I saw a person who asked this type of question and got a response to basically check the most recent message by using CreateDate as a variable. 

 

However when I've implemented the solution I hit a problem. Whenever I post my initial message I get 1 response, which is fantastic. However if I type another message in the channel, that message will receive two replies. If I type a third message it will receive three replies and so on and so on. This could potentially increase spam and be really annoying in a channel with multiple actual people. 

I am not sure where my mistake is. Any help is appreciated.

 

 

Screenshot 2022-11-29 at 14.37.48.png
flow.png
Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @ilievst  try moving out the Reply with a message in a channel action out of the apply to each, it should be added below apply to each. 

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hi @annajhaveri 

    Thanks for the response! I was able to solve this issue with a lot simpler logic. Image is attached. 

     

    Best regards!

    Screenshot 2022-11-30 at 11.19.55.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard