Hi @gokul1904, I hope you are doing well.
For you current problem statement I am attaching you a workflow which might help you to get your solution. Just add your outlook account in getmail activity and add your download path in save attachments activity. Email_not_pdf.xaml (8.5 KB)
I tried this one but its not working for my case.
In my case , one email contains pdf as well as other format files. I want to download pdf files in one location and other files at another location.
If I am using yours it is saving all the attachments in one location if it contains a pdf.
Hi @gokul1904 ,
that can be achieved just you have to do for each in the download folder with Directory.GetFiles(File_Path) and moving only pdf files to another folder at the end by only checking file extensions.
@gokul1904
for single file in email, its easy but for multiple files first get attachments extension then use loop and match with extensions. otherwise we can hardcode only