返回 Google Drive
Google / Google Drive
Upload Text File
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
权限
可选权限
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| parentFolderId | file | 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. | 没有 |
| fileName | mustache | Name of the file in Google Drive (e.g. "data.json", "notes.txt"). | 是的 |
| mimeType | mustache | Optional. MIME type to assign to the file in Drive (e.g. "application/json", "text/plain", "text/markdown"). Defaults to "text/plain" if omitted. | 没有 |
| content | mustache | Plain text content for the file. This can include JSON, logs, or any UTF-8 text. The encoded file size must not exceed 100MB. | 是的 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| status | string | UPLOADED or ERROR. |
| sensitive.fileId | string | Google Drive file ID of the uploaded file. |
| sensitive.name | string | Name of the uploaded file in Google Drive. |
| sensitive.mimeType | string | MIME type of the uploaded file as stored in Drive. |
| sensitive.size | string | Size of the uploaded file in bytes as a string, or null if unavailable. |
| confidential.webViewLink | string | Link to open the file in Google Drive (if available). |
| confidential.webContentLink | string | Direct download link for the file content (if available). |
在工具中安装
查看如何在您的工具中安装应用
请按照以下快速指南,将市场应用添加到您的工具流程中。
步骤 01
打开你的工具设置
从您想添加新应用的工具工作区开始。
步骤 02
前往工具并点击创建按钮
打开工具页面,然后点击创建按钮开始添加新的应用。
步骤 03
选择内部或外部工作
选择内部或外部工作,然后选择一个应用操作。
步骤 04
选择要安装到 knoon 的应用
选择您想要安装到 Knoon 的应用并完成设置流程。
步骤 05
成功!
应用已成功安装,现可在您的工作流中使用。
立即使用 Knoon 的 Agentic AI 为您的业务赋能。
加入已经通过Knoon解决数千个客户咨询和销售线索的企业。