Skip to main content
Folders

Move Folder

Move Folder

Moves a folder to a new destination within 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".

Current folder path

Enter the full path of the folder to move, for example /Documentos/Relatórios.

New destination path

Enter the path of the destination folder, for example /Arquivo/2026. Leave it empty to move it to the root.

Create intermediate folders

When enabled, it automatically creates every folder of the path that does not exist yet. Default: disabled.

Returns

Javascript code

js
actions["action-id"].newParentId // identifier of the new parent folder (Text)

Field selection

  • newParentId — unique identifier of the destination parent folder (Text)

Rules and Conditions

  • The Google Drive account, Current folder path and New destination path fields are required.
  • If Create intermediate folders is disabled and the destination does not exist, the robot stops with an error.