From outlook filter option, we can’t use filter attachments.
After reading mails from outlook using Get Outlook Mail Message activity and will give you output as List of Mail Messages. And then use For Each loop activity to iterate that list of mail messages.
ForEach item in mailMessage
If item.Attachments.Tostring.Contains(“xlsx”)
Then do some tasks
Else
Skip