Copy Drive folder
Copy a folder with all its files and subfolders into another folder.
Command in the Google Workspace toolkit · id ooa.google/drive_copy_folder · 7 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Folder ID | String | No | Folder to copy; or give folder_path instead. | |
| Destination ID | String | No | Folder that receives the copy; next to the original when empty. | |
| Name | String | No | Name of the copy; the original name when empty. | |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. | |
| Folder path | String | No | Path of the folder to copy under My Drive, used instead of folder_id. | |
| Destination path | String | No | Path of the folder that receives the copy under My Drive, used instead of destination_id. |
Outputs
| Output | Type | What it is |
|---|---|---|
| folder_id | String | Id of the new folder. |
| file_count | Number | Number of files copied. |