Connect SharePoint to Definable AI
SharePoint is a Microsoft platform for document management and intranets, enabling teams to collaborate, store, and organize content securely and effectively
About SharePoint
SharePoint is a productivity tool. Connect it to Definable AI with one-click OAuth2 — no API keys or custom code required.
What you can automate with SharePoint
Use Definable AI's agent platform to trigger workflows from SharePoint, process results with 50+ AI models, and sync data across 900+ connected apps.
Tools & Actions (59 available)
- Add Attachment to List Item: Tool to add an attachment to a SharePoint list item. Use when you need to upload a binary file as an attachment to a specified list item.
- Add Azure AD User to SharePoint Site: Adds an existing Azure AD user to the SharePoint site collection using the ensureuser endpoint. This action is idempotent - if the user is already in the site, it returns their existing details without error.
- Add Field Link to Content Type: Tool to add a field link to a list content type. Use when you want to associate an existing list field with a content type.
- Add Role Assignment to List Item: Tool to add a role assignment to a list item. Use when granting specific permissions to a user or group after breaking inheritance if needed.
- Add Role Assignment to SharePoint List: Tool to add a role assignment to a SharePoint list. Use when granting permissions to a user or group on a specific list.
- Break Role Inheritance on List: Breaks permission inheritance on a SharePoint list, allowing you to set unique permissions. When you break inheritance, you can choose to: - Copy parent permissions as a starting point (copy_role_assignments=true) - Start fresh with no inherited permissions (copy_role_assignments=false) - Clear unique permissions on child items to re-inherit from this list (clear_subscopes=true) Use this when you need to manage list-level permissions independently from the site.
- Break Role Inheritance on List Item: Tool to break permission inheritance on a list item. Use when you need to uniquely set permissions on an item after copying or clearing parent assignments.
- Check Follow Status: Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.
- Check In SharePoint File: Tool to check in a file. Use after uploading or editing a document and you're ready to finalize changes.
- Check Out SharePoint File: Tool to check out a file in a document library. Use when you need to lock a file before making changes.
- Create List Item in Folder: Tool to create a list item in a specific folder within a SharePoint list. IMPORTANT: This action works ONLY with SharePoint lists (not document libraries). The folder_url can be either a server-relative URL (e.g., '/Lists/MyList') or an absolute URL (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). To create files in document libraries, use a different action like upload_file.
- Create SharePoint Folder: Creates a new folder in SharePoint using the REST API.
- Create SharePoint List: Creates a new list in SharePoint using the REST API.
- Create SharePoint List Field: Tool to create a new field (column) in a SharePoint list. Use when you need to programmatically add a column after confirming the list GUID.
- Create SharePoint List Item: Creates a new item in a SharePoint list.
- Delete Recycle Bin Item Permanently: Tool to permanently delete a SharePoint Recycle Bin item. Use after confirming the item's GUID to remove it irrevocably.
- Delete SharePoint Folder: Deletes a folder from a SharePoint document library. This action permanently removes the specified folder and moves it to the site's recycle bin. Use this when you need to remove folders that are no longer needed. The operation is idempotent - attempting to delete a non-existent folder will succeed without error. Requires the server-relative path of the folder (e.g., '/Shared Documents/FolderName').
- Delete SharePoint List: Tool to delete a SharePoint list. Use when you need to remove a list by its GUID after confirming the correct list identifier.
- Delete SharePoint List Item: Tool to delete a SharePoint list item. Use when you need to permanently remove an item by its ID. Use after obtaining the item's ETag to ensure concurrency control.
- Download File by Server-relative URL: Tool to download a file by server-relative URL. Use when you need to fetch the raw bytes of a SharePoint file by its server-relative path.
- Download List Item Attachment: Tool to download an attachment from a SharePoint list item. Use when retrieving the binary contents of a specific attachment after confirming the list title, item ID, and filename.
- Ensure SharePoint User: Ensures a user exists in a SharePoint site by their login name. If the user already exists, returns their info. If not, adds them to the site. Use when you need to add a user to a site or get their user ID for permissions or assignments. The login name must be in SharePoint claims format (e.g., 'i:0#.f|membership|[email protected]').
- Find SharePoint User: Searches for a user in the SharePoint site by email address and returns their profile information if found.
- Follow SharePoint Actor: Follow a SharePoint user, document, site, or tag. Use to make the authenticated user follow a specified actor. Supports following users (actor_type=0), documents (actor_type=1), sites (actor_type=2), or tags (actor_type=3).
- Get Content Types for List: Tool to retrieve all content types for a specific SharePoint list by GUID. Use when you need the content type IDs, names, and descriptions of every content type in a list.
- Get Current SharePoint User: Tool to retrieve the current user for the site. Use after authenticating to get the current SharePoint user.
- Get File Metadata by Server Relative URL: Tool to fetch SharePoint file metadata (exists/permissions/URLs/UniqueId) given a server-relative path, using the more robust ServerRelativePath API for special characters. Use after SHARE_POINT_SEARCH_QUERY returns a Path and you need to confirm the canonical working path or retrieve file properties without downloading bytes.
- Get Followed Entities: Tool to get entities the current user is following. Use when you need to retrieve followed users, documents, sites, or tags after authentication.
- Get Group Users: Retrieves all users who are members of a specified SharePoint group. This action returns user information including IDs, names, email addresses, login names, and permission details. Supports OData query parameters for filtering, sorting, field selection, and pagination. Use this when you need to audit group membership, check user permissions, or list members of a specific group.
- Get List Item ETag: Tool to fetch the ETag of a SharePoint list item. Use when you need the ETag for concurrency control before update or delete operations.
- Get List Item Entity Type Full Name: Tool to get the entity type name for list items. Use when preparing to create or update items and need the correct __metadata.type.
- Get List Item by ID: Tool to retrieve a SharePoint list item by ID. Use when you need to fetch a specific item after knowing its ID.
- Get My Followers: Retrieves the list of users who are following the authenticated user in SharePoint. Returns an array of SocialActor objects containing follower details like name, email, account name, and personal site URI. No parameters required - automatically retrieves followers for the current authenticated user.
- Get Role Definitions: Tool to list role definitions. Use when you need to retrieve permission levels at the web level.
- Get SharePoint Folder by Server Relative URL: Tool to retrieve a folder by its server-relative URL. Use when you need to fetch folder metadata by path before further operations.
- Get SharePoint List By Title: Tool to retrieve a SharePoint list by its title. Use when you need to fetch list metadata by title.
- Get SharePoint List Items: Tool to retrieve items from a SharePoint list. Use when you need to fetch list entries with optional OData parameters.
- Get SharePoint List by GUID: Tool to retrieve a SharePoint list by its GUID. Use when you need to fetch list metadata by its unique identifier.
- Get SharePoint Site Collection Info: Tool to fetch site collection metadata. Use when you need a site's URL, ID, and root web URI before subsequent calls.
- Get SharePoint Site Page Content: Tool to retrieve modern SharePoint Site Pages content by reading list item fields. Use when a .aspx page result cannot be downloaded as a file or when you need the structured content (CanvasContent1, LayoutWebpartsContent) of modern pages.
- Get User Effective Permissions on Web: Get a user's effective permissions on the current SharePoint site (Web). This action retrieves the combined permissions a user has on the site, taking into account direct permissions, group memberships, and permission inheritance. Use this when you need to verify what permissions a user or group has before performing operations. The response contains permission masks as 64-bit integers split into high and low 32-bit values. A value of "0" for both means no permissions.
- List Files in Folder: Tool to list files within a SharePoint folder. Use when you need to enumerate all files in a folder by its server-relative URL.
- List Item Attachments: Tool to list all attachments for a SharePoint list item. Use when you need to retrieve filenames and server-relative URLs of each attachment after confirming the list title and item ID.
- List Recycle Bin Items: Tool to list items in the SharePoint Recycle Bin. Use when you need to retrieve deleted items and page through results.
- List SharePoint Lists: Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site. Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.
- List Site Groups: Tool to list SharePoint site groups for a site collection. Use when you need to see all groups and their settings before managing permissions.
- List Site Users: Tool to list users in the site collection. Use when you need to retrieve all users in the current site collection.
- List Subfolders in Folder: Tool to list immediate child folders within a SharePoint folder. Use when you need folder navigation or directory discovery by server-relative URL.
- Log SharePoint Event: Log custom usage analytics events in SharePoint for tracking user activities. Records usage events (views, edits, custom actions) to SharePoint's analytics system. Use this after performing actions to track usage patterns. The event will be logged to SharePoint's usage analytics database for reporting and analytics purposes. Common use cases: - Track document views or edits - Record custom user interactions - Log application-specific events for analytics Note: Obtain site/web GUIDs from GET /api/site or GET /api/web endpoints.
- Recycle SharePoint File: Tool to move a file to the Recycle Bin. Use when you need to recycle a file after confirming its folder and filename paths.
- Recycle SharePoint List Item: Tool to move a list item to the Recycle Bin. Use when you need to soft-delete an item but preserve the ability to restore it.
- Remove SharePoint User: Removes a user from SharePoint. Will not fail if user doesn't exist.
- Rename SharePoint Folder: Renames a SharePoint folder by updating its list item metadata. To use this action: 1. First call GET_FOLDER_BY_SERVER_RELATIVE_URL with expand=ListItemAllFields to get the folder's metadata_type 2. Extract the '__metadata.type' value from the response's ListItemAllFields (e.g., 'SP.Data.Shared_x0020_DocumentsItem') 3. Call this action with the folder path, metadata_type, and new name The rename operation updates both the folder's display name (Title) and actual name (FileLeafRef). Note: This only changes the folder name, not its location in the hierarchy.
- Render List Data As Stream: Retrieve list items from SharePoint with rich metadata and formatting. Returns items in the 'Row' array along with pagination info (FirstRow, LastRow, NextHref). Supports CAML queries via ViewXml for filtering and sorting. Use this when you need list data with properly formatted field values, lookup fields, or managed metadata - more capable than standard OData endpoints.
- Restore Recycle Bin Item: Tool to restore a SharePoint Recycle Bin item. Use when you need to recover a deleted item by providing its GUID.
- Search SharePoint Site: Search SharePoint content using Keyword Query Language (KQL). Returns documents, list items, folders, and other content matching your query. Supports filtering by properties (file type, author, date), pagination, and custom property selection. Use this to find files, documents, or any SharePoint content across the site.
- Search Suggest: Tool to get search query suggestions. Use when you need to provide autocomplete options for user search input.
- Update SharePoint List Item: Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.
- Upload File to Folder: Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.
How to connect SharePoint
- Sign in to Definable AI and go to Apps
- Search for SharePoint and click Connect
- Authorize via OAuth2 — takes under 30 seconds
- Use SharePoint actions in your AI agents and workflows