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 / Reply to latest messag...
Power Automate
Answered

Reply to latest message in teams channel. Potentially creating spam

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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
    Microsoft Employee 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

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