Actions11
Item → Update
AI-generatedSummary
Update an existing item in a specified SharePoint list by matching columns to identify the item and setting new values for its columns.
Inputs
- subdomain (required) — The subdomain of your SharePoint site (e.g. 'mycompany' for mycompany.sharepoint.com).
- site (required) — Select the SharePoint site containing the list where the item exists, either by choosing from a list or by entering the site ID.
- list (required) — Select the list within the specified site where the item to update exists, either from a list or by list ID.
- columns (required) — Define the columns and values to match existing items (including the required "ID" column to identify the item) and the new values to update them with. Note that columns of type Hyperlink, Location, and Metadata cannot be updated due to API restrictions.
Output shape
a single record containing the updated item's data
The operation locates the item by matching specified columns including 'ID' and updates the specified columns with new values. It returns the updated item data. Errors occur if no item matches the columns or if unsupported column types are included.
Examples
Example 1: Update the Title and Status of a SharePoint item by specifying its ID and matching columns
Set 'subdomain' as your SharePoint subdomain, select the appropriate site and list, then provide 'columns' containing 'id' to identify the item and other columns with new values to update.