RPAFolders
Check if folder exists
Check if folder exists
Checks whether a folder exists at a specific path in Google Drive.
Options
Drive connection
Select the Connection action set up in the flow.
Folder path on Drive
Enter the full path of the folder to check, 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"].exists // true if the folder exists, false otherwise (Boolean)
Field selection
- exists — true if the folder exists, false otherwise (Boolean)
Rules and Conditions
- The Drive connection and Folder path on Drive fields are required.
- This action never stops the run because the folder was not found — use the
existsreturn for conditional flow control. - With Only search in "Shared with me" on, the Drive name field is not used to find the first part of the path.