Hi,
Power Automate for desktop retrieves messages with the 'Launch Outlook' action and the 'Retrieve email messages from Outlook' action.
As the 'Retrieve email messages from Outlook' action allows you to save attachments, I suggest that you save the files together in a specified folder and then process only the Excel files with the 'Get files in folder' action.
Regards,
kinuasa
The code below is a sample flow, which you can copy and paste into flow designer.
SET AttachmentsFolderPath TO $'''C:\\Test\\Saved\\'''
Outlook.Launch Instance=> OutlookInstance
Outlook.RetrieveEmailMessages.RetrieveEmailsAndSaveAttachments Instance: OutlookInstance Account: $'''MyAccount''' MailFolder: $'''Inbox''' EmailsToRetrieve: Outlook.RetrieveMessagesMode.Unread MarkAsRead: False SaveAttachmentsInto: AttachmentsFolderPath Messages=> RetrievedEmails
Folder.GetFiles Folder: AttachmentsFolderPath FileFilter: $'''*xls*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files