Sharepoint

Work with pages and lists

Configuration

Create Page

Operation
Create Page
Microsoft Account
Select Microsoft account
Select Site
Select a site
Page Name
Name of the page
Site ID
Enter site ID (leave empty for root site)
Create Page (sharepoint_create_page)

Create a new page in a SharePoint site

Input
ParameterTypeRequiredDescription
siteIdstringNoThe ID of the SharePoint site
pageNamestringYesThe name of the page to create
pageTitlestringNoThe title of the page (defaults to page name if not provided)
pageContentstringNoThe content of the page
Output
ParameterTypeDescription
pageobjectCreated SharePoint page information

Read Page

Operation
Read Page
Microsoft Account
Select Microsoft account
Select Site
Select a site
Page Name
Name of the page
Page ID
Page ID (alternative to page name)
Read Page (sharepoint_read_page)

Read a specific page from a SharePoint site

Input
ParameterTypeRequiredDescription
siteIdstringNoThe ID of the SharePoint site
pageIdstringNoThe ID of the page to read
pageNamestringNoThe name of the page to read (alternative to pageId)
maxPagesnumberNoMaximum number of pages to return when listing all pages (default: 10, max: 50)
Output
ParameterTypeDescription
pageobjectInformation about the SharePoint page
pagesarrayList of SharePoint pages
contentobjectContent of the SharePoint page
totalPagesnumberTotal number of pages found

List Sites

Operation
List Sites
Microsoft Account
Select Microsoft account
Select Site
Select a site
List Sites (sharepoint_list_sites)

List details of all SharePoint sites

Input
ParameterTypeRequiredDescription
siteIdstringNoThe ID of the SharePoint site
groupIdstringNoThe group ID for accessing a group team site
Output
ParameterTypeDescription
siteobjectInformation about the current SharePoint site
sitesarrayList of all accessible SharePoint sites

Create List

Operation
Create List
Microsoft Account
Select Microsoft account
Select Site
Select a site
List Display Name
Name of the list
List Template
Template (e.g., 'genericList')
Page Content
Provide page content
List Description
Optional description
Create List (sharepoint_create_list)

Create a new list in a SharePoint site

Input
ParameterTypeRequiredDescription
siteIdstringNoThe ID of the SharePoint site
listDisplayNamestringYesDisplay name of the list to create
listDescriptionstringNoDescription of the list
listTemplatestringNoList template name (e.g., 'genericList')
pageContentstringNoOptional JSON of columns. Either a top-level array of column definitions or an object with { columns: [...] }.
Output
ParameterTypeDescription
listobjectCreated SharePoint list information

Read List

Operation
Read List
Microsoft Account
Select Microsoft account
Select Site
Select a site
List ID
Enter list ID (GUID). Required for Update; optional for Read.
Read List (sharepoint_get_list)

Get metadata (and optionally columns/items) for a SharePoint list

Input
ParameterTypeRequiredDescription
siteIdstringNoThe ID of the SharePoint site
listIdstringNoThe ID of the list to retrieve
Output
ParameterTypeDescription
listobjectInformation about the SharePoint list
listsarrayAll lists in the site when no listId/title provided

Update List

Operation
Update List
Microsoft Account
Select Microsoft account
Select Site
Select a site
List ID
Enter list ID (GUID). Required for Update; optional for Read.
Item ID
Enter item ID
List Item Fields
Enter list item fields
Update List (sharepoint_update_list)

Update the properties (fields) on a SharePoint list item

Input
ParameterTypeRequiredDescription
siteIdstringNoThe ID of the SharePoint site
listIdstringNoThe ID of the list containing the item
itemIdstringYesThe ID of the list item to update
listItemFieldsobjectYesField values to update on the list item
Output
ParameterTypeDescription
itemobjectUpdated SharePoint list item

Add List Items

Operation
Add List Items
Microsoft Account
Select Microsoft account
Select Site
Select a site
List ID
Enter list ID (GUID). Required for Update; optional for Read.
List Item Fields
Enter list item fields
Add List Items (sharepoint_add_list_items)

Add a new item to a SharePoint list

Input
ParameterTypeRequiredDescription
siteIdstringNoThe ID of the SharePoint site
listIdstringYesThe ID of the list to add the item to
listItemFieldsobjectYesField values for the new list item
Output
ParameterTypeDescription
itemobjectCreated SharePoint list item

Upload File

Operation
Upload File
Microsoft Account
Select Microsoft account
Select Site
Select a site
Document Library ID
Enter document library (drive) ID
Folder Path
Optional folder path (e.g., /Documents/Subfolder)
File Name
Optional: override uploaded file name
Files
Upload files to SharePoint
Files
Reference files from previous blocks
Upload File (sharepoint_upload_file)

Upload files to a SharePoint document library

Input
ParameterTypeRequiredDescription
driveIdstringNoThe ID of the document library (drive). If not provided, uses default drive.
folderPathstringNoOptional folder path within the document library (e.g., /Documents/Subfolder)
fileNamestringNoOptional: override the uploaded file name
filesfile[]NoFiles to upload to SharePoint
Output
ParameterTypeDescription
uploadedFilesarrayArray of uploaded file objects
fileCountnumberNumber of files uploaded

Usage Instructions

Integrate SharePoint into the workflow. Read/create pages, list sites, and work with lists (read, create, update items). Requires OAuth.

Notes

  • Category: tools
  • Type: sharepoint