返回 Google Drive

将 Knoon AI 与 Google Drive (Google) 连接以自动化 AI 工作流。

Upload a text file to Google Drive from plain text content (e.g. JSON, logs, or simple text). Maximum supported file size is 100MB.
googleDriveUploadText
测试版
权限
  • https://www.googleapis.com/auth/drive.file
可选权限
  • https://www.googleapis.com/auth/drive
参数
名称类型描述必填
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.没有
fileNamemustache Name of the file in Google Drive (e.g. "data.json", "notes.txt").是的
mimeTypemustache Optional. MIME type to assign to the file in Drive (e.g. "application/json", "text/plain", "text/markdown"). Defaults to "text/plain" if omitted.没有
contentmustache Plain text content for the file. This can include JSON, logs, or any UTF-8 text. The encoded file size must not exceed 100MB.是的
回报
名称类型描述
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).