G Suite Folder Identification

What is the input string to Decide from “Find files and folder” activity, whether a folder Exist in Google drive or not? I don’t want my bot to look into the subfolders. I want to to look for the folders only on Drive (root) and not inside any of the folders.

I am giving the below string in the “Search Files and folder” activity

chr(34) +“name= '”+ DataRefreshSearch+"’ and parents in ‘"+ParendIDMFR+"’"+chr(34)

DataRefreshSearch is the variable containing the folder name.
ParendIDMFR is the output ID of the activity “Create Folder”. It’s the ID of the parent folder.

But it is giving error.

Can someone please help…

Thanks in advance… :slight_smile:

https://forum.uipath.com/t/can-i-get-all-the-ids-of-the-files-inside-a-google-drive-folder-using-google-gsuite/107025/6

Maybe it is helpful to someone.