How to download dynamic file path from google drive

I want to donwload a file from google drive but the file name and path depends on early stages (means that the path changes dynamically). For example, I am watching for new files in some folder. If a new file appears, I parse it’s path (let’s call it pathA), and extracting some variables to build a new path (path B). Now, I want to download the file in path B. I don’t have it’s file ID or it’s name before I parse the path… how can I do it ? can it be done for all files (google sheets, google docs etc) ? thanks…

Hey there,

could you please share some screenshots of your scenario?

I have a module to watch a folder in Google drive. If a new file appears I parse it’s path with “google drive - get file path”. Than I use text parser to search some patterns and than I want to download a file from google drive based on the found patterns…

1 Like

Hi,
You can use the Google Drive search module to find the file in the question and the download it.

I come from a software background and want to recursively search for a file path. As I understand the Google Drive search module only searches a file/folder only one level deeper and not recursively…
In more detail: I get parts of the final path from several Google sheets. For example: from sheet A I get pathA, from sheet B I get pathB… and then I want to look for a file that contains pathA/pathB in its path… is there a quick and convenient way to do it?