Back to Google Drive
Connect Knoon AI with Google Drive (Google) to automate AI workflows.
Move a Google Drive file to another folder, with optional rename.
googleDriveMoveFile
BETA
Permissions
Optional permissions
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| fileId | file | Select the Google Drive file to move. | Yes |
| destinationFolderId | file | Select the destination folder. | Yes |
| newFileName | mustache | Optional. Rename the file while moving (e.g. "report-final.pdf"). | No |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | MOVED or ERROR. |
| sensitive.fileId | string | Google Drive file ID. |
| sensitive.name | string | File name after move. |
| sensitive.mimeType | string | File MIME type. |
| sensitive.size | string | Size (bytes). |
| sensitive.parents | array | Parent folder IDs after move. |
| confidential.webViewLink | string | Link to open the file in Google Drive (if available). |
| confidential.webContentLink | string | Direct download link for the file content (if available). |




