Sharepoint
Работа со страницами и списками
SharePoint — платформа совместной работы от Microsoft, которая позволяет создавать и управлять внутренними сайтами, делиться документами и организовывать командные ресурсы. Это мощное и гибкое решение для создания цифровых рабочих пространств и упрощения управления контентом в масштабах организации.
SharePoint позволяет:
- Создавать командные и коммуникационные сайты: настраивайте страницы и порталы для совместной работы, объявлений и распространения контента
- Организовывать и делиться контентом: храните документы, управляйте файлами и используйте контроль версий с безопасным обменом
- Кастомизировать страницы: добавляйте текстовые блоки, чтобы адаптировать каждый сайт под нужды команды
- Повышать обнаруживаемость: используйте метаданные, поиск и навигацию, чтобы пользователи быстрее находили нужную информацию
- Безопасно работать вместе: контролируйте доступ с помощью гибких настроек прав и интеграции с Microsoft 365
Интеграция SharePoint в AACFlow позволяет вашим агентам создавать сайты и страницы SharePoint и работать с ними в рамках своих воркфлоу. Это даёт возможность автоматизировать управление документами, обмен знаниями и создание рабочих пространств без ручных действий. Агенты могут генерировать новые страницы проектов, загружать или получать файлы и динамически организовывать ресурсы на основе входных данных воркфлоу. Связывая AACFlow с SharePoint, вы привносите структурированную совместную работу и управление контентом в свои автоматизации — давая агентам возможность координировать командную деятельность, выводить ключевую информацию и поддерживать единый источник правды в вашей организации.
Интегрируйте SharePoint в рабочий процесс. Read/create pages, list sites, и work с lists (read, create, update items). Требуется OAuth.
Создать новый page in a SharePoint site
| Параметр | Тип | Обязательный | Описание |
|---|
siteId | string | Нет | ID of the SharePoint site (internal use) |
siteSelector | string | Нет | Select the SharePoint site |
pageName | string | Да | The name of the page to create. Example: My-New-Page.aspx or Report-2024.aspx |
pageTitle | string | Нет | title of the page (defaults to page name if not provided) |
pageContent | string | Нет | content of the page |
| Параметр | Тип | Описание |
|---|
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 |
Read a specific page from a SharePoint site
| Параметр | Тип | Обязательный | Описание |
|---|
siteSelector | string | Нет | Select the SharePoint site |
siteId | string | Нет | ID of the SharePoint site (internal use) |
pageId | string | Нет | ID of the page to read. Example: a GUID like 12345678-1234-1234-1234-123456789012 |
pageName | string | Нет | name of the page to read (alternative to pageId). Example: Home.aspx or About-Us.aspx |
maxPages | number | Нет | Maximum number of pages to return when listing all pages (default: 10, max: 50) |
| Параметр | Тип | Описание |
|---|
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 |
Список details of all SharePoint sites
| Параметр | Тип | Обязательный | Описание |
|---|
siteSelector | string | Нет | Select the SharePoint site |
groupId | string | Нет | group ID for accessing a group team site. Example: a GUID like 12345678-1234-1234-1234-123456789012 |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли эта 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 |
Создать новый list in a SharePoint site
| Параметр | Тип | Обязательный | Описание |
|---|
siteId | string | Нет | ID of the SharePoint site (internal use) |
siteSelector | string | Нет | Select the SharePoint site |
listDisplayName | string | Да | Display name of the list to create. Example: Project Tasks or Customer Contacts |
listDescription | string | Нет | Description of the list |
listTemplate | string | Нет | List template name (e.g., 'genericList') |
pageContent | string | Нет | Optional JSON of columns. Either a top-level array of column definitions or an object with { columns: [...] }. |
| Параметр | Тип | Описание |
|---|
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) |
Получить metadata (and optionally columns/items) для a SharePoint list
| Параметр | Тип | Обязательный | Описание |
|---|
siteSelector | string | Нет | Select the SharePoint site |
siteId | string | Нет | ID of the SharePoint site (internal use) |
listId | string | Нет | ID of the list to retrieve. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
| Параметр | Тип | Описание |
|---|
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 |
Обновить the properties (fields) on a SharePoint list item
| Параметр | Тип | Обязательный | Описание |
|---|
siteSelector | string | Нет | Select the SharePoint site |
siteId | string | Нет | ID of the SharePoint site (internal use) |
listId | string | Нет | ID of the list containing the item. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
itemId | string | Да | The ID of the list item to update. Example: 1, 42, or 123 |
listItemFields | object | Да | Field values to update on the list item |
| Параметр | Тип | Описание |
|---|
item | object | Updated SharePoint list item |
↳ id | string | Item ID |
↳ fields | object | Updated field values |
Добавить новый item to a SharePoint list
| Параметр | Тип | Обязательный | Описание |
|---|
siteSelector | string | Нет | Select the SharePoint site |
siteId | string | Нет | ID of the SharePoint site (internal use) |
listId | string | Да | The ID of the list to add the item to. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
listItemFields | object | Да | Field values for the new list item |
| Параметр | Тип | Описание |
|---|
item | object | Created SharePoint list item |
↳ id | string | Item ID |
↳ fields | object | Field values for the new item |
Загрузить files to a SharePoint document library
| Параметр | Тип | Обязательный | Описание |
|---|
siteId | string | Нет | ID of the SharePoint site |
driveId | string | Нет | ID of the document library (drive). Если не предоставлен, uses default drive. Example: b!abc123def456 |
folderPath | string | Нет | Optional folder path within the document library. Example: /Documents/Subfolder or /Shared Documents/Reports |
fileName | string | Нет | Optional: override the uploaded file name. Example: report-2024.pdf |
files | file[] | Нет | Files to upload to SharePoint |
| Параметр | Тип | Описание |
|---|
uploadedFiles | array | Массив 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 |