Back to Google Drive

Connect Knoon AI with Google Drive (Google) to automate AI workflows.

Copy a Google Drive file to another folder, with optional rename.
googleDriveCopyFile
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 copy.Yes
destinationFolderIdfile Select the destination folder.Yes
newFileNamemustache Optional. Name for the copied file (e.g. "report-copy.pdf").No
Returns
NameTypeDescription
statusstring COPIED or ERROR.
sensitive.fileIdstring Google Drive file ID of the copied file.
sensitive.namestring Copied file name.
sensitive.mimeTypestring File MIME type.
sensitive.sizestring Size (bytes).
sensitive.parentsarray Parent folder IDs for the copied file.
confidential.webViewLinkstring Link to open the file in Google Drive (if available).
confidential.webContentLinkstring Direct download link for the file content (if available).