I am new to UiPath and have been trying to get the mails that contain PDF attachment only from outlook. Other mails that do not have PDF attachment should not be returned. I am trying to use GetMail activity of MicrosoftOffice365 and need help to provide this filter in query property. I came across this query( /me/messages?$search="attachment:api-catalog.md") in Use the $search query parameter in Microsoft Graph - Microsoft Graph | Microsoft Learn but not able to use it. Please guide.
Can you refer to the below. Instead of excel replace with the pdf. Then check for the folder for the attachment. If file saved, then for that particular email or item you can use to read.
hi, the query thing for attachment didn’t work for me. I could make the query work for getting mails from specific sender, after that I looped through the output to get the attachments whose name contained “.PDF” in it.