web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Emails (V3) - How ...
Power Automate
Unanswered

Get Emails (V3) - How to add filters for received time range and exact subject

(0) ShareShare
ReportReport
Posted on by

Hi Folks,

 

I'm using Get Emails (V3) action to get an email which was just received when the flow was triggered from power apps. I use do until to get the matching email. I use subject filter, to, cc etc to refine the outputs. However, when I'm using subject filter, it returns all emails that has the text mentioned in subject line. What I'm looking for is to get the email with exact same subject. 

 

Another scenario is that, the email I'm expecting would have been received in last 1 minute. How can add this condition to get emails action, so that it will return emails received between now and utcnow() - 1 minute?

 

My current get emails action is as below:

rbn_nue_0-1659703970207.png

 

Thank you. 

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,058 on at
    Re: Get Emails (V3) - How to add filters for received time range and exact subject

    Use a GRAPH request instead of "Get Emails" action.

  • rbn_nue Profile Picture
    on at
    Re: Get Emails (V3) - How to add filters for received time range and exact subject

    Hi @VictorIvanidze ,

     

    Appreciate your suggestion. But I was wondering if there was any way to narrow the results using get emails action, as using graph will require an API permission to be enabled from AAD.

     

    Thank you. 

  • VictorIvanidze Profile Picture
    13,058 on at
    Re: Get Emails (V3) - How to add filters for received time range and exact subject

    No other way as far as I know, sorry.

  • krishnakumar_R Profile Picture
    108 on at
    Re: Get Emails (V3) - How to add filters for received time range and exact subject

    send me an example or Link @VictorIvanidze 

  • victorcp Profile Picture
    2,350 Moderator on at
    Re: Get Emails (V3) - How to add filters for received time range and exact subject

    Hi,

    try this:
    received>=@{addMinutes(utcNow(),-1)} AND received<=@{utcNow()}

    victorcp_0-1700216292043.png

     

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard