This workflow follows the Documentdefaultdataloader → Execute Workflow Trigger recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "small dick",
"nodes": [
{
"parameters": {
"inputSource": "passthrough"
},
"id": "c055762a-8fe7-4141-a639-df2372f30060",
"typeVersion": 1.1,
"name": "When Executed by Another Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
272,
400
]
},
{
"parameters": {},
"id": "b5942df6-0160-4ef7-965d-57583acdc8aa",
"name": "Replace me with your logic",
"type": "n8n-nodes-base.noOp",
"position": [
864,
384
]
},
{
"parameters": {
"mode": "insert",
"qdrantCollection": {
"__rl": true,
"value": "n8n",
"mode": "list",
"cachedResultName": "n8n"
},
"embeddingBatchSize": 50,
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"typeVersion": 1.3,
"position": [
480,
416
],
"id": "1655c684-2b68-4205-950c-62e31130143a",
"name": "Qdrant Vector Store",
"credentials": {
"qdrantApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"jsonMode": "expressionData",
"jsonData": "={{ $json.pageContent }}",
"textSplittingMode": "custom",
"options": {
"metadata": {
"metadataValues": [
{
"name": "=source",
"value": "={{ $json.metadata.source }}"
},
{
"name": "article",
"value": "={{ $json.metadata.article }}"
}
]
}
}
},
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"typeVersion": 1.1,
"position": [
560,
720
],
"id": "f0a6a599-5e70-4342-99af-b830836c2347",
"name": "Default Data Loader2"
},
{
"parameters": {
"chunkSize": 2000,
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"typeVersion": 1,
"position": [
496,
864
],
"id": "10850569-a094-405d-aff3-599a679d6d63",
"name": "Recursive Character Text Splitter"
},
{
"parameters": {
"model": "qwen3-embedding:0.6b"
},
"type": "@n8n/n8n-nodes-langchain.embeddingsOllama",
"typeVersion": 1,
"position": [
336,
704
],
"id": "568ca7c3-0d10-4bcb-a295-47531d567e1d",
"name": "Embeddings Ollama",
"credentials": {
"ollamaApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Qdrant Vector Store",
"type": "main",
"index": 0
}
]
]
},
"Default Data Loader2": {
"ai_document": [
[
{
"node": "Qdrant Vector Store",
"type": "ai_document",
"index": 0
}
]
]
},
"Recursive Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader2",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Qdrant Vector Store": {
"main": [
[
{
"node": "Replace me with your logic",
"type": "main",
"index": 0
}
]
]
},
"Embeddings Ollama": {
"ai_embedding": [
[
{
"node": "Qdrant Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1",
"availableInMCP": false,
"timeSavedMode": "fixed",
"callerPolicy": "workflowsFromSameOwner"
},
"versionId": "9ffde182-7126-497d-9efd-73e1a9c11435",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "OBlCmwA27Ha6OEPa",
"tags": []
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
ollamaApiqdrantApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
small dick. Uses executeWorkflowTrigger, vectorStoreQdrant, documentDefaultDataLoader, textSplitterRecursiveCharacterTextSplitter. Event-driven trigger; 6 nodes.
Source: https://github.com/fajfl/law-agent-by-n8n/blob/10bd8383626a2aaa254b1963c55e683df6b1a9a3/n8n/sub.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
RAG Pipeline. Uses formTrigger, vectorStoreQdrant, embeddingsOllama, documentDefaultDataLoader. Event-driven trigger; 13 nodes.
Click here to view the YouTube Tutorial
Overview This template allows users to set up an AI-powered chatbot that retrieves and processes knowledge from Google Drive documents using Retrieval-Augmented Generation (RAG). By leveraging Llama 3
Api Schema Extractor. Uses manualTrigger, httpRequest, splitOut, textSplitterRecursiveCharacterTextSplitter. Event-driven trigger; 88 nodes.
Wait Splitout. Uses manualTrigger, httpRequest, splitOut, textSplitterRecursiveCharacterTextSplitter. Event-driven trigger; 88 nodes.