Find Match from Sharepoint and DU Queue

I have a task where I need to compare the files in a SharePoint folder with the items in the DU Queue.
The catch is that the filenames are not fixed — they are long number sequences.

For example, a filename could be: 198787565748387534.jpg

If this filename is found in the DU Queue, I need to download the file.

Note: I am new in UiPath, Please help me to know the activities needed or steps its okay if this highlevel steps. Thank you so much

Hey @Elle,

Use SharePoint activities to get the file list and extract filenames. Get DU Queue items using Data Extraction Scope or Get Queue Items and collect their references. Compare both lists and if match found, use Download File from SharePoint to download.

Use get Queue items activity then loop through the QueueItems using for each activity and use asssign activity to get the filenames into a variable then get the files from sharepoint using Fiind files and Folders or Get File list activitythen extract the filenames without extension and after that compare both the filename if matched then download the file using Download File activity.

Happy Automation

@Elle

can you please make it more clear when you say DU queue?

what do you want to achieve by downloading?

cheers