Back to Microsoft OneDrive
Microsoft / Microsoft OneDrive
Upload Text File
Upload a text file to OneDrive from plain text (JSON, logs, Markdown).
microsoftOneDriveUploadText
Permissions
  • Files.ReadWrite
Optional permissions
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Parameters
NameTypeDescriptionRequired
parentFolderIdfile Optional. Select a OneDrive or SharePoint folder to upload into.No
fileNamemustache Name of the text file (e.g. "notes.txt", "data.json").Yes
mimeTypemustache Optional MIME type (e.g. "text/plain", "application/json"). Defaults to "text/plain".No
contentmustache Plain UTF-8 text content.Yes
overwriteExistingboolean If true, overwrite the file if it already exists. If false, return an error.No
Returns
NameTypeDescription
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).
Install In Tools

See how to install an app in your tool

Follow the quick walkthrough below to add marketplace apps into your tool flow.

Step 01
Open your tool setup
Start from the tool workspace where you want to add a new app.
Step 02
Go to tools and create button
Open the Tools page, then click the Create button to start adding a new app.
Step 03
Choose Internal or External work
Choose Internal or External work, then select an app action.
Step 04
Select app to install to Knoon
Pick the app you want to install to Knoon and complete the setup flow.
Step 05
Success!
The app has been installed successfully and is ready to use in your workflow.
Power your business with Knoon's Agentic AI today.
Join businesses already resolving thousands of customer inquiries and sales leads with Knoon.