Extract FileID from Google Drive Find Files And Folders

Hi everyone!

I am struggling with this issue:

I need to find all of my PDF files in a Google Drive Folder and download all of them to my PC’s HD, and for that, I’m using the “Find Files and Folders” command.
The issue is: when I try to download each of the files (using the “For each” command), it keeps getting stuck.
From the research I’ve done so far, the bot is not able to find the FileID from the output variable for “Find Files and Folders”.
Is there a way for me to extract those FileID’s for each of the results?

Thank you!

Hi did you resloved I am getting the same issue

Yes! If you set the for each activity to operate using TypeArgument “Google.Apis.Drive.v3.Data.File” you are able to use functions to return metadata such as Id.
In the image below there is an example of how you may return the File Id for each item in an array of Files returned by the “Find Files and Folders” activity.

I hope it helps :slight_smile:

Yeah…yess it is resloved thanks fr the response but do u download the file from specific folder in driver

I was trying to download the file but it’s showing thz error

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.