Update Node
AI-generatedSummary
Update properties on nodes matching a specific label and property filter in a Neo4j graph database.
Inputs
- Label (required) — The node label to match (e.g., Person).
- Match Property (required) — The property name used to identify the node(s) to update.
- Match Value (required) — The value to match for the match property, selecting which nodes to update.
- Update Properties — A JSON object representing properties to set or update on the matched node(s).
Output shape
a list of matched and updated nodes each as a JSON object
Returns an array of JSON objects representing the updated nodes, including their labels, internal ID, and updated properties. Outputs are paired by input item. If no nodes match, the output list is empty.
Examples
Example 1: Update the age of nodes labeled 'Person' where name equals 'Alice' to 31.
Label='Person', Match Property='name', Match Value='Alice', Update Properties='{"age":31}'