Wróć do Google Drive

Połącz Knoon AI z Google Drive (Google), aby zautomatyzować przepływy pracy AI.

Download a file from a public URL and upload it into Google Drive, optionally inside a specific folder. Maximum supported file size is 100MB.
googleDriveUploadURL
BETA
Uprawnienia
  • https://www.googleapis.com/auth/drive.file
Uprawnienia opcjonalne
  • https://www.googleapis.com/auth/drive
Parametry
NazwaTypOpisWymagane
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.Nie
fileUrlmustache Public HTTP/HTTPS URL of the file to download and upload (e.g. "https://example.com/image.png"). The URL must be accessible from the server and the file size must not exceed 100MB.Tak
fileNamemustache Optional. Name of the file in Google Drive (e.g. "invoice-123.pdf"). If omitted, the name will be derived from the URL or response headers.Nie
mimeTypemustache Optional. MIME type to assign to the file in Drive (e.g. "application/pdf", "image/png"). If omitted, it will be inferred from the HTTP response headers where possible.Nie
Zwroty
NazwaTypOpis
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).