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?
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.