Back to Google Drive

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

Upload an attachment file to Google Drive, optionally inside a specific folder. Maximum supported file size is 100MB.
googleDriveUploadAttachment
BETA
Permissions
  • https://www.googleapis.com/auth/drive.file
Optional permissions
  • https://www.googleapis.com/auth/drive
Parameters
NameTypeDescriptionRequired
parentFolderIdfile Optional. Select a Google Drive folder to upload the file into. If not set, the file will be created in the root of Google Drive.No
contentattachment Attachment file must not exceed 100MB.Yes
Returns
NameTypeDescription
statusstring UPLOADED or ERROR.
sensitive.fileIdstring Google Drive file ID of the uploaded file.
sensitive.namestring Name of the uploaded file in Google Drive.
sensitive.mimeTypestring MIME type of the uploaded file as stored in Drive.
sensitive.sizestring Size of the uploaded file in bytes as a string, or null if unavailable.
confidential.webViewLinkstring Link to open the file in Google Drive (if available).
confidential.webContentLinkstring Direct download link for the file content (if available).