mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-17 15:36:52 +00:00
299 lines
5.8 KiB
JSON
299 lines
5.8 KiB
JSON
{
|
|
"name": "Grid Load Alert",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"content": "## Grid Load Alert",
|
|
"height": 520,
|
|
"width": 1100
|
|
},
|
|
"id": "e7633ef7-2eb6-47c4-a3e3-366da7a646d1",
|
|
"name": "Sticky",
|
|
"type": "n8n-nodes-base.stickyNote",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-500,
|
|
-250
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"httpMethod": "POST",
|
|
"path": "grid_load_alert"
|
|
},
|
|
"id": "b37be8c1-831f-44f5-8b55-28a9702cc37a",
|
|
"name": "Webhook",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-300,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"chunkSize": 400,
|
|
"chunkOverlap": 40
|
|
},
|
|
"id": "571fcb73-1c33-4ee5-aeab-2204465da37e",
|
|
"name": "Splitter",
|
|
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-100,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"model": "default"
|
|
},
|
|
"id": "227d83d6-1a6b-4db0-a46b-ced721ae7904",
|
|
"name": "Embeddings",
|
|
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
100,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"openAiApi": {
|
|
"id": "OPENAI_API",
|
|
"name": "OpenAI"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"mode": "insert",
|
|
"indexName": "grid_load_alert"
|
|
},
|
|
"id": "4ddc60fe-82e9-4b8d-ac82-de244497fba8",
|
|
"name": "Insert",
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
300,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"supabaseApi": {
|
|
"id": "SUPABASE_API",
|
|
"name": "Supabase account"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"indexName": "grid_load_alert"
|
|
},
|
|
"id": "cbef5dd2-7feb-44d4-b205-69146c7d47e7",
|
|
"name": "Query",
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
300,
|
|
-180
|
|
],
|
|
"credentials": {
|
|
"supabaseApi": {
|
|
"id": "SUPABASE_API",
|
|
"name": "Supabase account"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"name": "Supabase"
|
|
},
|
|
"id": "61819858-5fd7-4406-914c-351e3352f360",
|
|
"name": "Tool",
|
|
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
480,
|
|
-180
|
|
]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "6bd0a1fe-d0c2-4cff-acba-9bed55adc915",
|
|
"name": "Memory",
|
|
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
|
"typeVersion": 1.3,
|
|
"position": [
|
|
480,
|
|
-40
|
|
]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "3a6f67e2-b81c-4aa7-b51e-8c25061dac3a",
|
|
"name": "Chat",
|
|
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
480,
|
|
-340
|
|
],
|
|
"credentials": {
|
|
"anthropicApi": {
|
|
"id": "ANTHROPIC_API",
|
|
"name": "Anthropic"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"promptType": "define",
|
|
"text": "={{ $json }}"
|
|
},
|
|
"id": "2fcc10dd-5bc4-4c74-bc5f-f00a6435a321",
|
|
"name": "Agent",
|
|
"type": "@n8n/n8n-nodes-langchain.agent",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
760,
|
|
-40
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"operation": "append",
|
|
"documentId": "SHEET_ID",
|
|
"sheetName": "Log"
|
|
},
|
|
"id": "8a65e4e9-e2d4-410f-bd42-ac50a8e54c8c",
|
|
"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"
|
|
}
|
|
} |