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 Automate - Building Flows
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. 

 

I have the same question (0)
  • VictorIvanidze Profile Picture
    12,847 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
    12,847 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,347 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard