SharePoint
Search and manage files, lists, and sites in Microsoft SharePoint from workflows
Search and manage files, lists, and sites across your Microsoft SharePoint from workflows.
Authentication: OAuth 2.0. Connect your Microsoft account on the integrations page.
Actions
Search Files
Searches for files across SharePoint.
| Input | Required | Description |
|---|---|---|
| Query | Yes | Search query |
| Output | Type | Description |
|---|---|---|
files | array | File objects with name, url, siteId, driveItemId |
List Files in Folder
Returns files in a specific SharePoint folder.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | SharePoint site ID |
| Folder Path | Yes | Relative path to the folder |
| Output | Type | Description |
|---|---|---|
files | array | File objects |
List Files Recursive
Returns all files in a folder and its subfolders.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Site ID |
| Folder Path | Yes | Root folder path |
| Output | Type | Description |
|---|---|---|
files | array | All file objects (flat list) |
Get File
Downloads a file from a document library as a file other nodes can use, with its name, size and link. Files up to 100 MB; a folder cannot be downloaded.
| Input | Required | Description |
|---|---|---|
| Site ID | No | Only to pick the library in the editor |
| Drive ID | Yes | The document library |
| Item ID | Yes | The file |
| Output | Type | Description |
|---|---|---|
file | WorkflowFile | The downloaded file |
name | string | File name |
mimeType | string | MIME type |
webUrl | string | Link to the file |
List Drive Children
Lists the files and folders of a document library or one of its folders, one page at a time. When hasMore is true, run it again with nextPageToken as Page Token to get the next page.
| Input | Required | Description |
|---|---|---|
| Drive ID | Yes | The document library |
| Folder ID | No | The folder; empty: the root |
| Max Results | No | Items per page, default 100, at most 250 |
| Page Token | No | nextPageToken of the previous page |
| Fields | No | Only these fields per item, e.g. size,lastModifiedDateTime; empty: all fields |
| Sort by | No | name, lastModifiedDateTime or size, ascending or descending |
| Output | Type | Description |
|---|---|---|
items | array | Files and folders with id, name, type |
hasMore | boolean | Whether another page exists |
nextPageToken | string | Token for the next page |
Get File or Folder Details
Reads the details of one file or folder without downloading it: name, type, size, link, when it was created and last changed and by whom, the folder it is in, and how many items a folder holds.
| Input | Required | Description |
|---|---|---|
| Drive ID | Yes | The document library |
| Item ID | Yes | The file or folder |
List Sharing and Permissions
Lists who has access to one file or folder and how: sharing links (view or edit; anyone with the link, people in your organization or specific people; expiry and password) and access granted to people or groups directly, each marked when it is inherited from a parent folder. Changes nothing.
| Output | Type | Description |
|---|---|---|
permissions | array | One entry per link or grant, with roles, kind, linkScope, grantedTo, inherited |
Replace File Content
Overwrites the content of an existing file with another file, up to 25 MB. The file keeps its ID, name, link and sharing; SharePoint keeps the previous content in the version history. To save a new file, use Upload File.
| Input | Required | Description |
|---|---|---|
| Drive ID | Yes | The document library |
| Item ID | Yes | The file to overwrite |
| New content | Yes | The file with the new content |
Resolve Share Link
Turns a SharePoint or OneDrive link (a sharing link or the address of a file or folder) into the drive ID and item ID the other actions take.
| Input | Required | Description |
|---|---|---|
| Link | Yes | The link |
| Output | Type | Description |
|---|---|---|
driveId | string | Drive of the item |
itemId | string | Item ID |
type | string | file or folder |
Upload File
Uploads a file to a SharePoint folder.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Target site |
| Folder Path | Yes | Target folder path |
| File | Yes | File to upload |
| File Name | Yes | Name for the uploaded file |
| Output | Type | Description |
|---|---|---|
fileId | string | ID of the uploaded file |
webUrl | string | URL to access the file |
Create Folder
Creates a folder in a SharePoint document library. Use / in the name to create several levels at once (Reports/2026/Q1); a level that already exists above the last one is reused.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Site that holds the document library |
| Drive ID | Yes | Document library to create the folder in |
| Folder Name | Yes | Name of the new folder, or a nested path with / |
| Parent Folder ID | No | Folder to create it in (default: the library root) |
| Parent Folder Path | No | Path of the folder to create it in, instead of the ID |
| If It Exists | No | fail (default) stops with an error, rename creates it under a new name |
| Output | Type | Description |
|---|---|---|
folderId | string | ID of the created folder (the last level) |
folderName | string | Name of the created folder |
webUrl | string | URL to open the folder |
Search Sites
Searches for SharePoint sites.
| Input | Required | Description |
|---|---|---|
| Query | Yes | Site name or URL query |
| Output | Type | Description |
|---|---|---|
sites | array | Site objects with id, displayName, webUrl |
Get Site
Retrieves details about a specific SharePoint site.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | SharePoint site ID |
| Output | Type | Description |
|---|---|---|
site | object | Site info with id, displayName, webUrl, lists |
List Site Lists
Returns all lists in a SharePoint site.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Site ID |
| Output | Type | Description |
|---|---|---|
lists | array | List objects with id, displayName, itemCount |
Get List
Retrieves a specific SharePoint list.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Site ID |
| List ID | Yes | List ID |
| Output | Type | Description |
|---|---|---|
list | object | List metadata |
List List Items
Returns items from a SharePoint list.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Site ID |
| List ID | Yes | List ID |
| Limit | No | Maximum items to return |
| Output | Type | Description |
|---|---|---|
items | array | List items with their field values |
Query List Items
Returns list items matching a filter.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Site ID |
| List ID | Yes | List ID |
| Filter | Yes | OData filter expression |
| Output | Type | Description |
|---|---|---|
items | array | Matching list items |
Get List Item
Retrieves a specific list item.
| Input | Required | Description |
|---|---|---|
| Site ID | Yes | Site ID |
| List ID | Yes | List ID |
| Item ID | Yes | Item ID |
| Output | Type | Description |
|---|---|---|
item | object | List item with field values |
List Recent Files
Returns recently modified files across the connected SharePoint.
| Output | Type | Description |
|---|---|---|
files | array | Recently modified file objects |