Sharepoint
Work with pages and lists
Integrate SharePoint into the workflow. Read/create pages, list sites, and work with lists (read, create, update items). Requires OAuth.
| Parameter | Type | Required | Description |
|---|
siteId | string | No | No description |
siteSelector | string | No | No description |
pageName | string | Yes | No description |
pageTitle | string | No | No description |
pageContent | string | No | No description |
| Parameter | Type | Description |
|---|
page | object | Created SharePoint page information |
↳ id | string | The unique ID of the created page |
↳ name | string | The name of the created page |
↳ title | string | The title of the created page |
↳ webUrl | string | The URL to access the page |
↳ pageLayout | string | The layout type of the page |
↳ createdDateTime | string | When the page was created |
↳ lastModifiedDateTime | string | When the page was last modified |
| Parameter | Type | Required | Description |
|---|
siteSelector | string | No | No description |
siteId | string | No | No description |
pageId | string | No | The ID of the page to read. Example: a GUID like 12345678-1234-1234-1234-123456789012 |
pageName | string | No | The name of the page to read (alternative to pageId). Example: Home.aspx or About-Us.aspx |
maxPages | number | No | Maximum number of pages to return when listing all pages (default: 10, max: 50) |
| Parameter | Type | Description |
|---|
page | object | Information about the SharePoint page |
↳ id | string | The unique ID of the page |
↳ name | string | The name of the page |
↳ title | string | The title of the page |
↳ webUrl | string | The URL to access the page |
↳ pageLayout | string | The layout type of the page |
↳ createdDateTime | string | When the page was created |
↳ lastModifiedDateTime | string | When the page was last modified |
pages | array | List of SharePoint pages |
↳ page | object | The unique ID of the page |
↳ id | string | The unique ID of the page |
↳ name | string | The name of the page |
↳ title | string | The title of the page |
↳ webUrl | string | The URL to access the page |
↳ pageLayout | string | The layout type of the page |
↳ createdDateTime | string | When the page was created |
↳ lastModifiedDateTime | string | When the page was last modified |
↳ content | object | Extracted text content from the page |
↳ content | string | Extracted text content from the page |
↳ canvasLayout | object | Raw SharePoint canvas layout structure |
content | object | Content of the SharePoint page |
↳ content | string | Extracted text content from the page |
↳ canvasLayout | object | Raw SharePoint canvas layout structure |
totalPages | number | Total number of pages found |
| Parameter | Type | Required | Description |
|---|
siteSelector | string | No | No description |
groupId | string | No | The group ID for accessing a group team site. Example: a GUID like 12345678-1234-1234-1234-123456789012 |
| Parameter | Type | Description |
|---|
site | object | Information about the current SharePoint site |
↳ id | string | The unique ID of the site |
↳ name | string | The name of the site |
↳ displayName | string | The display name of the site |
↳ webUrl | string | The URL to access the site |
↳ description | string | The description of the site |
↳ createdDateTime | string | When the site was created |
↳ lastModifiedDateTime | string | When the site was last modified |
↳ isPersonalSite | boolean | Whether this is a personal site |
↳ root | object | Server relative URL |
↳ serverRelativeUrl | string | Server relative URL |
↳ siteCollection | object | Site collection hostname |
↳ hostname | string | Site collection hostname |
sites | array | List of all accessible SharePoint sites |
↳ id | string | The unique ID of the site |
↳ name | string | The name of the site |
↳ displayName | string | The display name of the site |
↳ webUrl | string | The URL to access the site |
↳ description | string | The description of the site |
↳ createdDateTime | string | When the site was created |
↳ lastModifiedDateTime | string | When the site was last modified |
| Parameter | Type | Required | Description |
|---|
siteId | string | No | No description |
siteSelector | string | No | No description |
listDisplayName | string | Yes | Display name of the list to create. Example: Project Tasks or Customer Contacts |
listDescription | string | No | No description |
listTemplate | string | No | List template name (e.g., 'genericList') |
pageContent | string | No | Optional JSON of columns. Either a top-level array of column definitions or an object with { columns: [...] }. |
| Parameter | Type | Description |
|---|
list | object | Created SharePoint list information |
↳ id | string | The unique ID of the list |
↳ displayName | string | The display name of the list |
↳ name | string | The internal name of the list |
↳ webUrl | string | The web URL of the list |
↳ createdDateTime | string | When the list was created |
↳ lastModifiedDateTime | string | When the list was last modified |
↳ list | object | List properties (e.g., template) |
| Parameter | Type | Required | Description |
|---|
siteSelector | string | No | No description |
siteId | string | No | No description |
listId | string | No | The ID of the list to retrieve. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
| Parameter | Type | Description |
|---|
list | object | Information about the SharePoint list |
↳ id | string | The unique ID of the list |
↳ displayName | string | The display name of the list |
↳ name | string | The internal name of the list |
↳ webUrl | string | The web URL of the list |
↳ createdDateTime | string | When the list was created |
↳ lastModifiedDateTime | string | When the list was last modified |
↳ list | object | List properties (e.g., template) |
↳ columns | array | List column definitions |
lists | array | All lists in the site when no listId/title provided |
| Parameter | Type | Required | Description |
|---|
siteSelector | string | No | No description |
siteId | string | No | No description |
listId | string | No | The ID of the list containing the item. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
itemId | string | Yes | No description |
listItemFields | object | Yes | No description |
| Parameter | Type | Description |
|---|
item | object | Updated SharePoint list item |
↳ id | string | Item ID |
↳ fields | object | Updated field values |
| Parameter | Type | Required | Description |
|---|
siteSelector | string | No | No description |
siteId | string | No | No description |
listId | string | Yes | The ID of the list to add the item to. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
listItemFields | object | Yes | No description |
| Parameter | Type | Description |
|---|
item | object | Created SharePoint list item |
↳ id | string | Item ID |
↳ fields | object | Field values for the new item |
| Parameter | Type | Required | Description |
|---|
siteId | string | No | No description |
driveId | string | No | The ID of the document library (drive). If not provided, uses default drive. Example: b!abc123def456 |
folderPath | string | No | Optional folder path within the document library. Example: /Documents/Subfolder or /Shared Documents/Reports |
fileName | string | No | No description |
files | file[] | No | No description |
| Parameter | Type | Description |
|---|
uploadedFiles | array | Array of uploaded file objects |
↳ id | string | The unique ID of the uploaded file |
↳ name | string | The name of the uploaded file |
↳ webUrl | string | The URL to access the file |
↳ size | number | The size of the file in bytes |
↳ createdDateTime | string | When the file was created |
↳ lastModifiedDateTime | string | When the file was last modified |
fileCount | number | Number of files uploaded |