Overview

Microsoft’s cloud storage service for storing and sharing files and folders. Through Langdock’s integration, you can access and manage OneDrive directly from your conversations.
Authentication: OAuth
Category: Microsoft 365
Availability: All workspace plans

Available Actions

Search Files

onedrive.searchFiles
Searches for files in OneDrive by their title Requires Confirmation: No Parameters:
  • query (TEXT, Optional): The search term to find matching files
Output: Returns array of files with their details including URL, documentId, title, mimeType, author, and createdDate

Download File

onedrive.downloadFile
Downloads a file from OneDrive Requires Confirmation: No Parameters:
  • parent (TEXT, Required): The parent folder containing the file
    • itemId (TEXT, Required): The unique identifier of the file to download
Output: Returns the file content for download

Search Files

onedrive.searchFiles
Searches files by name and returns detailed information about each matching file Requires Confirmation: No Parameters:
  • name (TEXT, Required): The name of the OneDrive item you want to find
Output: Returns array of files with detailed information

List Available Drives

onedrive.listAvailableDrives
Lists all accessible OneDrive locations Requires Confirmation: No Parameters: None Output: Returns array of available drives with their details

Download OneDrive File

onedrive.downloadOneDriveFile
Downloads a file from OneDrive and returns base64 content Requires Confirmation: No Parameters:
  • parent (OBJECT, Required): Parent object of the OneDrive file (e.g., driveId, userId, groupId, siteId)
    • itemId (TEXT, Required): The OneDrive item identifier
Output: Returns the file content as base64

Common Use Cases

Data Management

Manage and organize your OneDrive data

Automation

Automate workflows with OneDrive

Reporting

Generate insights and reports

Integration

Connect OneDrive with other tools

Best Practices

Getting Started:
  1. Enable the OneDrive integration in your workspace settings
  2. Authenticate using OAuth
  3. Test the connection with a simple read operation
  4. Explore available actions for your use case
Important Considerations:
  • Ensure proper authentication credentials
  • Respect rate limits and API quotas
  • Review data privacy settings
  • Test operations in a safe environment first

Troubleshooting

IssueSolution
Authentication failedVerify your OAuth credentials
Rate limit exceededReduce request frequency
Data not foundCheck permissions and data availability
Connection timeoutVerify network connectivity

Support

For additional help with the OneDrive integration, contact support@langdock.com