Local File RAG Chatbot with Mistral AI
caf7fe5d-f4b0-4c5e-90c9-b756f2ede5af
Latency
6779ms
Cost
$0.0023
Tokens
912
Status
partialgemini-3-flash-preview
7 nodes ran as pass-throughs
n8n-nodes-base.localFileTrigger, @n8n/n8n-nodes-langchain.embeddingsMistralCloud, @n8n/n8n-nodes-langchain.lmChatMistralCloud, @n8n/n8n-nodes-langchain.retrieverVectorStore, @n8n/n8n-nodes-langchain.embeddingsMistralCloud, @n8n/n8n-nodes-langchain.vectorStoreQdrant, @n8n/n8n-nodes-langchain.vectorStoreQdrant
Workflow Graph
Trace
[
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "c5525f47-4d91-4b98-87bb-566b90da64a1",
"timestamp": 1780649273400
},
{
"data": {
"type": "n8n-nodes-base.localFileTrigger"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780649273400
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "c5525f47-4d91-4b98-87bb-566b90da64a1",
"timestamp": 1780649273400
},
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "804334d6-e34d-40d1-9555-b331ffe66f6f",
"timestamp": 1780649273402
},
{
"data": {
"initialData": {
"path": "/data/docs/mistral_guide.txt",
"event": "file_added"
}
},
"event": "triggered",
"nodeId": "manualTrigger",
"timestamp": 1780649273402
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "804334d6-e34d-40d1-9555-b331ffe66f6f",
"timestamp": 1780649273402
},
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "7354a080-051b-479f-97b1-49cc0c14c9d8",
"timestamp": 1780649273405
},
{
"data": {
"type": "@n8n/n8n-nodes-langchain.embeddingsMistralCloud"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780649273405
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "7354a080-051b-479f-97b1-49cc0c14c9d8",
"timestamp": 1780649273405
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "0b0e29b9-8873-4074-94dc-9f0364c28835",
"timestamp": 1780649273407
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780649273407
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "0b0e29b9-8873-4074-94dc-9f0364c28835",
"timestamp": 1780649273407
},
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "ffe8c363-0809-4d21-aa8f-34b0fc2dc57f",
"timestamp": 1780649273409
},
{
"data": {
"kind": "@n8n/n8n-nodes-langchain.chatTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1780649273409
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "ffe8c363-0809-4d21-aa8f-34b0fc2dc57f",
"timestamp": 1780649273409
},
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "f143e438-8176-4923-a866-3f9a2a16793d",
"timestamp": 1780649273411
},
{
"data": {
"type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780649273411
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "f143e438-8176-4923-a866-3f9a2a16793d",
"timestamp": 1780649273411
},
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "2fdabcb5-a7a7-4e02-8c1b-9190e2e52385",
"timestamp": 1780649273413
},
{
"data": {
"type": "@n8n/n8n-nodes-langchain.embeddingsMistralCloud"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780649273413
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "2fdabcb5-a7a7-4e02-8c1b-9190e2e52385",
"timestamp": 1780649273413
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "7ab0e284-b667-4d1f-8ceb-fb05e4081a06",
"timestamp": 1780649273415
},
{
"data": {
"inputKeys": [],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780649273415
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "7ab0e284-b667-4d1f-8ceb-fb05e4081a06",
"timestamp": 1780649273415
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "a1ad45ff-a882-4aed-82e2-cad2483cf4e8",
"timestamp": 1780649273417
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780649273417
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "a1ad45ff-a882-4aed-82e2-cad2483cf4e8",
"timestamp": 1780649273417
},
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "1857bebb-b492-415e-96c8-235329bfd28a",
"timestamp": 1780649273419
},
{
"data": {
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780649273419
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "1857bebb-b492-415e-96c8-235329bfd28a",
"timestamp": 1780649273419
},
{
"data": {
"nodeType": "switch"
},
"event": "node_start",
"nodeId": "2d6fb29c-2fac-41de-9ad0-cc781b246378",
"timestamp": 1780649273421
},
{
"event": "matched rule 0 -> file_deleted",
"nodeId": "switch",
"timestamp": 1780649273421
},
{
"data": {
"status": "ok",
"nodeType": "switch"
},
"event": "node_end",
"nodeId": "2d6fb29c-2fac-41de-9ad0-cc781b246378",
"timestamp": 1780649273421
},
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "06dd8f4c-3b66-43e0-85c8-ec222e275f87",
"timestamp": 1780649273423
},
{
"data": {
"type": "@n8n/n8n-nodes-langchain.retrieverVectorStore"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780649273423
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "06dd8f4c-3b66-43e0-85c8-ec222e275f87",
"timestamp": 1780649273423
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "1fd14832-aafe-4d72-b4f2-7afc72df97dc",
"timestamp": 1780649273425
},
{
"event": "fetching POST http://qdrant:6333/collections//points/scroll",
"nodeId": "http",
"timestamp": 1780649273425
},
{
"data": {
"url": "http://qdrant:6333/collections//points/scroll",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780649273425
},
{
"data": {
"error": "fetch failed",
"status": "error",
"degraded": true,
"nodeType": "http"
},
"event": "node_end",
"nodeId": "1fd14832-aafe-4d72-b4f2-7afc72df97dc",
"timestamp": 1780649273487
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "5408adfe-4d6b-407c-aac7-e87c9b1a1592",
"timestamp": 1780649273489
},
{
"event": "fetching POST http://qdrant:6333/collections//points/scroll",
"nodeId": "http",
"timestamp": 1780649273489
},
{
"data": {
"url": "http://qdrant:6333/collections//points/scroll",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780649273489
},
{
"data": {
"error": "fetch failed",
"status": "error",
"degraded": true,
"nodeType": "http"
},
"event": "node_end",
"nodeId": "5408adfe-4d6b-407c-aac7-e87c9b1a1592",
"timestamp": 1780649273492
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "8d958669-60be-4bb2-80fc-2a6c7c7bfae6",
"timestamp": 1780649273494
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780649273494
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780649273494
},
{
"data": {
"model": "gemini-3-flash-preview",
"costUsd": 0.0022778000000000004,
"provider": "openai",
"latencyMs": 6661,
"promptTokens": 1,
"completionTokens": 911
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780649280156
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "8d958669-60be-4bb2-80fc-2a6c7c7bfae6",
"timestamp": 1780649280156
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "b5fa817f-82d6-41dd-9817-4c1dd9137b76",
"timestamp": 1780649280159
},
{
"event": "true branch",
"nodeId": "if",
"timestamp": 1780649280159
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "b5fa817f-82d6-41dd-9817-4c1dd9137b76",
"timestamp": 1780649280159
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "fac43587-0d24-4d6e-a0d5-8cc8f9615967",
"timestamp": 1780649280161
},
{
"event": "true branch",
"nodeId": "if",
"timestamp": 1780649280161
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "fac43587-0d24-4d6e-a0d5-8cc8f9615967",
"timestamp": 1780649280161
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "010baacd-fac1-4cc1-86bf-9d6ef11916fe",
"timestamp": 1780649280163
},
{
"event": "fetching POST http://qdrant:6333/collections//points/delete",
"nodeId": "http",
"timestamp": 1780649280163
},
{
"data": {
"url": "http://qdrant:6333/collections//points/delete",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780649280163
},
{
"data": {
"error": "fetch failed",
"status": "error",
"degraded": true,
"nodeType": "http"
},
"event": "node_end",
"nodeId": "010baacd-fac1-4cc1-86bf-9d6ef11916fe",
"timestamp": 1780649280167
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "b0fa4fa4-5d1b-4a12-b8ba-a10d71f31f94",
"timestamp": 1780649280169
},
{
"event": "fetching POST http://qdrant:6333/collections//points/delete",
"nodeId": "http",
"timestamp": 1780649280169
},
{
"data": {
"url": "http://qdrant:6333/collections//points/delete",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780649280169
},
{
"data": {
"error": "fetch failed",
"status": "error",
"degraded": true,
"nodeType": "http"
},
"event": "node_end",
"nodeId": "b0fa4fa4-5d1b-4a12-b8ba-a10d71f31f94",
"timestamp": 1780649280172
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "e5664534-de07-481f-87dd-68d7d0715baa",
"timestamp": 1780649280174
},
{
"data": {
"inputKeys": [],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780649280174
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "e5664534-de07-481f-87dd-68d7d0715baa",
"timestamp": 1780649280174
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "f82f6de0-af8f-4fdf-a733-f59ba4fed02f",
"timestamp": 1780649280176
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780649280176
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "f82f6de0-af8f-4fdf-a733-f59ba4fed02f",
"timestamp": 1780649280176
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "c0555ba6-a1bd-4aa9-a340-a9c617f8e6db",
"timestamp": 1780649280177
},
{
"data": {
"inputKeys": [],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780649280177
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "c0555ba6-a1bd-4aa9-a340-a9c617f8e6db",
"timestamp": 1780649280177
},
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "7b29b0b9-ffee-4456-b036-9b39400d2b31",
"timestamp": 1780649280179
},
{
"data": {
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780649280179
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "7b29b0b9-ffee-4456-b036-9b39400d2b31",
"timestamp": 1780649280179
}
]