{ "name": "Voice Note Transcription", "nodes": [ { "parameters": { "content": "Placeholder for Voice Note Transcription", "height": 530, "width": 1100, "color": 5 }, "id": "69424bcd-c308-40f9-8d9a-9477dd3c0ecb", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -480, -240 ] }, { "parameters": { "httpMethod": "POST", "path": "voice-note-transcription" }, "id": "6752cb1f-3bcc-4bff-bbb5-2e825c981c5d", "name": "Webhook Trigger", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -300, 0 ] }, { "parameters": { "chunkSize": 400, "chunkOverlap": 40 }, "id": "5d2b0243-fe4d-47b8-877d-dee5d0ad6eed", "name": "Text Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter", "typeVersion": 1, "position": [ -130, 0 ] }, { "parameters": { "model": "embed-english-v3.0", "options": {} }, "id": "eb8d139e-8e63-4102-b081-7b1aa4f2d579", "name": "Embeddings", "type": "@n8n/n8n-nodes-langchain.embeddingsCohere", "typeVersion": 1, "position": [ 70, 0 ], "credentials": { "cohereApi": { "id": "COHERE_API", "name": "Cohere" } } }, { "parameters": { "mode": "insert", "options": {}, "indexName": "voice_note_transcription" }, "id": "a2f1a360-1043-483b-bded-c2ef7dcb1b8c", "name": "Weaviate Insert", "type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate", "typeVersion": 1, "position": [ 270, 0 ], "credentials": { "weaviateApi": { "id": "WEAVIATE_API", "name": "Weaviate account" } } }, { "parameters": { "indexName": "voice_note_transcription" }, "id": "40d491f7-15e2-4b49-b2a0-2b1c7c696256", "name": "Weaviate Query", "type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate", "typeVersion": 1, "position": [ 270, -180 ], "credentials": { "weaviateApi": { "id": "WEAVIATE_API", "name": "Weaviate account" } } }, { "parameters": { "name": "Weaviate", "description": "Vector context" }, "id": "36b1328c-786c-4df4-bbe7-8f8fe51d92e4", "name": "Vector Tool", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "typeVersion": 1, "position": [ 450, -180 ] }, { "parameters": {}, "id": "2f81164b-02d8-4b4e-98cf-bd5777e116c1", "name": "Window Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "typeVersion": 1.3, "position": [ 450, -40 ] }, { "parameters": { "options": {} }, "id": "d7840e39-4fd8-4447-bbee-2534d892ed33", "name": "Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "typeVersion": 1, "position": [ 450, -340 ], "credentials": { "openAiApi": { "id": "OPENAI_API", "name": "OpenAI" } } }, { "parameters": { "promptType": "define", "text": "Handle data", "options": { "systemMessage": "You are an assistant for Voice Note Transcription" } }, "id": "3b22937f-1cc4-4352-b413-489fa5cbdcb3", "name": "RAG Agent", "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 1, "position": [ 720, -40 ] }, { "parameters": { "operation": "append", "documentId": { "__rl": true, "value": "SHEET_ID", "mode": "list", "cachedResultName": "Voice Note Transcription" }, "sheetName": { "__rl": true, "value": "Log", "mode": "list", "cachedResultName": "Log" }, "columns": { "mappingMode": "defineBelow", "value": "Status", "schema": [] } }, "id": "e6564402-60d5-4c7b-8490-adf593207f08", "name": "Append Sheet", "type": "n8n-nodes-base.googleSheets", "typeVersion": 4, "position": [ 930, -40 ], "credentials": { "googleSheetsOAuth2Api": { "id": "SHEETS_API", "name": "Google Sheets account" } } }, { "parameters": { "channel": "#alerts", "text": "Voice Note Transcription error: {$json.error.message}" }, "id": "4072a697-14c3-48c0-81ef-c9553af1d4d8", "name": "Slack Alert", "type": "n8n-nodes-base.slack", "typeVersion": 1, "position": [ 930, 120 ], "credentials": { "slackApi": { "id": "SLACK_API", "name": "Slack" } } } ], "connections": { "Webhook Trigger": { "main": [ [ { "node": "Text Splitter", "type": "main", "index": 0 }, { "node": "Window Memory", "type": "main", "index": 0 } ] ] }, "Text Splitter": { "main": [ [ { "node": "Embeddings", "type": "main", "index": 0 } ] ], "ai_textSplitter": [ [ { "node": "Weaviate Insert", "type": "ai_textSplitter", "index": 0 } ] ] }, "Embeddings": { "ai_embedding": [ [ { "node": "Weaviate Insert", "type": "ai_embedding", "index": 0 }, { "node": "Weaviate Query", "type": "ai_embedding", "index": 0 } ] ] }, "Weaviate Insert": { "ai_document": [ [] ] }, "Weaviate Query": { "ai_vectorStore": [ [ { "node": "Vector Tool", "type": "ai_vectorStore", "index": 0 } ] ] }, "Vector Tool": { "ai_tool": [ [ { "node": "RAG Agent", "type": "ai_tool", "index": 0 } ] ] }, "Window Memory": { "ai_memory": [ [ { "node": "RAG Agent", "type": "ai_memory", "index": 0 } ] ] }, "Chat Model": { "ai_languageModel": [ [ { "node": "RAG Agent", "type": "ai_languageModel", "index": 0 } ] ] }, "RAG Agent": { "main": [ [ { "node": "Append Sheet", "type": "main", "index": 0 } ] ], "onError": [ [ { "node": "Slack Alert", "type": "main", "index": 0 } ] ] } }, "settings": { "executionOrder": "v1" }, "triggerCount": 1 }