SharePoint

Overview

Microsoft SharePoint is a service that helps organizations share content. Through Langdock’s integration, you can access and manage SharePoint directly from your conversations.

Authentication: OAuth Category: Microsoft 365 Availability: All workspace plans

Available Actions

Search files

sharepoint.searchfiles

Searches files by name and returns detailed information about each matching file Requires Confirmation: No

Parameters:

  • query (TEXT, Required): The filename / query to search for in SharePoint. The search is not case-insensitive and will return all items that match partially contain the input name. For example, you can search for specific documents like ‘Budget 2023’, ‘Project proposal’, or ‘Meeting notes’

Output: Returns a list of files with details including URL, document ID, title, MIME type, author, creation date, and modification information


Search SharePoint

sharepoint.searchSharePoint

Searches documents in SharePoint Requires Confirmation: No

Parameters:

  • query (TEXT, Optional): Search query for documents

Output: Returns search results for SharePoint documents


List files in folder

sharepoint.listfilesinfolder

Lists all files in a SharePoint folder recursively, including subfolders. Filters out images, videos, and spreadsheets similar to Google Drive integration. Requires Confirmation: No

Parameters:

  • folderId (TEXT, Required): Folder configuration as JSON string with siteId, driveId, and/or folderId. Examples: siteId’:‘site-id’,‘folderId’:‘folder-id for a specific folder, siteId’:‘site-id for site root, or siteId’:‘site-id’,‘driveId’:‘drive-id for drive root.

    • parent (TEXT, Required): Parent folder information

Output: Returns a list of files in the specified folder


Download File

sharepoint.downloadFile

Downloads a file from SharePoint Requires Confirmation: No

Parameters:

  • parent (TEXT, Required): Parent folder information

    • itemId (TEXT, Required): Item ID of the file to download

Output: Returns the downloaded file content


Download SharePoint File

sharepoint.downloadSharePointFile

Downloads a file from SharePoint and attaches it to the chat Requires Confirmation: No

Parameters:

  • parent (OBJECT, Required): Parent object of the SharePoint file

    • itemId (TEXT, Required): Item ID of the file to download

Output: Downloads and returns the file


Common Use Cases

  • Data Management — Manage and organize your SharePoint data

  • Automation — Automate workflows with SharePoint

  • Reporting — Generate insights and reports

  • Integration — Connect SharePoint with other tools

Best Practices

1

Getting Started

  • Enable the SharePoint integration in your workspace settings

  • Authenticate using OAuth

  • Test the connection with a simple read operation

  • Explore available actions for your use case

2

Important Considerations

  • Ensure proper authentication credentials

  • Respect rate limits and API quotas

  • Review data privacy settings

  • Test operations in a safe environment first

Troubleshooting

Issue
Solution

Authentication failed

Verify your OAuth credentials

Rate limit exceeded

Reduce request frequency

Data not found

Check permissions and data availability

Connection timeout

Verify network connectivity

Support

For additional help with the SharePoint integration, contact [email protected]envelope