Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Sending out Automated Emails

Like (0) ShareShare
ReportReport
Posted on 2 Dec 2024 13:30:49 by 704
Hello,
 
I have a flow which sends an automated email to senders, from a shared mailbox.  I have a condition on it, which looks to see if the subject line contains 'Re:', 'Fw:', and if it does, then the flow should not send the automated reply. It should only send if it is a new email, but not a reply.
 
What we have found though is, an externals automated response is sending an email back to the shared mailbox when they receive our reply, but the subject does not contain Re or Fw.  it looks like a new response, so it sends the automated email to them, which then generates another automated response back to us.
 
It it then in a loop and the shared mailbox is getting filled with hundreds of responses.
 
Is there a better way to build this flow?
 
This is the current set up:
 
 
The first condition (Condition 2), just lists if the email is from specified members of staff then to do nothing, anything else will continues to the next condition.
 
The next condition (Condition 1), looks like this:
 
 
If true, then to do nothing, if false, the next condition checks the email address.  If internal then follows the true path, if external, then follows the false path.
 
The reply that is sent back to the external, the subjects is set as
 
Re: {Subject}
 
But when the automated email is sent from the external company back to our shared mailbox, it doesn't have RE or FW at the start of the subject line, so it keeps going down the false path.
 
Any suggestions on how we can achieve this or set this up better?
 
thanks
 
 
  • Verified answer
    DBO_DV Profile Picture
    4,536 Super User 2025 Season 1 on 02 Dec 2024 at 14:06:06
    Sending out Automated Emails
    Hey, 
     
    Maybe you can try to find something else that helps you identify those automatic mails. 
    Something like the mail adress noreply@domain.org. 
    Or if the Body contains something like do not reply. 
     
    You could add some sort of approval that if they have something like this it sends an approval to you. if you accept it sends the mail if you decline it doesn't send an automatic mail. 
     
    If this solvede your porblem please accept it as solution so others can find it as well. 
    If it helped in any other way consider liking it so we can keep supporting eachother. 

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,079 Most Valuable Professional

Leaderboard
Loading started
Loading started