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 / "when a new email arri...
Power Automate
Suggested Answer

"when a new email arrives (v3) - Subject Filter

(0) ShareShare
ReportReport
Posted on by 2
I want to create a subject filter so that if the subject contain (36456) or (36146) or (36453) , it will run ...
However, I put  (36456) or (36146) or (36453) in the Subject Filter it didn't work as expect...
Did I miss something ?
 
Thanks
Edwin
Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,081 on at
    Provide a screenshot of the trigger in the edit mode.
  • CU27040837-8 Profile Picture
    2 on at
  • Suggested answer
    Infamous_Let Profile Picture
    332 Super User 2026 Season 1 on at

    The subject filter in the trigger is for basic strings not logic. Instead, leave it blank and add a condition action after the trigger with this expression:

     
    or(
    contains(triggerOutputs()?['body/subject'], '36456'),
    contains(triggerOutputs()?['body/subject'], '36146'),
    contains(triggerOutputs()?['body/subject'], '36453')
    )
     
     

    Then put your actions in the "Yes" branch. 

  • Tomac Profile Picture
    4,138 Moderator on at
    To add to the solution proposed by @Infamous_Let, do not put your entire flow in the Yes branch. this can lead to nesting limit issues if your flows get too advanced (there is an 8 level nesting limit). Instead, in the No branch put a Terminate action to shut down the flow is the subject doesn't match, then allow your flow to run as normal below that Condition action.
  • EC-27050322-0 Profile Picture
    61 on at
     
    Thanks for the suggestion.. 
    What is the check box next to OR for ? 
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 411

#3
David_MA Profile Picture

David_MA 337 Super User 2026 Season 1

Last 30 days Overall leaderboard