Skip to main content
Roberty Studio
RPAFolders

Rename folder

Rename folder

Renames an existing folder 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 rename, for example /Documentos/Relatórios.

Folder ID​

Enter the folder ID in Google Drive. If provided, this ID is used instead of the path. You can get the ID, for example, from the id return of the Get folder by name action.

New folder name​

Enter the new name for the folder.

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​

Enter the name of the drive to reach. Leave it empty to use "My Drive".

Returns​

This action has no returns.

Rules and Conditions​

  • The Drive connection and New folder name fields are required. Also fill in Folder path or Folder ID; without either, the robot stops the run with an error.
  • When Folder ID is provided, the Folder path, Drive and Only search in "Shared with me" fields are not used.
  • The given folder must exist in Google Drive.
  • The new name affects only the last folder of the path, not the parent folders.
  • With Only search in "Shared with me" on, the Drive field is not used to find the first part of the path.
  • 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.