This workflow follows the Agent → Chat 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": "dssat-rag",
"nodes": [
{
"parameters": {
"model": "sfr-embedding-mistral",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"typeVersion": 1.2,
"position": [
-1520,
192
],
"id": "b104ae7b-75e4-46d0-8e60-a15bd029cb80",
"name": "Embeddings OpenAI1",
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"dataType": "binary",
"loader": "textLoader",
"textSplittingMode": "custom",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"typeVersion": 1.1,
"position": [
-1344,
64
],
"id": "3b090d38-d8bc-461e-a142-a6ac3535a5b2",
"name": "Default Data Loader2"
},
{
"parameters": {},
"type": "n8n-nodes-base.limit",
"typeVersion": 1,
"position": [
-1072,
-208
],
"id": "93266923-b2f6-44bf-9bb1-42905ea68ae3",
"name": "Limit"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "1aac015e-af48-49cc-87cc-49d9c503fe09",
"name": "output",
"value": "=file processed",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-816,
-96
],
"id": "5b3255da-6816-4459-b2be-2b1c1c09f433",
"name": "Edit Fields"
},
{
"parameters": {
"chunkSize": 10000,
"chunkOverlap": 2000
},
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
-1216,
208
],
"id": "0b0d4fad-87e8-42c9-b6dd-52c2a67329f0",
"name": "Character Text Splitter"
},
{
"parameters": {
"mode": "insert",
"qdrantCollection": {
"__rl": true,
"value": "dssat-rag",
"mode": "list",
"cachedResultName": "dssat-rag"
},
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"typeVersion": 1.3,
"position": [
-1600,
-128
],
"id": "68ac9a25-9d4e-4fc3-ab5d-e82a7d651ed6",
"name": "Qdrant Vector Store1",
"credentials": {
"qdrantApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"value": "fsjdfahdggfajghajdghkjfkfjhasjfaaaa",
"mode": "id"
},
"event": "fileCreated",
"options": {}
},
"type": "n8n-nodes-base.googleDriveTrigger",
"typeVersion": 1,
"position": [
-1920,
-144
],
"id": "23c25c25-be46-4c21-9d03-250d878fa2f4",
"name": "Google Drive Trigger",
"credentials": {
"googleDriveOAuth2Api": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "Qdrant Vector Store1",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Default Data Loader2": {
"ai_document": [
[
{
"node": "Qdrant Vector Store1",
"type": "ai_document",
"index": 0
}
]
]
},
"Limit": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[]
]
},
"Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader2",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Qdrant Vector Store1": {
"main": [
[
{
"node": "Limit",
"type": "main",
"index": 0
}
]
]
},
"Google Drive Trigger": {
"main": [
[
{
"node": "Qdrant Vector Store1",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1",
"binaryMode": "separate",
"availableInMCP": false
},
"versionId": "b2a49cfa-596f-4593-9ef2-eedb8bc3547d",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "daf6x7QwOhRZFxpe",
"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.
openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
dssat-rag. Uses chatTrigger, embeddingsOpenAi, agent, documentDefaultDataLoader. Chat trigger; 11 nodes.
Source: https://github.com/itswael/DSSAT-RAG/blob/5f16175b78506441eb35654085f4be328a3ce11a/n8n/dssat-rag.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.
Agente_RAG. Uses supabase, embeddingsOpenAi, documentDefaultDataLoader, textSplitterCharacterTextSplitter. Chat trigger; 50 nodes.
This workflow transforms a Google Drive folder into an intelligent, searchable knowledge base and provides a chat agent to query it. It’s composed of two distinct flows: An ingestion pipeline to proce
Boost your productivity with this AI-powered email and calendar assistant:
Airbnb Guest Assistant. Uses lmChatOpenAi, googleDrive, documentDefaultDataLoader, textSplitterCharacterTextSplitter. Chat trigger; 26 nodes.
AI Agent to learn directly from your GitHub repository. It automatically syncs source files, converts them into vectorized knowledge