Save attachment and move the file

Hello everyone, I hope you are doing well.

My goal is to download/save an attachment from an Outlook message and move that attachment/file to a new folder. The problem is that the move file activity needs the name of the file in order to move it. I would be very grateful if someone could help me.

Best regards

Hi @achalisma,

Welcome to UiPath!

I hope this post will give you an idea:

Get the name of the attachment

Thanks,
Neelima.

Hi @achalisma,

refer this thread i hope it works.

Thanks,
Shikhar

@achalisma
“C:\ADMINISTRACION\Downloads\RPA\” + Today+ ”\“FileName.eml”

Hope this will help you

Best Regards,
Vrushali

I looked into the thread “How to get the filename of attachment?” and I found an .xaml file with the code. Sadly it won’t open and I would like to ask you if you can make a screenshot of the code because I didn’t manage to do it yet :sweat_smile: