{ "name": "Greenhouse Climate Controller", "nodes": [ { "parameters": { "content": "## Greenhouse Climate Controller", "height": 520, "width": 1100 }, "id": "f6ca7701-10db-40e0-8d19-15ca44eb181b", "name": "Sticky", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -500, -250 ] }, { "parameters": { "httpMethod": "POST", "path": "greenhouse_climate_controller" }, "id": "9d22707c-cdbb-4c29-acee-a55b6b22edaa", "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -300, 0 ] }, { "parameters": { "chunkSize": 400, "chunkOverlap": 40 }, "id": "1d527680-2885-42f3-95d0-5e2f80a6459c", "name": "Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter", "typeVersion": 1, "position": [ -100, 0 ] }, { "parameters": { "model": "default" }, "id": "f59009f4-499a-48f1-a921-5437a150897e", "name": "Embeddings", "type": "@n8n/n8n-nodes-langchain.embeddingsHuggingFace", "typeVersion": 1, "position": [ 100, 0 ], "credentials": { "huggingFaceApi": { "id": "HF_API", "name": "HuggingFace" } } }, { "parameters": { "mode": "insert", "indexName": "greenhouse_climate_controller" }, "id": "8be33fea-e4d6-4dad-b2b5-3bb5b7272e20", "name": "Insert", "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone", "typeVersion": 1, "position": [ 300, 0 ], "credentials": { "pineconeApi": { "id": "PINECONE_API", "name": "Pinecone account" } } }, { "parameters": { "indexName": "greenhouse_climate_controller" }, "id": "87a1c7f9-a275-41ec-b2eb-fb638d368da7", "name": "Query", "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone", "typeVersion": 1, "position": [ 300, -180 ], "credentials": { "pineconeApi": { "id": "PINECONE_API", "name": "Pinecone account" } } }, { "parameters": { "name": "Pinecone" }, "id": "7217e09b-63b9-429b-b86b-51387137e044", "name": "Tool", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "typeVersion": 1, "position": [ 480, -180 ] }, { "parameters": {}, "id": "e964f661-3390-45b1-a1b4-14864fd9a6c4", "name": "Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "typeVersion": 1.3, "position": [ 480, -40 ] }, { "parameters": {}, "id": "a97efbbd-c89b-4001-bd40-65240d4e524a", "name": "Chat", "type": "@n8n/n8n-nodes-langchain.lmChatHf", "typeVersion": 1, "position": [ 480, -340 ], "credentials": { "huggingFaceApi": { "id": "HF_API", "name": "HuggingFace" } } }, { "parameters": { "promptType": "define", "text": "={{ $json }}" }, "id": "c6ae3048-d177-40b7-ac5f-94bc7e6929e8", "name": "Agent", "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 1, "position": [ 760, -40 ] }, { "parameters": { "operation": "append", "documentId": "SHEET_ID", "sheetName": "Log" }, "id": "a9395ee4-4b23-4c5e-92a3-c29b9a84f373", "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" } }