{ "name": "Connected Car Alert", "nodes": [ { "parameters": { "content": "## Connected Car Alert", "height": 520, "width": 1100 }, "id": "e508bf37-1d29-46fb-9d2b-09fc09903dec", "name": "Sticky", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -500, -250 ] }, { "parameters": { "httpMethod": "POST", "path": "connected_car_alert" }, "id": "5b5062a3-d8a9-41da-a687-2b830fbde108", "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -300, 0 ] }, { "parameters": { "chunkSize": 400, "chunkOverlap": 40 }, "id": "1e33aee3-41f1-4292-8498-658fea4f49f2", "name": "Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter", "typeVersion": 1, "position": [ -100, 0 ] }, { "parameters": { "model": "default" }, "id": "54f0918a-2f89-464b-9471-b54f1ef9a6c1", "name": "Embeddings", "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "typeVersion": 1, "position": [ 100, 0 ], "credentials": { "openAiApi": { "id": "OPENAI_API", "name": "OpenAI" } } }, { "parameters": { "mode": "insert", "indexName": "connected_car_alert" }, "id": "2aa86725-8272-4298-bd3c-33baaee4dd2e", "name": "Insert", "type": "@n8n/n8n-nodes-langchain.vectorStoreRedis", "typeVersion": 1, "position": [ 300, 0 ], "credentials": { "redisApi": { "id": "REDIS_API", "name": "Redis account" } } }, { "parameters": { "indexName": "connected_car_alert" }, "id": "1952da2b-e537-4846-bfda-c78a5a9481c9", "name": "Query", "type": "@n8n/n8n-nodes-langchain.vectorStoreRedis", "typeVersion": 1, "position": [ 300, -180 ], "credentials": { "redisApi": { "id": "REDIS_API", "name": "Redis account" } } }, { "parameters": { "name": "Redis" }, "id": "52207087-2724-4839-8455-1c7ad2f9664d", "name": "Tool", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "typeVersion": 1, "position": [ 480, -180 ] }, { "parameters": {}, "id": "65b228b1-b9f6-4c9a-a2de-8122bf06a511", "name": "Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "typeVersion": 1.3, "position": [ 480, -40 ] }, { "parameters": {}, "id": "64c10477-4721-4bf3-bbfd-d9ba4d459302", "name": "Chat", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "typeVersion": 1, "position": [ 480, -340 ], "credentials": { "openAiApi": { "id": "OPENAI_API", "name": "OpenAI" } } }, { "parameters": { "promptType": "define", "text": "={{ $json }}" }, "id": "50bb6eb4-0753-40b9-9969-8c54311a32a6", "name": "Agent", "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 1, "position": [ 760, -40 ] }, { "parameters": { "operation": "append", "documentId": "SHEET_ID", "sheetName": "Log" }, "id": "a7973fd2-bd62-414a-99fd-76f54b95a67b", "name": "Sheet", "type": "n8n-nodes-base.googleSheets", "typeVersion": 4, "position": [ 960, -40 ], "credentials": { "googleSheetsOAuth2Api": { "id": "SHEETS_API", "name": "Sheets" } } } ], "connections": { "Webhook": { "main": [ [ { "node": "Splitter", "type": "main", "index": 0 }, { "node": "Memory", "type": "main", "index": 0 } ] ] }, "Splitter": { "main": [ [ { "node": "Embeddings", "type": "main", "index": 0 } ] ], "ai_textSplitter": [ [ { "node": "Insert", "type": "ai_textSplitter", "index": 0 } ] ] }, "Embeddings": { "ai_embedding": [ [ { "node": "Insert", "type": "ai_embedding", "index": 0 }, { "node": "Query", "type": "ai_embedding", "index": 0 } ] ] }, "Insert": { "ai_document": [ [] ] }, "Query": { "ai_vectorStore": [ [ { "node": "Tool", "type": "ai_vectorStore", "index": 0 } ] ] }, "Tool": { "ai_tool": [ [ { "node": "Agent", "type": "ai_tool", "index": 0 } ] ] }, "Memory": { "ai_memory": [ [ { "node": "Agent", "type": "ai_memory", "index": 0 } ] ] }, "Chat": { "ai_languageModel": [ [ { "node": "Agent", "type": "ai_languageModel", "index": 0 } ] ] }, "Agent": { "main": [ [ { "node": "Sheet", "type": "main", "index": 0 } ] ] } }, "settings": { "executionOrder": "v1" } }