Skip to content

How to Prevent Email Triggers from Firing in Power Automate

Last week, I wrote a blog post that explained how to configure an email trigger for multiple strings. In other words, kick off the Power Automate flow when an email arrives with “Bug” or “Change Request” in the subject. I posted it on LinkedIn, and someone responded with a comment that showed how the same settings can be used to prevent email triggers from firing, such as when people reply to or forward an email with your subject filter. I love this use case, so I thought I’d explain it in its own post. Read on to learn more.

PreRead

If you haven’t read it, check out this post on how to build email triggers for multiple strings. You’ll learn how to use more than just the subject filter in an email trigger.

It will show you how to use the trigger conditions in Settings.

Use Case

In my original post, I created a Power Automate flow to trigger when an email arrives with the subject “Bug” or “Change Request”. It accomplishes this with the following expression placed in the trigger conditions section of Settings (shown above)…

But, what happens when people respond to that original email or forward emails? My trigger condition doesn’t address this. It needs more.

So, I would like to like to thank Prasanna B for responding to my LinkedIn post. He posted the following screenshot. As you can see, he adds additional conditions using NOT that specifically tell Power Automate not to trigger when it finds replies or forwards.

This means the flow will trigger for “original” emails only and prevent email triggers from firing when emails are replied to or forwarded. Adding these trigger conditions will make the Power Automate flow much more robust and reliable.

Other Sweet Power Automate Content

6 thoughts on “How to Prevent Email Triggers from Firing in Power Automate”

  1. Pingback: How To Grab Data from PDFs with Power Automate AI Builder » The Analytics Corner

  2. Pingback: Where Do You Write Expressions in Power Automate? » The Analytics Corner

  3. Thanks for this article and your previous article!

    I’m in a similar situation – I’m trying to populate a SharePoint list based on emails that are received by an IT email account. However, sometimes someone might “respond” to an email and send it to IT, so I was wondering if I could set up a trigger to NOT include any emails that have [ITemailAddress@email.com] in the body text. I tried using the syntax from above, but it didn’t work. Do you know of an easy way to search for a specific string within the body of the email to exclude from triggering the flow?

    1. I don’t think you can modify the trigger in this way, but you can add a condition after the flow triggers to either keep it going or stop it based on the content of the email body.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.