Update List Item
sharepoint.update_list_item
ActionFiles & storageconnection required
Calls the SharePoint API with the connection's credentials.
Change column values on an existing list item; columns not named keep their current values.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- SharePoint
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"} with the Sites.ReadWrite.All delegated scope
- Config it needs
- tenant, site_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 4 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
site_id The site id that holds the list, as 'hostname,siteCollectionId,siteId'. Use sharepoint.get_site or sharepoint.search_sites to find it. | string | Yes | — | — | — |
list_id The list's id or its name, both of which Graph accepts in the path. | string | Yes | — | — | — |
item_id The list item id to update. | string | Yes | — | — | — |
fields Column values to set, keyed by internal column name, e.g. {"Status": "Closed"}. At least one column is needed: an empty fieldValueSet changes nothing. | object | Yes | — | ≥ 1 characters | {"Status":"Closed"} |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"fields": {
"Status": "Closed"
}
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The list item id that was updated. | string | — |
fields The column values as Graph returned them. | object | — |
{
"fields": {},
"id": ""
}See Update List Item run in a workflow.
In a technical demo we add the SharePoint connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.