RPAFolders
Create folder
Create folder
Creates a new folder at a specific 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 to create, including its name, for example /Documentos/Relatórios/2026.
Create non-existent folders in path
When enabled, it automatically creates every folder of the path that does not exist yet. Default: disabled.
Only search in "Shared with me"
Turn this on to create the folder inside a folder shared with the connected account. The first folder of the path is then looked up in Shared with me: /Client folder/2026 creates the 2026 folder inside the shared Client folder. Default: off.
Drive name
Enter the name of the drive the folder will be created in. Leave it empty to use "My Drive".
Returns
Javascript code
js
actions["action-id"].id // unique identifier of the folder created (Text)
Field selection
- id — unique identifier of the folder created in Google Drive (Text)
Rules and Conditions
- The Drive connection and Folder path fields are required.
- If Create non-existent folders in path is disabled and some folder of the path does not exist, 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.
- With Only search in "Shared with me" on, put the shared folder before the new folder's name; if the path holds only the name, the folder is created in the selected drive.
- Create non-existent folders in path does not create the shared folder: if the first folder of the path is not in Shared with me, it is created in the selected drive.
- On shared items, what the robot can do depends on the permission the owner gave the connected account. Without edit permission, Google Drive refuses the operation and the robot stops the run with an error.