{ "name": "Calendar to ClickUp", "nodes": [ { "parameters": { "content": "Automated workflow: Calendar to ClickUp", "height": 530, "width": 1100, "color": 5 }, "id": "7c2f6c31-cef6-4faa-85d2-1b612ca47738", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -480, -240 ] }, { "parameters": { "httpMethod": "POST", "path": "calendar-to-clickup" }, "id": "616b196a-7236-4a77-85d2-8ce0bea08e1a", "name": "Webhook Trigger", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -300, 0 ] }, { "parameters": { "chunkSize": 400, "chunkOverlap": 40 }, "id": "3069949e-0f7e-4e4c-bb8b-0c47fc2e46c5", "name": "Text Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter", "typeVersion": 1, "position": [ -130, 0 ] }, { "parameters": { "model": "text-embedding-3-small", "options": {} }, "id": "ea8f8a1f-5338-47b5-afc1-293b76318357", "name": "Embeddings", "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "typeVersion": 1, "position": [ 70, 0 ], "credentials": { "openAiApi": { "id": "OPENAI_API", "name": "OpenAI" } } }, { "parameters": { "mode": "insert", "options": {}, "pineconeIndex": { "__rl": true, "value": "calendar_to_clickup", "mode": "list", "cachedResultName": "calendar_to_clickup" } }, "id": "b341bded-d136-4a8d-9f00-861b8437e4aa", "name": "Pinecone Insert", "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone", "typeVersion": 1, "position": [ 270, 0 ], "credentials": { "pineconeApi": { "id": "PINECONE_API", "name": "Pinecone account" } } }, { "parameters": { "pineconeIndex": { "__rl": true, "value": "calendar_to_clickup", "mode": "list", "cachedResultName": "calendar_to_clickup" } }, "id": "b7ebe434-8f63-4f1f-b422-b14cea1ea63e", "name": "Pinecone Query", "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone", "typeVersion": 1, "position": [ 270, -180 ], "credentials": { "pineconeApi": { "id": "PINECONE_API", "name": "Pinecone account" } } }, { "parameters": { "name": "Pinecone", "description": "Vector context" }, "id": "4528b267-fcda-42d7-a0e3-de6cda9f5a1a", "name": "Vector Tool", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "typeVersion": 1, "position": [ 450, -180 ] }, { "parameters": {}, "id": "ea1959d2-be0c-4b6f-93f4-962b33e835ed", "name": "Window Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "typeVersion": 1.3, "position": [ 450, -40 ] }, { "parameters": { "options": {} }, "id": "4e2527c8-2303-4265-b3d3-dd3bcdbdfb61", "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": "Process the following data for task 'Calendar to ClickUp':\n\n{{ $json }}", "options": { "systemMessage": "You are an assistant for Calendar to ClickUp" } }, "id": "4167d420-b67d-4d8f-9b2a-259d650e3a3f", "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": "Calendar to ClickUp" }, "sheetName": { "__rl": true, "value": "Log", "mode": "list", "cachedResultName": "Log" }, "columns": { "mappingMode": "defineBelow", "value": { "Status": "={{$json[\"RAG Agent\"].text}}" }, "schema": [] } }, "id": "107584cc-3d6b-4c62-957a-9ef5a3fe4f2a", "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": "Calendar to ClickUp error: {$json.error.message}" }, "id": "ba428de4-7fdf-42f7-9214-0f66a7ef77f1", "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": "Pinecone Insert", "type": "ai_textSplitter", "index": 0 } ] ] }, "Embeddings": { "ai_embedding": [ [ { "node": "Pinecone Insert", "type": "ai_embedding", "index": 0 }, { "node": "Pinecone Query", "type": "ai_embedding", "index": 0 } ] ] }, "Pinecone Insert": { "ai_document": [ [] ] }, "Pinecone 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 }