n8n community node to manage OpenAI Vector Stores - Create, search, and manage vector stores for semantic search and RAG applications
npm install n8n-nodes-openai-vectorstore!n8n.io - Workflow Automation
!npm
!License
This is an n8n community node to manage OpenAI Vector Stores for semantic search and RAG (Retrieval-Augmented Generation) applications.
n8n is a fair-code licensed workflow automation platform.
Full implementation of OpenAI Vector Stores API:
1. Go to Settings > Community Nodes
2. Select Install
3. Enter n8n-nodes-openai-vectorstore
4. Click Install
``bash`In your n8n installation directory
npm install n8n-nodes-openai-vectorstore
You need an OpenAI API key:
1. Go to OpenAI API Keys
2. Create a new API key
3. In n8n, create new credentials for "OpenAI Vector Store API"
4. Enter your API key
`json`
{
"resource": "vectorStore",
"operation": "create",
"name": "Knowledge Base",
"additionalFields": {
"description": "Support documentation",
"expiresAfterDays": 30
}
}
`json`
{
"resource": "vectorStore",
"operation": "search",
"vectorStoreId": "vs_abc123",
"query": "How to reset password?",
"searchOptions": {
"max_num_results": 5,
"score_threshold": 0.7,
"rewrite_query": true
}
}
`json`
{
"resource": "vectorStoreFile",
"operation": "create",
"vectorStoreId": "vs_abc123",
"fileId": "file-xyz789",
"additionalFields": {
"attributes": {
"category": "support",
"language": "en"
}
}
}
`json`
{
"searchOptions": {
"filters": {
"type": "eq",
"key": "category",
"value": "support"
}
}
}
- RAG Chatbots: Provide relevant context to AI assistants
- Support Systems: Search documentation with natural language
- Knowledge Management: Build enterprise knowledge bases
- Document Analysis: Extract information from large document sets
```
[Webhook] → [Vector Store: Search] → [OpenAI: Chat] → [Respond]
1. Receive user question
2. Search for relevant documents
3. Generate response with context
4. Send answer
- OpenAI Vector Stores API
- n8n Community Nodes Docs
- Report Issues