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 / Get Emails (V3) - Find...
Power Automate
Answered

Get Emails (V3) - Find "TOP 1" email in a folder, the original source email

(0) ShareShare
ReportReport
Posted on by

I have an automated flow that runs when a new email arrives. It checks a reference in the new email to lookup an email with the same reference to return the original sender, so I can automatically forward the new email to them.

 

The issue I have is the "Top 1" option doesn't have an "Order By" option, so it returns the most recent email.

 

Is there a way I can order the results by received date ascending or exclude "RE:" and "FW:" subject lines to get the original source sender?

 

marklunn_0-1678819101094.png

 

Thank you,


Mark

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @marklunn ,

     

    Please try the api .

    vxiaochenmsft_0-1678851291239.png

    https://graph.microsoft.com/v1.0/me/messages?$filter=subject eq '<subject>'

     

    Best Regards,

    Wearsky

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 516

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 470

Last 30 days Overall leaderboard