feat: first commit

This commit is contained in:
n8n Automation
2026-05-19 10:56:57 +00:00
commit fa1381a306
4 changed files with 613 additions and 0 deletions
+143
View File
@@ -0,0 +1,143 @@
[
{
"updatedAt": "2026-05-08T13:58:37.510Z",
"createdAt": "2026-05-08T13:58:37.510Z",
"id": "m2j43Sg4zsH9eSWg",
"name": "Dyak — Анализ встречи",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "ask-analyze",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
0,
0
],
"id": "bcd85095-97f8-4d6b-869a-f2792620ef9a",
"name": "Webhook",
"webhookId": "dyak-ask-analyze"
},
{
"parameters": {
"modelId": {
"__rl": true,
"value": "={{ $json.body.model || $json.model || 'qwen2.5:32b' }}",
"mode": "expression"
},
"messages": {
"values": [
{
"content": "={{ $json.body.prompt || $json.prompt }}"
}
]
},
"options": {
"temperature": 0.2
}
},
"type": "@n8n/n8n-nodes-langchain.ollama",
"typeVersion": 1,
"position": [
304,
0
],
"id": "8d680c79-f434-4fd6-81a7-8b396311518b",
"name": "Ollama: Анализ встречи",
"credentials": {
"ollamaApi": {
"id": "rLJ5pXANVJNpHzVk",
"name": "Ollama account"
}
}
},
{
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.5,
"position": [
608,
0
],
"id": "6964ab1f-fa4e-48e2-adbb-e8a34eaffdf4",
"name": "Respond to Webhook"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Ollama: Анализ встречи",
"type": "main",
"index": 0
}
]
]
},
"Ollama: Анализ встречи": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"staticData": null,
"meta": null,
"pinData": {},
"versionId": "18213c10-598b-4797-a6d8-85a0c3e9edcb",
"activeVersionId": "18213c10-598b-4797-a6d8-85a0c3e9edcb",
"versionCounter": 14,
"triggerCount": 1,
"tags": [
{
"updatedAt": "2026-05-08T13:58:35.970Z",
"createdAt": "2026-05-08T13:58:35.970Z",
"id": "am4wleG98HrE7SAc",
"name": "dyak"
}
],
"shared": [
{
"updatedAt": "2026-05-08T13:58:37.510Z",
"createdAt": "2026-05-08T13:58:37.510Z",
"role": "workflow:owner",
"workflowId": "m2j43Sg4zsH9eSWg",
"projectId": "ADyfwlKMDdTKeTb1",
"project": {
"updatedAt": "2026-05-08T12:50:32.745Z",
"createdAt": "2026-05-08T04:19:48.389Z",
"id": "ADyfwlKMDdTKeTb1",
"name": "vladimir bolshakovsky <vladimir@bolshakovsky.ru>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "4b15ec28-0ec1-4822-85a6-86b4929930aa"
}
}
],
"versionMetadata": {
"name": "Version 18213c10",
"description": ""
}
}
]
@@ -0,0 +1,143 @@
[
{
"updatedAt": "2026-05-10T04:52:49.193Z",
"createdAt": "2026-05-08T13:58:55.795Z",
"id": "kKz435V0QqW4ZRBn",
"name": "Dyak — Генерация резюме",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "ask-summary",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
0,
0
],
"id": "0144093c-79ab-4084-8f01-f662b5e93025",
"name": "Webhook",
"webhookId": "dyak-ask-summary"
},
{
"parameters": {
"modelId": {
"__rl": true,
"value": "={{ $json.body.model || $json.model || 'qwen2.5:32b' }}",
"mode": "expression"
},
"messages": {
"values": [
{
"content": "={{ $json.body.prompt || $json.prompt }}"
}
]
},
"options": {
"temperature": 0.4
}
},
"type": "@n8n/n8n-nodes-langchain.ollama",
"typeVersion": 1,
"position": [
256,
0
],
"id": "e0f98cec-e214-4730-9f69-02fa6cd8da08",
"name": "Ollama: Сгенерировать резюме",
"credentials": {
"ollamaApi": {
"id": "rLJ5pXANVJNpHzVk",
"name": "Ollama account"
}
}
},
{
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.5,
"position": [
608,
0
],
"id": "6ef495cb-949e-4285-92ea-4a33608681b0",
"name": "Respond to Webhook"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Ollama: Сгенерировать резюме",
"type": "main",
"index": 0
}
]
]
},
"Ollama: Сгенерировать резюме": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"staticData": null,
"meta": null,
"pinData": {},
"versionId": "410ac5c2-19e0-4eca-b874-c3ec19b06ce2",
"activeVersionId": "0e459451-52c8-4f87-b29b-f02bf7b15218",
"versionCounter": 15,
"triggerCount": 1,
"tags": [
{
"updatedAt": "2026-05-08T13:58:35.970Z",
"createdAt": "2026-05-08T13:58:35.970Z",
"id": "am4wleG98HrE7SAc",
"name": "dyak"
}
],
"shared": [
{
"updatedAt": "2026-05-08T13:58:55.795Z",
"createdAt": "2026-05-08T13:58:55.795Z",
"role": "workflow:owner",
"workflowId": "kKz435V0QqW4ZRBn",
"projectId": "ADyfwlKMDdTKeTb1",
"project": {
"updatedAt": "2026-05-08T12:50:32.745Z",
"createdAt": "2026-05-08T04:19:48.389Z",
"id": "ADyfwlKMDdTKeTb1",
"name": "vladimir bolshakovsky <vladimir@bolshakovsky.ru>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "4b15ec28-0ec1-4822-85a6-86b4929930aa"
}
}
],
"versionMetadata": {
"name": null,
"description": null
}
}
]
@@ -0,0 +1,144 @@
[
{
"updatedAt": "2026-05-08T14:15:09.787Z",
"createdAt": "2026-05-08T13:59:13.748Z",
"id": "Zm2AWungYXoUvk5S",
"name": "Dyak — Извлечение задач",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "ask-action-items",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
0,
0
],
"id": "05da650b-942c-49df-a69c-54b13a4a34ff",
"name": "Webhook",
"webhookId": "dyak-ask-action-items"
},
{
"parameters": {
"modelId": {
"__rl": true,
"value": "={{ $json.body.model || $json.model || 'qwen2.5:32b' }}",
"mode": "expression"
},
"messages": {
"values": [
{
"content": "={{ $json.body.prompt || $json.prompt }}"
}
]
},
"options": {
"temperature": 0.2,
"num_predict": 1024
}
},
"type": "@n8n/n8n-nodes-langchain.ollama",
"typeVersion": 1,
"position": [
304,
0
],
"id": "4b18791b-38d0-4484-a8ec-6ae3cfeeb5b3",
"name": "Ollama: Извлечь задачи",
"credentials": {
"ollamaApi": {
"id": "rLJ5pXANVJNpHzVk",
"name": "Ollama account"
}
}
},
{
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.5,
"position": [
608,
0
],
"id": "224485f2-3ec9-474e-a83f-920c7ed92a24",
"name": "Respond to Webhook"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Ollama: Извлечь задачи",
"type": "main",
"index": 0
}
]
]
},
"Ollama: Извлечь задачи": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"staticData": null,
"meta": null,
"pinData": {},
"versionId": "64edfe70-de42-48f5-99c5-cfbd8927b04d",
"activeVersionId": "e31fa373-5a4a-46e0-8ca8-2a98755e024f",
"versionCounter": 19,
"triggerCount": 1,
"tags": [
{
"updatedAt": "2026-05-08T13:58:35.970Z",
"createdAt": "2026-05-08T13:58:35.970Z",
"id": "am4wleG98HrE7SAc",
"name": "dyak"
}
],
"shared": [
{
"updatedAt": "2026-05-08T13:59:13.748Z",
"createdAt": "2026-05-08T13:59:13.748Z",
"role": "workflow:owner",
"workflowId": "Zm2AWungYXoUvk5S",
"projectId": "ADyfwlKMDdTKeTb1",
"project": {
"updatedAt": "2026-05-08T12:50:32.745Z",
"createdAt": "2026-05-08T04:19:48.389Z",
"id": "ADyfwlKMDdTKeTb1",
"name": "vladimir bolshakovsky <vladimir@bolshakovsky.ru>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "4b15ec28-0ec1-4822-85a6-86b4929930aa"
}
}
],
"versionMetadata": {
"name": null,
"description": null
}
}
]
@@ -0,0 +1,183 @@
[
{
"updatedAt": "2026-05-10T04:59:55.823Z",
"createdAt": "2026-05-10T02:56:17.579Z",
"id": "rauwyTPZAO3vIgxj",
"name": "Dyak — Чат с помощником",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "ask-chat",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
1456,
368
],
"id": "e049dc5e-c6ed-4c08-b6fa-b26a26e78384",
"name": "Webhook",
"webhookId": "dyak-ask-chat"
},
{
"parameters": {
"jsCode": "// Готовим payload для Ollama /api/chat:\n// {model, messages: [{role, content}, ...], stream: false, options: {num_ctx}}\n// Принимаем body как с верхнего уровня ($json), так и из $json.body —\n// поведение n8n меняется в зависимости от версии и заголовков.\nconst src = $input.first().json;\nconst body = src.body || src;\n\nconst system = (body.system || '').toString();\nconst history = Array.isArray(body.messages) ? body.messages : [];\nconst model = body.model || 'qwen2.5:32b';\n\nconst messages = [];\nif (system) {\n messages.push({ role: 'system', content: system });\n}\nfor (const m of history) {\n if (m && m.role && typeof m.content === 'string' && m.content.length > 0) {\n messages.push({ role: m.role, content: m.content });\n }\n}\n\nreturn [{\n json: {\n model,\n messages,\n stream: false,\n options: { num_ctx: 16384, temperature: 0.5 }\n }\n}];\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1680,
368
],
"id": "d74becc0-cd53-407d-8940-cd5d928b58cc",
"name": "Подготовка payload"
},
{
"parameters": {
"method": "POST",
"url": "http://ollama-gpu:11434/api/chat",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify($json) }}",
"options": {
"response": {
"response": {
"responseFormat": "json"
}
},
"timeout": 600000
}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1920,
368
],
"id": "92a4820e-a8fb-4f28-be74-8caae884a1d3",
"name": "Ollama: /api/chat"
},
{
"parameters": {
"jsCode": "// Приводим ответ Ollama к контракту, который ждёт dyak.api.v1.chat:\n// [{content: \"...\"}]\n// Ollama /api/chat возвращает {message: {role, content}, ...}.\nconst raw = $input.first().json;\nconst content = raw && raw.message && raw.message.content\n ? raw.message.content\n : '';\n\nreturn [{ json: { content } }];\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
2160,
368
],
"id": "0b7871c2-10a6-4c1f-af9b-2eae01d4e8e0",
"name": "Извлечение content"
},
{
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.5,
"position": [
2400,
368
],
"id": "9222a8e2-e450-4146-913d-837c59b497bc",
"name": "Respond to Webhook"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Подготовка payload",
"type": "main",
"index": 0
}
]
]
},
"Подготовка payload": {
"main": [
[
{
"node": "Ollama: /api/chat",
"type": "main",
"index": 0
}
]
]
},
"Ollama: /api/chat": {
"main": [
[
{
"node": "Извлечение content",
"type": "main",
"index": 0
}
]
]
},
"Извлечение content": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"staticData": null,
"meta": null,
"pinData": {},
"versionId": "1c17ade8-ecfe-4e8d-99cf-9732693d0775",
"activeVersionId": "1c17ade8-ecfe-4e8d-99cf-9732693d0775",
"versionCounter": 27,
"triggerCount": 1,
"tags": [
{
"updatedAt": "2026-05-08T13:58:35.970Z",
"createdAt": "2026-05-08T13:58:35.970Z",
"id": "am4wleG98HrE7SAc",
"name": "dyak"
}
],
"shared": [
{
"updatedAt": "2026-05-10T02:56:17.579Z",
"createdAt": "2026-05-10T02:56:17.579Z",
"role": "workflow:owner",
"workflowId": "rauwyTPZAO3vIgxj",
"projectId": "ADyfwlKMDdTKeTb1",
"project": {
"updatedAt": "2026-05-08T12:50:32.745Z",
"createdAt": "2026-05-08T04:19:48.389Z",
"id": "ADyfwlKMDdTKeTb1",
"name": "vladimir bolshakovsky <vladimir@bolshakovsky.ru>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "4b15ec28-0ec1-4822-85a6-86b4929930aa"
}
}
],
"versionMetadata": {
"name": "Version 1c17ade8",
"description": ""
}
}
]