Uploading files from same folder

image

How can I upload many files of different names from the same folder to this button?

because after i click this button the folder will open
image

Hi @qaz1

1.Use Directory.GetFiles(“Your Folder Path” ,“*xlsx”) .It will read all your files.
2.Use For each activity and pass the variables.

:slight_smile:

@qaz1 what @Sob has mentioned is right here you can do it this way -

This for each will give you full path of the file which you can use to upload file via Choose File button

1 Like

Hi,

So in the for each activity i will just add a click activity etc? I tried but it wont upload the second file…

Yes that is it, you have to upload every file from for each loop. Have you checked your selected that they are working correctly outside the loop? Can you share your workflow