Neo4j Update
Overview
The Neo4j Update Snap updates the properties of existing nodes in your Neo4j database that match the specified criteria.
The Snap matches nodes by label and filter, then applies the property values supplied in the incoming document. Nodes that do not match are left unchanged. To create nodes that do not yet exist, use the Neo4j Write Snap with the MERGE operation.

- This is a Write-type Snap.
Supported Accounts
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input |
This Snap has one document input view. Each incoming document supplies the property values to apply to the matching nodes. |
|
| Output |
This Snap has at most one document output view. Each output document reports the result of the update for the corresponding input document. |
|
| Learn more about Error handling. | ||
Snap settings
| Field/Field set | Description |
|---|---|
Label* String |
Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: Neo4j Update |
Node label*
String/Expression |
Enter the label of the nodes to update. Default value: None Example: |
Filter
String/Expression |
Enter the Cypher predicate that identifies the nodes to update. Reference node
properties with the Default value: None Example: |
Batch size
Integer/Expression |
Enter the number of documents the Snap applies to Neo4j in a single transaction. Default value: 1000 Example: |
|
Snap execution Dropdown list
|
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Execute only |
Troubleshooting
| Error | Reason | Resolution |
|---|---|---|
| Node label is required | The Node label field is empty. | Provide a non-empty node label in the Node label field. |
| Neo4j operation failed | The Filter expression contains a syntax error or references a property that does not exist in the target database. | Verify the Cypher predicate in the Filter field.
Ensure all property names are prefixed with n. and the expression
is valid Cypher syntax. |