Download files and save them in a new folder each time they are downloaded

Hi, how are you?

I’m trying to make a robot that downloads all attachments from my email that have a specific keyword and then saves all of them in a new created folder. This way, everytime I run it, a new folder is created and all the emails that meet the criteria get downloaded in that new folder. The only input it needs is the folder in which this new folder should be created.
In order to do this, first I used the “Create Folder” activity in which I created a variable called “MailFolder” and wrote it down in the Output. Then I used the Create Directory activity. I know that in order to create a new and different folder each time, I should add some kind variable after “MailFolder” in the path. What should I add? Can you please help me with this?

Thanks in advance!

welcome to uipath community

here you go with few examples

kindly have a view on these threads and let know for any queries or clarification
Cheers @mbertuzz