Package Information
Available Nodes
Documentation
n8n-nodes-neo4j
This is an n8n community node for Neo4j integration with LangChain support. It provides both vector store and graph database operations.
Neo4j is a graph database with vector search for knowledge graphs.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history
Features
Vector Store Operations:
- Similarity Search: Search for similar vectors in the database
- Add Texts: Add new texts to the vector store
Graph Database Operations:
- Execute Query: Run custom Cypher queries
- Create Node: Create new nodes with labels and properties
- Create Relationship: (Coming soon) Create relationships between nodes
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
Vector Store Operations
Similarity Search
- Select "Vector Store" as the resource
- Choose "Similarity Search" operation
- Enter the query text
- Execute to find similar vectors
Add Texts
- Select "Vector Store" as the resource
- Choose "Add Texts" operation
- Enter the texts to add
- Execute to store the texts as vectors
Graph Database Operations
Execute Query
- Select "Graph Database" as the resource
- Choose "Execute Query" operation
- Enter your Cypher query
- Execute to run the query
Create Node
- Select "Graph Database" as the resource
- Choose "Create Node" operation
- Enter the node label
- Provide node properties as JSON
- Execute to create the node
Credentials
Add Neo4j credentials in n8n:
- Connection URI (e.g.,
neo4j://localhost:7687
) - Username
- Password
- Database name
- Connection URI (e.g.,
The node will appear in the n8n nodes panel under "Neo4j"
Compatibility
Tested against n8n 1.88.0
Resources
Version history
1.0 : first runnable version of Neo4j VectorStore node
Development
- Clone this repository
- Install dependencies:
npm install
- Build:
npm run build
- Link to n8n:
npm link
- In your n8n installation:
npm link n8n-nodes-neo4j
Version history
Version 0.1.x
tested against n8n 1.45.1 to 1.86.0
include vector stores retrieval only
Version 0.2.x
tested against n8n 1.88.0
include vector stores and graph
License
MIT