I want to save the file that i download from email into a variable and late access it

I am unable to save the downloaded files name as variable

Hi @keTan,
You could use something like this:

1 Like

Please use Save Attachments activity to save the attachments into a particular folder. (after first for loop in the attached screenshot)

For example, you are saving attachments into a folder
folderPath = "D:\MailAttachments"

To get the file path of the saved attachment -

From the screenshot above, you can get the attachment name -

attachmentFilePath = folderPath + "\" + attachment.Name

If you have more than one attachment, then save the attachment paths into a list.

Regards,
Karthik Byggari

1 Like

Thanks alot guys it was really helpful

1 Like

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