Skip to main content

OneDrive

OneDrive is Microsoft’s cloud storage and file synchronization service that allows users to securely store, access, and share files across devices. Integrated deeply into the Microsoft 365 ecosystem, OneDrive supports seamless collaboration, version control, and real-time access to content across teams and organizations.

Learn how to integrate the OneDrive tool in Klyntos to automatically pull, manage, and organize your cloud files within your workflows. This tutorial walks you through connecting OneDrive, setting up file access, and using stored content to power automation. Ideal for syncing essential documents and media with your agents in real time.

With OneDrive, you can:

  • Store files securely in the cloud: Upload and access documents, images, and other files from any device
  • Organize your content: Create structured folders and manage file versions with ease
  • Collaborate in real time: Share files, edit them simultaneously with others, and track changes
  • Access across devices: Use OneDrive from desktop, mobile, and web platforms
  • Integrate with Microsoft 365: Work seamlessly with Word, Excel, PowerPoint, and Teams
  • Control permissions: Share files and folders with custom access settings and expiration controls

In Klyntos, the OneDrive integration enables your agents to directly interact with your cloud storage. Agents can upload new files to specific folders, retrieve and read existing files, and list folder contents to dynamically organize and access information. This integration allows your agents to incorporate file operations into intelligent workflows β€” automating document intake, content analysis, and structured storage management. By connecting Klyntos with OneDrive, you empower your agents to manage and use cloud documents programmatically, eliminating manual steps and enhancing automation with secure, real-time file access.

Usage Instructions​

Integrate OneDrive into the workflow. Can create, upload, and list files. Requires OAuth.

Tools​

onedrive_upload​

Upload a file to OneDrive

Input​

ParameterTypeRequiredDescription
fileNamestringYesThe name of the file to upload
contentstringYesThe content of the file to upload
folderSelectorstringNoSelect the folder to upload the file to
manualFolderIdstringNoManually entered folder ID (advanced mode)

Output​

ParameterTypeDescription
successbooleanWhether the file was uploaded successfully
fileobjectThe uploaded file object with metadata including id, name, webViewLink, webContentLink, and timestamps

onedrive_create_folder​

Create a new folder in OneDrive

Input​

ParameterTypeRequiredDescription
folderNamestringYesName of the folder to create
folderSelectorstringNoSelect the parent folder to create the folder in
manualFolderIdstringNoManually entered parent folder ID (advanced mode)

Output​

ParameterTypeDescription
successbooleanWhether the folder was created successfully
fileobjectThe created folder object with metadata including id, name, webViewLink, and timestamps

onedrive_list​

List files and folders in OneDrive

Input​

ParameterTypeRequiredDescription
folderSelectorstringNoSelect the folder to list files from
manualFolderIdstringNoThe manually entered folder ID (advanced mode)
querystringNoA query to filter the files
pageSizenumberNoThe number of files to return

Output​

ParameterTypeDescription
successbooleanWhether files were listed successfully
filesarrayArray of file and folder objects with metadata
nextPageTokenstringToken for retrieving the next page of results (optional)

Notes​

  • Category: tools
  • Type: onedrive