AACFlow

Sharepoint

Work with pages and lists

Usage Instructions

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

Tools

sharepoint_create_page

Input

ParameterTypeRequiredDescription
siteIdstringNoNo description
siteSelectorstringNoNo description
pageNamestringYesNo description
pageTitlestringNoNo description
pageContentstringNoNo description

Output

ParameterTypeDescription
pageobjectCreated SharePoint page information
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
lastModifiedDateTimestringWhen the page was last modified

sharepoint_read_page

Input

ParameterTypeRequiredDescription
siteSelectorstringNoNo description
siteIdstringNoNo description
pageIdstringNoThe ID of the page to read. Example: a GUID like 12345678-1234-1234-1234-123456789012
pageNamestringNoThe name of the page to read (alternative to pageId). Example: Home.aspx or About-Us.aspx
maxPagesnumberNoMaximum number of pages to return when listing all pages (default: 10, max: 50)

Output

ParameterTypeDescription
pageobjectInformation about the SharePoint page
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
lastModifiedDateTimestringWhen the page was last modified
pagesarrayList of SharePoint pages
pageobjectThe unique ID of the page
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
lastModifiedDateTimestringWhen the page was last modified
contentobjectExtracted text content from the page
contentstringExtracted text content from the page
canvasLayoutobjectRaw SharePoint canvas layout structure
contentobjectContent of the SharePoint page
contentstringExtracted text content from the page
canvasLayoutobjectRaw SharePoint canvas layout structure
totalPagesnumberTotal number of pages found

sharepoint_list_sites

Input

ParameterTypeRequiredDescription
siteSelectorstringNoNo description
groupIdstringNoThe group ID for accessing a group team site. Example: a GUID like 12345678-1234-1234-1234-123456789012

Output

ParameterTypeDescription
siteobjectInformation about the current SharePoint site
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
rootobjectServer relative URL
serverRelativeUrlstringServer relative URL
siteCollectionobjectSite collection hostname
hostnamestringSite collection hostname
sitesarrayList of all accessible SharePoint sites
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

sharepoint_create_list

Input

ParameterTypeRequiredDescription
siteIdstringNoNo description
siteSelectorstringNoNo description
listDisplayNamestringYesDisplay name of the list to create. Example: Project Tasks or Customer Contacts
listDescriptionstringNoNo description
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
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)

sharepoint_get_list

Input

ParameterTypeRequiredDescription
siteSelectorstringNoNo description
siteIdstringNoNo description
listIdstringNoThe ID of the list to retrieve. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012

Output

ParameterTypeDescription
listobjectInformation about the SharePoint list
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)
columnsarrayList column definitions
listsarrayAll lists in the site when no listId/title provided

sharepoint_update_list

Input

ParameterTypeRequiredDescription
siteSelectorstringNoNo description
siteIdstringNoNo description
listIdstringNoThe ID of the list containing the item. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012
itemIdstringYesNo description
listItemFieldsobjectYesNo description

Output

ParameterTypeDescription
itemobjectUpdated SharePoint list item
idstringItem ID
fieldsobjectUpdated field values

sharepoint_add_list_items

Input

ParameterTypeRequiredDescription
siteSelectorstringNoNo description
siteIdstringNoNo description
listIdstringYesThe ID of the list to add the item to. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012
listItemFieldsobjectYesNo description

Output

ParameterTypeDescription
itemobjectCreated SharePoint list item
idstringItem ID
fieldsobjectField values for the new item

sharepoint_upload_file

Input

ParameterTypeRequiredDescription
siteIdstringNoNo description
driveIdstringNoThe ID of the document library (drive). If not provided, uses default drive. Example: b!abc123def456
folderPathstringNoOptional folder path within the document library. Example: /Documents/Subfolder or /Shared Documents/Reports
fileNamestringNoNo description
filesfile[]NoNo description

Output

ParameterTypeDescription
uploadedFilesarrayArray of uploaded file objects
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
lastModifiedDateTimestringWhen the file was last modified
fileCountnumberNumber of files uploaded

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started