返回 Microsoft OneDrive
将 Knoon AI 与 Microsoft OneDrive (Microsoft) 连接以自动化 AI 工作流。
Upload a text file to OneDrive from plain text (JSON, logs, Markdown).
microsoftOneDriveUploadText
测试版
权限
可选权限
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| parentFolderId | file | Optional. Select a OneDrive or SharePoint folder to upload into. | 没有 |
| fileName | mustache | Name of the text file (e.g. "notes.txt", "data.json"). | 是的 |
| mimeType | mustache | Optional MIME type (e.g. "text/plain", "application/json"). Defaults to "text/plain". | 没有 |
| content | mustache | Plain UTF-8 text content. | 是的 |
| overwriteExisting | boolean | If true, overwrite the file if it already exists. If false, return an error. | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| status | string | UPLOADED or ERROR. |
| sensitive.fileId | string | DriveItem ID of the uploaded file. |
| sensitive.name | string | Name of the uploaded file. |
| sensitive.mimeType | string | MIME type as stored in OneDrive. |
| sensitive.size | string | Size of the uploaded file in bytes as a string, or null if unavailable. |
| confidential.webUrl | string | Web URL to open the file (if available). |



