mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-29 16:14:46 +00:00
299 lines
5.8 KiB
JSON
299 lines
5.8 KiB
JSON
{
|
|
"name": "Sensor Fault Detector",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"content": "## Sensor Fault Detector",
|
|
"height": 520,
|
|
"width": 1100
|
|
},
|
|
"id": "933fb344-a3db-465a-9180-9f742f470c01",
|
|
"name": "Sticky",
|
|
"type": "n8n-nodes-base.stickyNote",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-500,
|
|
-250
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"httpMethod": "POST",
|
|
"path": "sensor_fault_detector"
|
|
},
|
|
"id": "62b1f78f-c8ce-4766-9164-3895a7d31588",
|
|
"name": "Webhook",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-300,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"chunkSize": 400,
|
|
"chunkOverlap": 40
|
|
},
|
|
"id": "ea4be8e1-da41-4042-b288-f27936963d59",
|
|
"name": "Splitter",
|
|
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-100,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"model": "default"
|
|
},
|
|
"id": "e733728d-8780-43d1-a2d3-fa2a6362617e",
|
|
"name": "Embeddings",
|
|
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
100,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"openAiApi": {
|
|
"id": "OPENAI_API",
|
|
"name": "OpenAI"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"mode": "insert",
|
|
"indexName": "sensor_fault_detector"
|
|
},
|
|
"id": "299528ab-7894-4d2b-9f1f-cb820e0f98eb",
|
|
"name": "Insert",
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
300,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"supabaseApi": {
|
|
"id": "SUPABASE_API",
|
|
"name": "Supabase account"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"indexName": "sensor_fault_detector"
|
|
},
|
|
"id": "cb7e2015-bcc4-4da4-80f2-f46b9b1b1775",
|
|
"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": "b4a7d93d-22c8-4541-8af2-4ebc7b13c21d",
|
|
"name": "Tool",
|
|
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
480,
|
|
-180
|
|
]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "d48bc886-eab1-434f-9e2a-6f1355c5624e",
|
|
"name": "Memory",
|
|
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
|
"typeVersion": 1.3,
|
|
"position": [
|
|
480,
|
|
-40
|
|
]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "b6b37d40-7254-4a81-aa96-379f5dcbe314",
|
|
"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": "d9dd3f66-e25b-49c4-b8e6-08bccdd8252a",
|
|
"name": "Agent",
|
|
"type": "@n8n/n8n-nodes-langchain.agent",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
760,
|
|
-40
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"operation": "append",
|
|
"documentId": "SHEET_ID",
|
|
"sheetName": "Log"
|
|
},
|
|
"id": "1270cb5c-4b3d-4c8c-b55e-dab01d2c13bf",
|
|
"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"
|
|
}
|
|
} |