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 / How do I create a flow...
Power Automate
Unanswered

How do I create a flow based on an email subject not matching criteria

(0) ShareShare
ReportReport
Posted on by 6

Hi team,

I'm needing to set up a flow for triggering an email forward when a certain subject(s) is not present in the subject line.

 

I've set up flows for when a subject does contain required text, but would like any without not meeting such criteria to be forwarded to my inbox.

 

Does this make sense?

Any help appreciated.

Thanks

Categories:
I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @JoeCallander ,

    in the Trigger, click on the 3 dots and "Setting":

    MarconettiMarco_0-1658986837028.png

    Then, in the "Trigger Conditions" section add the following expression:

    @not(contains(triggerOutputs()?['body/subject'], 'test'))

    and select "Done". Please replace "test" with the value you want to filter out.

    MarconettiMarco_1-1658986933298.png

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

  • JoeCallander Profile Picture
    6 on at

    To add multiple triggers do I just separate via comma?

     

    EG.

    @not(contains(triggerOutputs()?['body/subject'], 'AR-LM', 'AR-SB', 'AR-RT', 'AR-RADIO'))

     

     

    Thanks!

  • Verified answer
    MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @JoeCallander ,

    you can add multiple trigger conditions as below:

    MarconettiMarco_0-1658990465634.png

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard