How to download attachments using Download Email Attachments

I tired using the “Download Email Attachments” activity of the Office 365 activities. The dependency in my project is “UiPath.MicrosoftOffice365.Activities”: “[3.2.10]”.
This is my workflow:


I am not able to download the attachment.
How do I download the attachment to a designated folder?
Am I correct in using the “Save Email Attachments” activity despite using all other email activities from the Office 365 activity?

@RobinsonFrancis

you dont need to use save email attachments again..doewnlaod attachments will already dowload the file to a temporary folder…if you want to move it then you can use move file activity to move it

also to know the path use outputvariable(0).LocalPath as its a list 0 will give first item..similarly you can access multiple in loop

Hope this helps

Cheers

2 Likes

Hello @RobinsonFrancis

As @Anil_G mentions, the Download Email Attachments activity already saves the files locally.
You would create a new variable to store the Attachments, iterate them, and move them to your desired folder.

I have attached an example below.

Regards
Soren

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.