返回 Microsoft OneDrive

將 Knoon AI 與 Microsoft OneDrive (Microsoft) 連接以自動化 AI 工作流程。

Upload a text file to OneDrive from plain text (JSON, logs, Markdown).
microsoftOneDriveUploadText
測試版
權限
  • Files.ReadWrite
可選權限
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
參數
名稱類型說明必填
parentFolderIdfile Optional. Select a OneDrive or SharePoint folder to upload into.
fileNamemustache Name of the text file (e.g. "notes.txt", "data.json").是的
mimeTypemustache Optional MIME type (e.g. "text/plain", "application/json"). Defaults to "text/plain".
contentmustache Plain UTF-8 text content.是的
overwriteExistingboolean If true, overwrite the file if it already exists. If false, return an error.
退貨
名稱類型說明
statusstring UPLOADED or ERROR.
sensitive.fileIdstring DriveItem ID of the uploaded file.
sensitive.namestring Name of the uploaded file.
sensitive.mimeTypestring MIME type as stored in OneDrive.
sensitive.sizestring Size of the uploaded file in bytes as a string, or null if unavailable.
confidential.webUrlstring Web URL to open the file (if available).