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 / 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
    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

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard