---
title: "SharePoint integration for AI agents | Langdock"
description: "Connect SharePoint to Langdock. Agents and workflows can use 38 actions, such as “Add section to page” and “Copy file”."
url: "https://langdock.com/integrations/sharepoint"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# SharePoint integration for AI agents

Work with your SharePoint files, folders, lists, and sites

Connect SharePoint to Langdock and use it in chat, in agents and in workflows.

38 actions · 4 triggers

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## SharePoint actions

Each action is one step an agent or workflow can run in SharePoint.

- Add section to page

  Append one or more sections to the bottom of an existing SharePoint page; use it to add a section, table, text block, or web part to a page that already exists. Reads the page first and refuses, making no changes, if it contains web parts the SharePoint Pages API cannot recreate (News, Lists, Hero, Highlighted Content, Document library, custom or third-party web parts).
- Copy file

  Copies a file to a folder in a SharePoint drive and fails if the name already exists.
- Create column

  Creates one column in an existing SharePoint list. Repeat this action in workflow steps to create multiple columns. To change values in an existing column, use Update list item
- Create folder

  Creates a folder in a SharePoint drive. Supports nested folder paths (e.g., 'folder1/folder2/folder3').
- Create list · Create a new list in a SharePoint site.
- Create list item · Creates a new list item in a SharePoint list.
- Create page

  Create a new SharePoint page with text, multi-column sections, images, dividers, spacers, buttons, YouTube embeds, and an optional right-rail side rail.
- Find site users

  Finds a person in a SharePoint site and looks up their site user ID. Requires the site ID and the person's email address or exact display name, and only finds people who already have access to that site. Returns the person's site user ID (the LookupId) with their display name, email address and login name; this ID is what a Person or Group column expects when it is set with create_list_item or update_list_item.
- Get column · Gets the definition of a specific column in a SharePoint list.
- Get drive · Gets information about a specific drive by id or the default drive for a site.
- Get file

  Gets / downloads a file from Sharepoint based on the item ID and attaches it to the chat, use this action to get the contents of a file.
- Get folder · Resolves a SharePoint folder path to driveId and folderId for upload.
- Get list · Gets metadata for a specific SharePoint list.
- Get list item · Gets a specific item from a SharePoint list.
- Get page

  Read a SharePoint page and return its content, metadata, and layout. Only works with modern SharePoint pages.
- Get profile · Gets the profile information of the currently authenticated user.
- Get sensitivity label

  Get the sensitivity label(s) applied to a file and its protection state. Returns label IDs, assignment method, and whether the file is encrypted (Purview/Azure RMS) and so can't be read.
- Get site · Gets properties and relationships for a SharePoint site by id, URL, or path.
- List columns · Lists all column definitions in a SharePoint list.
- List drive children

  Lists files and folders at a single level in a SharePoint drive or folder. Returns both files and subfolders for navigating the drive hierarchy. Accepts a drive ID or a SharePoint folder/drive URL.
- List drives · Lists all drives in a site or drives accessible by the current user.
- List files in SharePoint folder

  Lists files and subfolders in a SharePoint folder. Always returns direct child folders alongside files for nested folder navigation. Enable includeSubfolders to recursively list all files within subfolders.
- List list items · Lists items from a SharePoint list with optional filtering.
- List recent files · Lists files recently accessed by the current user across all drives.
- List site lists · Lists all SharePoint lists in a site.
- List site pages · Lists all site pages in a SharePoint site.
- List subsites · Lists all subsites of a SharePoint site.
- Move file · Moves a file to another folder in the same SharePoint drive.
- Query list items

  Queries and filters items from a SharePoint list or document library using OData filter expressions. Use it to find files by custom column values.
- Rename file

  Renames an existing SharePoint file in its current folder. Does not upload, copy, move, or replace another file.
- Replace page content

  Replace the entire content of an existing SharePoint page. Permanently deletes all existing content and replaces it with what you provide. Refuses safely if the page contains web parts the write API cannot recreate.
- Resolve SharePoint URL

  Turns a pasted SharePoint URL into the Graph IDs needed by other SharePoint actions. Works for sites, lists, list items, files, folders, and pages. Returns the resource kind and IDs such as siteId, listId, itemId, driveId, driveItemId, and pageId. For files and pages, also returns an attachable items payload. To attach a file from a pasted link in chat, use Create attachment from URL. For looking up a modern Site Page by name, use Resolve page.
- Search files

  Searches files in SharePoint by file name or full-text search within document contents.
- Search pages

  Searches SharePoint intranet pages and news by their text. Use Search files for documents. Pass a result's siteId and pageId to Get page to read it; if a result has no siteId, its pageId is the page URL.
- Search sites · Searches for SharePoint sites based on a query string.
- Update list item · Update the SharePoint list items.
- Update page title

  Update only the title of an existing SharePoint page, leaving the page body unchanged. Use this when the user wants to rename a page or change its title.
- Upload file · Uploads one or more files to a single SharePoint folder.

## SharePoint triggers

A trigger starts a workflow when something happens in SharePoint.

- File updated

  Triggers when a file is updated in a SharePoint folder. Re-fires each time a file's contents change, and optionally filter by name or file extension.
- List item updated · Triggers when an item in a SharePoint list is created or modified.
- List updated

  Triggers when a SharePoint list on a site changes. SharePoint also updates the list timestamp when items in that list change, including new items and files added to a document library. Use List item updated to watch one list's items only. When your workspace blocks sensitivity labels, document libraries are left out; watch a library with List item updated instead.
- New item created

  Triggers when a new file or folder is created in a SharePoint folder. Watch files, folders, or both, and optionally filter by name or file extension.

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Microsoft permissions for SharePoint](https://docs.langdock.com/en/admin/manage-integrations/microsoft-integration-scopes/sharepoint)
- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
