mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-29 16:14:46 +00:00
299 lines
5.9 KiB
JSON
299 lines
5.9 KiB
JSON
|
|
{
|
||
|
|
"name": "Supply Chain Delay Monitor",
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"content": "## Supply Chain Delay Monitor",
|
||
|
|
"height": 520,
|
||
|
|
"width": 1100
|
||
|
|
},
|
||
|
|
"id": "9df77f37-dd97-4dea-8ab1-0ab3a5e29489",
|
||
|
|
"name": "Sticky",
|
||
|
|
"type": "n8n-nodes-base.stickyNote",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-500,
|
||
|
|
-250
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"httpMethod": "POST",
|
||
|
|
"path": "supply_chain_delay_monitor"
|
||
|
|
},
|
||
|
|
"id": "d179203c-413b-425f-be6d-82a645642ba2",
|
||
|
|
"name": "Webhook",
|
||
|
|
"type": "n8n-nodes-base.webhook",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-300,
|
||
|
|
0
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"chunkSize": 400,
|
||
|
|
"chunkOverlap": 40
|
||
|
|
},
|
||
|
|
"id": "9b94fc8b-644c-4569-8449-35157c58aaa1",
|
||
|
|
"name": "Splitter",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-100,
|
||
|
|
0
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"model": "default"
|
||
|
|
},
|
||
|
|
"id": "f232e6de-527b-47e4-b961-dd360903cd61",
|
||
|
|
"name": "Embeddings",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
100,
|
||
|
|
0
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"cohereApi": {
|
||
|
|
"id": "COHERE_API",
|
||
|
|
"name": "Cohere"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"mode": "insert",
|
||
|
|
"indexName": "supply_chain_delay_monitor"
|
||
|
|
},
|
||
|
|
"id": "169f701d-3475-4451-b727-1f485145307a",
|
||
|
|
"name": "Insert",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
300,
|
||
|
|
0
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"supabaseApi": {
|
||
|
|
"id": "SUPABASE_API",
|
||
|
|
"name": "Supabase account"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"indexName": "supply_chain_delay_monitor"
|
||
|
|
},
|
||
|
|
"id": "3a1c0d2b-3115-4c2b-9243-c4c4a89c0ab7",
|
||
|
|
"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": "813e73ba-ca9f-45e7-92c0-761a78a8f2d9",
|
||
|
|
"name": "Tool",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
480,
|
||
|
|
-180
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {},
|
||
|
|
"id": "6126e963-632b-412e-b06f-09dc807001e8",
|
||
|
|
"name": "Memory",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||
|
|
"typeVersion": 1.3,
|
||
|
|
"position": [
|
||
|
|
480,
|
||
|
|
-40
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {},
|
||
|
|
"id": "b6b6f472-4a00-4b7b-9e35-a8b79ae004a3",
|
||
|
|
"name": "Chat",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
480,
|
||
|
|
-340
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"openAiApi": {
|
||
|
|
"id": "OPENAI_API",
|
||
|
|
"name": "OpenAI"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"promptType": "define",
|
||
|
|
"text": "={{ $json }}"
|
||
|
|
},
|
||
|
|
"id": "adcef2d0-b2f7-4c3a-93d3-22eb92c84f81",
|
||
|
|
"name": "Agent",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.agent",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
760,
|
||
|
|
-40
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"operation": "append",
|
||
|
|
"documentId": "SHEET_ID",
|
||
|
|
"sheetName": "Log"
|
||
|
|
},
|
||
|
|
"id": "b1552509-063f-4144-8f96-9de975b85c06",
|
||
|
|
"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"
|
||
|
|
}
|
||
|
|
}
|