{ "name": "Загрузка данных в БЗ", "nodes": [ { "parameters": { "formTitle": "Загрузка файлов", "formFields": { "values": [ { "fieldLabel": "Файлы", "fieldType": "file", "acceptFileTypes": ".md", "requiredField": true } ] }, "options": { "appendAttribution": false, "buttonLabel": "Загрузить" } }, "type": "n8n-nodes-base.formTrigger", "typeVersion": 2.6, "position": [ -336, -112 ], "id": "3bcd7eea-c9ae-4797-b32f-2319eee58f3d", "name": "Форма загрузки", "webhookId": "742bf6de-5158-468c-be36-144af57d69d0" }, { "parameters": { "options": {} }, "type": "n8n-nodes-base.splitInBatches", "typeVersion": 3, "position": [ 144, -112 ], "id": "5fd62c9a-aed5-4329-b768-41d2bcfae635", "name": "Loop Over Items" }, { "parameters": { "fieldToSplitOut": "=$binary", "options": { "includeBinary": true } }, "type": "n8n-nodes-base.splitOut", "typeVersion": 1, "position": [ -112, -112 ], "id": "7b54975d-65e6-4126-9b2f-246071e78047", "name": "Список из файлов" }, { "parameters": { "httpMethod": "POST", "path": "993d3a50-19a7-4c64-9d36-67c0ced130dd", "responseMode": "lastNode", "options": {} }, "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [ -336, -288 ], "id": "4c6abbc0-4c23-42a8-bfc4-0db819c357fd", "name": "Webhook загрузка файлов", "webhookId": "993d3a50-19a7-4c64-9d36-67c0ced130dd" }, { "parameters": { "mode": "insert", "memoryKey": { "__rl": true, "value": "={{ $('Webhook загрузка файлов').item.json.body.collection_name || \"my-store\" }}", "mode": "id" } }, "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory", "typeVersion": 1.3, "position": [ 464, -96 ], "id": "27d64d0f-f8c1-4d7d-bb08-183fe5d6deda", "name": "Simple Vector Store" }, { "parameters": { "model": "qwen/qwen3-embedding-8b", "options": { "stripNewLines": true, "timeout": -1, "encodingFormat": "float" } }, "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "typeVersion": 1.2, "position": [ 464, 592 ], "id": "bd40cc24-2d40-41b1-afa3-bf9562a62aa7", "name": "Embeddings OpenAI", "credentials": { "openAiApi": { "id": "1nJ1BJpmEz5PgE4G", "name": "PolzaAI SchoolHepler" } } }, { "parameters": { "dataType": "binary", "options": {} }, "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader", "typeVersion": 1.1, "position": [ 512, 432 ], "id": "9617644d-af1a-4eb1-a051-598e41c5e032", "name": "Default Data Loader" }, { "parameters": { "mode": "insert", "memoryKey": { "__rl": true, "mode": "list", "value": "" }, "clearStore": true }, "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory", "typeVersion": 1.3, "position": [ 16, 256 ], "id": "ad5f6be6-83e8-4d02-b662-74a405897c3f", "name": "Simple Vector Store1", "disabled": true }, { "parameters": {}, "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [ -224, 256 ], "id": "606b4e74-abdd-4ce2-a2b6-f271d9e82ed6", "name": "Удаление данных" } ], "pinData": {}, "connections": { "Форма загрузки": { "main": [ [ { "node": "Список из файлов", "type": "main", "index": 0 } ] ] }, "Loop Over Items": { "main": [ [], [ { "node": "Simple Vector Store", "type": "main", "index": 0 } ] ] }, "Список из файлов": { "main": [ [ { "node": "Loop Over Items", "type": "main", "index": 0 } ] ] }, "Webhook загрузка файлов": { "main": [ [ { "node": "Список из файлов", "type": "main", "index": 0 } ] ] }, "Embeddings OpenAI": { "ai_embedding": [ [ { "node": "Simple Vector Store", "type": "ai_embedding", "index": 0 }, { "node": "Simple Vector Store1", "type": "ai_embedding", "index": 0 } ] ] }, "Default Data Loader": { "ai_document": [ [ { "node": "Simple Vector Store", "type": "ai_document", "index": 0 }, { "node": "Simple Vector Store1", "type": "ai_document", "index": 0 } ] ] }, "Simple Vector Store": { "main": [ [ { "node": "Loop Over Items", "type": "main", "index": 0 } ] ] }, "Удаление данных": { "main": [ [ { "node": "Simple Vector Store1", "type": "main", "index": 0 } ] ] } }, "active": true, "settings": { "executionOrder": "v1", "binaryMode": "separate" }, "versionId": "c8187ef0-3900-41d3-bf53-15a59d2ccf43", "meta": { "templateCredsSetupCompleted": true, "instanceId": "e2065f384907dad1891d76029e33dd9f27db30e53c43de730e3d4d635e31e1e5" }, "nodeGroups": [], "id": "DmUJlHAO6hUXbLlq", "tags": [ { "updatedAt": "2026-07-07T06:38:48.585Z", "createdAt": "2026-07-07T06:38:48.585Z", "id": "5vOw2cslMQJWsEiT", "name": "демо" }, { "updatedAt": "2026-07-07T06:37:53.737Z", "createdAt": "2026-07-07T06:37:53.737Z", "id": "vhdY444aWHvzAmz8", "name": "нетология" } ] }