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 / Subject Filter x Searc...
Power Automate
Suggested Answer

Subject Filter x Search Filter

(0) ShareShare
ReportReport
Posted on by 2
I have a flow that uses Get Emails v3 to fetch emails from a shared box.
 
I did the test, without any type of filter, and the emails are returned normally.
 
Now I need to filter so that it brings records that only have certain words in the subject (ex: nr. 123) 
 
If I use the subject filter, according to the documentation, I am limited to email boxes that have up to 250 messages. I actually took the test and it doesn't show the record. To prove that my filter was working, I used one of the emails returned in the first test where I didn't use any filter. And the record was returned.
 
I also tried using the search filter. I tried every way, but without success.
 
What is the correct way to search using the search filter?
 
I tried the following ways:
subject: *123*
subject = 123
123
*123*
 
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    11,695 Super User 2025 Season 2 on at
    As far as I know, you should be able to use most (if not all) the search filters as shown here:
     
     
    example: 

    subject:"bobby moore"

    Items whose subject contains the phrase bobby moore.

     
    Ellis
     
  • Suggested answer
    abc 123 Profile Picture
    784 Moderator on at
     
    The hint in the parameter says to go to this link:
     
    which is 100% useless, as it only has a single paragraph that reroutes you to here: (Thanks interns!)
     
    which leads to:
    $search="subject:has"&$select=subject
    unfortunately, this is not the direct syntax for the Flow.
     
    Finally, if you expand the Advanced options, there exist an input of "Subject Filter"
     
     
    With that, you would simply enter 494301. (Although you might have to wrap that as String(494301).
     
     
  • marcos.rocha.tracbel Profile Picture
    2 on at
    Hi abc 123 . I followed all the paths you mentioned, but none of them were clear enough to tell me how to do it.
    I also tried using the subject filter, but as I mentioned in the post, this filter is limited and can only be applied if the mailbox has less than 250 messages (which is not my case).
    So it won't work.
     
    Hi EKarim , thanks for the link. I did some tests as mentioned, but for some reason it's not working.
    See below that the message exists in the configured folder, inside the shared box, but it doesn't return any records.
    OBS: If you use double quotes, it gives an error. I tested it with single quotes, it doesn't give an error, but it doesn't work either.
     
  • Suggested answer
    Ellis Karim Profile Picture
    11,695 Super User 2025 Season 2 on at
    The subject filter I use:
    subject:Expense Claim Status Change


    Please check the "Fetch Only Unread Messages". I think you need to set this to NO.
     
     
    Ellis

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 507 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 267 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard