{ "name": "Harvest Logbook", "nodes": [ { "parameters": { "content": "## Harvest Logbook", "height": 520, "width": 1100 }, "id": "436f9ee5-71c5-42d5-b7fc-dbcff2db8134", "name": "Sticky", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -500, -250 ] }, { "parameters": { "httpMethod": "POST", "path": "harvest_logbook" }, "id": "c2c61283-94fd-4552-8f32-1312df1c40e6", "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -300, 0 ] }, { "parameters": { "chunkSize": 400, "chunkOverlap": 40 }, "id": "b038312f-6c74-4c50-9f90-e5cedfb704bb", "name": "Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter", "typeVersion": 1, "position": [ -100, 0 ] }, { "parameters": { "model": "default" }, "id": "c4589904-fde4-4e34-b7ad-2f7df057a39c", "name": "Embeddings", "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "typeVersion": 1, "position": [ 100, 0 ], "credentials": { "openAiApi": { "id": "OPENAI_API", "name": "OpenAI" } } }, { "parameters": { "mode": "insert", "indexName": "harvest_logbook" }, "id": "e45e34b1-8494-4788-97f1-6d0beb8dd889", "name": "Insert", "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone", "typeVersion": 1, "position": [ 300, 0 ], "credentials": { "pineconeApi": { "id": "PINECONE_API", "name": "Pinecone account" } } }, { "parameters": { "indexName": "harvest_logbook" }, "id": "b4c4018d-17a4-4a6d-98f5-14977e9b74ea", "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": "eb7a1db2-da18-4109-87e8-45752e834a32", "name": "Tool", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "typeVersion": 1, "position": [ 480, -180 ] }, { "parameters": {}, "id": "cd043ae1-2230-421a-8995-e47d567974e9", "name": "Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "typeVersion": 1.3, "position": [ 480, -40 ] }, { "parameters": {}, "id": "6cd7fa28-19bd-411f-9a3f-d5126109a7ed", "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": "412b242e-fe10-4481-9abb-30932d959be1", "name": "Agent", "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 1, "position": [ 760, -40 ] }, { "parameters": { "operation": "append", "documentId": "SHEET_ID", "sheetName": "Log" }, "id": "073f0e95-20a0-4583-8dab-d53ffaa1ee6e", "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" } }