RPAFolders
Get folder by name
Get folder by name
Gets the detailed information of a folder from its path in Google Drive.
Options
Drive connection
Select the Connection action set up in the flow.
Folder path
Enter the full path of the folder, for example /Documentos/Relatórios.
Only search in "Shared with me"
Turn this on when the folder was shared with the connected account instead of owned by it. The first part of the path is then looked up in Shared with me: /Client folder points to a folder shared directly with the account, and /Client folder/2026 to one of its subfolders. Default: off.
Drive name
Enter the name of the drive to reach. Leave it empty to use "My Drive".
Returns
Javascript code
js
actions["action-id"].id // unique identifier of the folder (Text)
actions["action-id"].name // folder name (Text)
actions["action-id"].createdTime // creation date (Text)
actions["action-id"].modifiedTime // date of the last change (Text)
actions["action-id"].shared // whether the folder is shared (Boolean)
Field selection
- id — unique identifier of the folder (Text)
- name — folder name (Text)
- createdTime — folder creation date (Text)
- modifiedTime — date of the last change (Text)
- shared — whether the folder is shared (Boolean)
Rules and Conditions
- The Drive connection and Folder path fields are required.
- If the folder is not found, the robot stops with an error.
- With Only search in "Shared with me" on, the Drive name field is not used to find the first part of the path.