Zum Inhalt springen
DeutschlandGPT

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.

InputRequiredDescription
QueryYesSearch query
OutputTypeDescription
filesarrayFile objects with name, url, siteId, driveItemId

List Files in Folder

Returns files in a specific SharePoint folder.

InputRequiredDescription
Site IDYesSharePoint site ID
Folder PathYesRelative path to the folder
OutputTypeDescription
filesarrayFile objects

List Files Recursive

Returns all files in a folder and its subfolders.

InputRequiredDescription
Site IDYesSite ID
Folder PathYesRoot folder path
OutputTypeDescription
filesarrayAll 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.

InputRequiredDescription
Site IDNoOnly to pick the library in the editor
Drive IDYesThe document library
Item IDYesThe file
OutputTypeDescription
fileWorkflowFileThe downloaded file
namestringFile name
mimeTypestringMIME type
webUrlstringLink 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.

InputRequiredDescription
Drive IDYesThe document library
Folder IDNoThe folder; empty: the root
Max ResultsNoItems per page, default 100, at most 250
Page TokenNonextPageToken of the previous page
FieldsNoOnly these fields per item, e.g. size,lastModifiedDateTime; empty: all fields
Sort byNoname, lastModifiedDateTime or size, ascending or descending
OutputTypeDescription
itemsarrayFiles and folders with id, name, type
hasMorebooleanWhether another page exists
nextPageTokenstringToken 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.

InputRequiredDescription
Drive IDYesThe document library
Item IDYesThe 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.

OutputTypeDescription
permissionsarrayOne 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.

InputRequiredDescription
Drive IDYesThe document library
Item IDYesThe file to overwrite
New contentYesThe file with the new content

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.

InputRequiredDescription
LinkYesThe link
OutputTypeDescription
driveIdstringDrive of the item
itemIdstringItem ID
typestringfile or folder

Upload File

Uploads a file to a SharePoint folder.

InputRequiredDescription
Site IDYesTarget site
Folder PathYesTarget folder path
FileYesFile to upload
File NameYesName for the uploaded file
OutputTypeDescription
fileIdstringID of the uploaded file
webUrlstringURL 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.

InputRequiredDescription
Site IDYesSite that holds the document library
Drive IDYesDocument library to create the folder in
Folder NameYesName of the new folder, or a nested path with /
Parent Folder IDNoFolder to create it in (default: the library root)
Parent Folder PathNoPath of the folder to create it in, instead of the ID
If It ExistsNofail (default) stops with an error, rename creates it under a new name
OutputTypeDescription
folderIdstringID of the created folder (the last level)
folderNamestringName of the created folder
webUrlstringURL to open the folder

Search Sites

Searches for SharePoint sites.

InputRequiredDescription
QueryYesSite name or URL query
OutputTypeDescription
sitesarraySite objects with id, displayName, webUrl

Get Site

Retrieves details about a specific SharePoint site.

InputRequiredDescription
Site IDYesSharePoint site ID
OutputTypeDescription
siteobjectSite info with id, displayName, webUrl, lists

List Site Lists

Returns all lists in a SharePoint site.

InputRequiredDescription
Site IDYesSite ID
OutputTypeDescription
listsarrayList objects with id, displayName, itemCount

Get List

Retrieves a specific SharePoint list.

InputRequiredDescription
Site IDYesSite ID
List IDYesList ID
OutputTypeDescription
listobjectList metadata

List List Items

Returns items from a SharePoint list.

InputRequiredDescription
Site IDYesSite ID
List IDYesList ID
LimitNoMaximum items to return
OutputTypeDescription
itemsarrayList items with their field values

Query List Items

Returns list items matching a filter.

InputRequiredDescription
Site IDYesSite ID
List IDYesList ID
FilterYesOData filter expression
OutputTypeDescription
itemsarrayMatching list items

Get List Item

Retrieves a specific list item.

InputRequiredDescription
Site IDYesSite ID
List IDYesList ID
Item IDYesItem ID
OutputTypeDescription
itemobjectList item with field values

List Recent Files

Returns recently modified files across the connected SharePoint.

OutputTypeDescription
filesarrayRecently modified file objects
Was this page helpful?