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
  • https://www.googleapis.com/auth/drive.file
Optional permissions
  • https://www.googleapis.com/auth/drive
Parameters
NameTypeDescriptionRequired
fileIdfile Select the Google Drive file to move.Yes
destinationFolderIdfile Select the destination folder.Yes
newFileNamemustache Optional. Rename the file while moving (e.g. "report-final.pdf").No
Returns
NameTypeDescription
statusstring MOVED or ERROR.
sensitive.fileIdstring Google Drive file ID.
sensitive.namestring File name after move.
sensitive.mimeTypestring File MIME type.
sensitive.sizestring Size (bytes).
sensitive.parentsarray Parent folder IDs after move.
confidential.webViewLinkstring Link to open the file in Google Drive (if available).
confidential.webContentLinkstring Direct download link for the file content (if available).