Hi ,
I am new to RPA currently I am learning Automation in UI Path I have tried email attachments download it will create a folder but it does not have any attachments in it. how to solve this?
Main.xaml (13.0 KB)
Can’t download the xaml. Can you show which activities you used to download the attachment?
Alright!
The Download Email attachments activity saves the attachments at this location: C:\Users\{username}\AppData\Local\Temp\
.
You will have to use Move File
activity to move this file downloaded file to desired folder path.
Welcome to community!!
please follow below video tutorials, you will get clear idea on gmail activities,
Happy Automation!!
I have made some modification in flow but still it does not download attachments in folder. Folder is created but still empty.
Can you try another full path of the folder including drive.
This just to test if it’s path issue or activity configuration issue.
It has to work, and check as well by giving any other full path.
And also check whether that email having attachment or not
I have gave full path unfortunately it does not save attachments in folder. But it shows message log with 1 email retrieved. I can not find the solution for this issue.
Hi @sivanandham_R,
The email that you showed has 4 attachments, but your log message in this screenshot shows only 1 attachment,
I’m assuming it’s this log message that you’ve shown before:
Which in this case is CourseEmails.AttachmentCount = 1
Could you please verify if the right email is being retrieved?
Hi,
Thanks for your quick reply.
I have filter that has subject Invoices, it should have attachment in that email and I attached screenshot. My gmail does not contains subject line Invoices other than this one.
Even if it retrieved 1 attachment from email it should be available in folder right?. But my flow has no attachments were saved in folder.
I set mark as read once automation completed but still it does not change to read messages in my gmail.
Anyone Suggest a solution for above?
Can you please share the workflow screenshot and Try to debug the flow and in immediate panel check currentemail.attachments.count