Check if it exists
Check if it exists
Checks whether a folder exists at a specific path in Google Drive.
Options
Google Drive account
Select the Connection action set up in the flow.
Drive (optional)
Enter the name of the drive to reach. Leave it empty to use "My Drive".
Folder path
Enter the full path of the folder to check, for example /Documentos/Relatórios.
Returns
Javascript code
js
actions["action-id"].exists // true if the folder exists, false otherwise (Yes/No)
Field selection
- exists — true if the folder exists, false otherwise (Yes/No)
Rules and Conditions
- The Google Drive account and Folder path fields are required.
- This action never stops the run because the folder was not found — use the
existsreturn for conditional flow control.