Hello community!
Is there a way to sort the emails retrieved with the "Retrieve email messages from Outlook" action, but based on the Date or any other variable property?
Currently, I have the next flow:
It opens Outlook and retrieves the emails in the 2nd action.
If I open the RetrievedEmails variable, I get the following:
However, I need to have them organized in a descending order, based on the .Date property.
With that being said, the RetrievedEmails[0] value would always be the last received email.
Is there a way to do that?
Thanks for the help.
Regards.
Hi @ricardopq97
Pls use "Sort list" action to sort emails by date in descending order:
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2