{ "name": "Notatkawebinar", "nodes": [ { "parameters": { "updates": [ "message" ], "additionalFields": {} }, "type": "n8n-nodes-base.telegramTrigger", "typeVersion": 1.2, "position": [ 0, 0 ], "id": "1bdb1f2d-9333-4465-bf71-74cf610c28c4", "name": "Telegram Trigger", "webhookId": "ef61c429-7f99-4487-8518-8cdda35a4dee", "credentials": { "telegramApi": { "id": "rkIkgA4gdOPnMU2q", "name": "Telegram account" } } }, { "parameters": { "resource": "file", "fileId": "={{ $json.message.voice.file_id }}", "additionalFields": {} }, "type": "n8n-nodes-base.telegram", "typeVersion": 1.2, "position": [ 208, 0 ], "id": "22abe8a4-e814-4247-b4ac-1256f6291f39", "name": "Get a file", "webhookId": "2a94ad98-baca-4d9e-a8ef-d505c085d523", "credentials": { "telegramApi": { "id": "rkIkgA4gdOPnMU2q", "name": "Telegram account" } } }, { "parameters": { "resource": "audio", "operation": "transcribe", "options": {} }, "type": "@n8n/n8n-nodes-langchain.openAi", "typeVersion": 2.1, "position": [ 416, 0 ], "id": "f47ac0a2-137f-4214-b38c-681b1d657b30", "name": "Transcribe a recording", "credentials": { "openAiApi": { "id": "XzMth0FKzPWLUEv0", "name": "OpenAi account 2" } } }, { "parameters": { "promptType": "define", "text": "={{ $json.text }}", "options": { "systemMessage": "=Zajmujesz się notowaniem pomysłów w dokumencie google do którego masz dostęp w twoich narzędziach.\n\nNotujesz tekst od nowego akapitu i robisz 2 razy enter na końcu zanotowanej wiadomości\n\nPo zanotowaniu tekstu, odpisz w wiadomości telegram, że zanotowałeś informację." } }, "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 2.1, "position": [ 704, 0 ], "id": "8b252f8b-f02a-4572-8e8f-ff8459b1292a", "name": "AI Agent" }, { "parameters": { "model": { "__rl": true, "mode": "list", "value": "gpt-4.1-mini" }, "options": {} }, "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "typeVersion": 1.2, "position": [ 704, 192 ], "id": "460695f5-69d4-42fb-854f-d482225159ae", "name": "OpenAI Chat Model", "credentials": { "openAiApi": { "id": "fHY9nzaBxItKTycz", "name": "OpenAi account" } } }, { "parameters": { "operation": "update", "simple": false, "actionsUi": { "actionFields": [ { "action": "insert", "text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('actionFields0_Text', ``, 'string') }}" } ] } }, "type": "n8n-nodes-base.googleDocsTool", "typeVersion": 2, "position": [ 896, 208 ], "id": "78ea732e-6c03-49ec-a0f9-dd3bcacdb22e", "name": "Zapis notatki w dokumencie", "credentials": { "googleDocsOAuth2Api": { "id": "D2gv6eVmDrVwv0zi", "name": "Google Docs account" } } }, { "parameters": { "text": "={{ $json.output }}", "additionalFields": {} }, "type": "n8n-nodes-base.telegram", "typeVersion": 1.2, "position": [ 1056, 0 ], "id": "f5773288-e352-47b2-84e3-5316de0d79d5", "name": "Send a text message", "webhookId": "25c0d2ae-9edf-4b6f-99a6-8170dae7c559", "credentials": { "telegramApi": { "id": "rkIkgA4gdOPnMU2q", "name": "Telegram account" } } } ], "pinData": {}, "connections": { "Telegram Trigger": { "main": [ [ { "node": "Get a file", "type": "main", "index": 0 } ] ] }, "Get a file": { "main": [ [ { "node": "Transcribe a recording", "type": "main", "index": 0 } ] ] }, "OpenAI Chat Model": { "ai_languageModel": [ [ { "node": "AI Agent", "type": "ai_languageModel", "index": 0 } ] ] }, "Zapis notatki w dokumencie": { "ai_tool": [ [ { "node": "AI Agent", "type": "ai_tool", "index": 0 } ] ] }, "Transcribe a recording": { "main": [ [ { "node": "AI Agent", "type": "main", "index": 0 } ] ] }, "AI Agent": { "main": [ [ { "node": "Send a text message", "type": "main", "index": 0 } ] ] } }, "active": false, "settings": { "executionOrder": "v1", "availableInMCP": false }, "versionId": "480af5cf-97fa-43cf-90aa-2031ea1c3a0e", "meta": { "templateCredsSetupCompleted": true, "instanceId": "3d34c4efd891ed13573e2bd6ea61bd9b5ea815a52b349fba09d1c05ffc2a0a2c" }, "id": "ZGzAaklEK0TvciRzV1ZAL", "tags": [] }