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 (internal use)
siteSelectorstringNoSelect 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
idstringThe unique ID of the created page
namestringThe name of the created page
titlestringThe title of the created page
webUrlstringThe URL to access the page
pageLayoutstringThe layout type of the page
createdDateTimestringWhen the page was created

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
siteSelectorstringNoSelect the SharePoint site
siteIdstringNoThe ID of the SharePoint site (internal use)
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
idstringThe unique ID of the page
namestringThe name of the page
titlestringThe title of the page
webUrlstringThe URL to access the page
pageLayoutstringThe layout type of the page
createdDateTimestringWhen the page was created

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
siteSelectorstringNoSelect the SharePoint site
groupIdstringNoThe group ID for accessing a group team site
Output
ParameterTypeDescription
idstringThe unique ID of the site
namestringThe name of the site
displayNamestringThe display name of the site
webUrlstringThe URL to access the site
descriptionstringThe description of the site
createdDateTimestringWhen the site was created
lastModifiedDateTimestringWhen the site was last modified
isPersonalSitebooleanWhether this is a personal site

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 (internal use)
siteSelectorstringNoSelect 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
idstringThe unique ID of the list
displayNamestringThe display name of the list
namestringThe internal name of the list
webUrlstringThe web URL of the list
createdDateTimestringWhen the list was created
lastModifiedDateTimestringWhen the list was last modified

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
siteSelectorstringNoSelect the SharePoint site
siteIdstringNoThe ID of the SharePoint site (internal use)
listIdstringNoThe ID of the list to retrieve
Output
ParameterTypeDescription
idstringThe unique ID of the list
displayNamestringThe display name of the list
namestringThe internal name of the list
webUrlstringThe web URL of the list
createdDateTimestringWhen the list was created
lastModifiedDateTimestringWhen the list was last modified
listobjectList properties (e.g., template)

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
siteSelectorstringNoSelect the SharePoint site
siteIdstringNoThe ID of the SharePoint site (internal use)
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
idstringItem ID

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
siteSelectorstringNoSelect the SharePoint site
siteIdstringNoThe ID of the SharePoint site (internal use)
listIdstringYesThe ID of the list to add the item to
listItemFieldsobjectYesField values for the new list item
Output
ParameterTypeDescription
idstringItem ID

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
siteIdstringNoThe ID of the SharePoint site
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
idstringThe unique ID of the uploaded file
namestringThe name of the uploaded file
webUrlstringThe URL to access the file
sizenumberThe size of the file in bytes
createdDateTimestringWhen the file was created

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