I’m having trouble setting up a vector collection workflow between N8N and Qdrant. When I try to run my automation, I keep getting this error message:
Error in node 'Vector Database Store'
400 Bad Request: Wrong input: Not existing vector name error:
I followed some online guides but they don’t explain the complete setup process. The main things missing from most tutorials are:
- How do I properly create a qdrant collection that works with N8N workflows?
- What settings should I use when initializing the collection?
- Are there any specific configuration requirements?
I created my collection through the qdrant dashboard but maybe I’m missing something important. The workflow connects to OpenAI embeddings and tries to store document vectors, but it fails at the vector store step.
Here’s my current workflow setup:
{
"name": "DocumentProcessingFlow",
"nodes": [
{
"parameters": {
"model": "text-embedding-ada-002",
"options": {}
},
"id": "embedding-node-001",
"name": "OpenAI Embeddings",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"typeVersion": 1,
"position": [900, 200]
},
{
"parameters": {
"repository": "https://github.com/example/test-docs",
"additionalOptions": {}
},
"id": "github-loader-002",
"name": "Document Loader",
"type": "@n8n/n8n-nodes-langchain.documentGithubLoader",
"typeVersion": 1,
"position": [1000, 200]
},
{
"parameters": {
"mode": "insert",
"qdrantCollection": {
"__rl": true,
"value": "my_vectors",
"mode": "list"
}
},
"id": "qdrant-store-003",
"name": "Vector Database Store",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"typeVersion": 1,
"position": [1100, 100]
}
]
}
Has anyone successfully set this up before? What am I doing wrong with the collection configuration?