mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-17 15:36:52 +00:00
299 lines
5.9 KiB
JSON
299 lines
5.9 KiB
JSON
{
|
|
"name": "Inventory Restock Forecast",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"content": "## Inventory Restock Forecast",
|
|
"height": 520,
|
|
"width": 1100
|
|
},
|
|
"id": "ac566dcd-c0d2-4372-8051-781b370f674c",
|
|
"name": "Sticky",
|
|
"type": "n8n-nodes-base.stickyNote",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-500,
|
|
-250
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"httpMethod": "POST",
|
|
"path": "inventory_restock_forecast"
|
|
},
|
|
"id": "2d43525f-7454-4ce8-859e-e7bed92c5fc0",
|
|
"name": "Webhook",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-300,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"chunkSize": 400,
|
|
"chunkOverlap": 40
|
|
},
|
|
"id": "cef71770-0f4a-4828-ab22-2aaa40c05ea1",
|
|
"name": "Splitter",
|
|
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-100,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"model": "default"
|
|
},
|
|
"id": "3889670e-02f8-4036-b112-8823a85ca32e",
|
|
"name": "Embeddings",
|
|
"type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
100,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"cohereApi": {
|
|
"id": "COHERE_API",
|
|
"name": "Cohere"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"mode": "insert",
|
|
"indexName": "inventory_restock_forecast"
|
|
},
|
|
"id": "3020d48f-fc21-4a54-aeeb-d6eb2b085e3c",
|
|
"name": "Insert",
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
300,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"supabaseApi": {
|
|
"id": "SUPABASE_API",
|
|
"name": "Supabase account"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"indexName": "inventory_restock_forecast"
|
|
},
|
|
"id": "8a167018-3252-4f18-bf8a-5aa804b5130e",
|
|
"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": "787db856-58e5-45ff-ac8c-cebcf7dc3956",
|
|
"name": "Tool",
|
|
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
480,
|
|
-180
|
|
]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "835aac59-6306-41bd-a4bc-dd876821753f",
|
|
"name": "Memory",
|
|
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
|
"typeVersion": 1.3,
|
|
"position": [
|
|
480,
|
|
-40
|
|
]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "671822b0-56cf-4372-8fc9-90358b8828c4",
|
|
"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": "e838e95b-8049-49a9-8e2a-1ebcb049e620",
|
|
"name": "Agent",
|
|
"type": "@n8n/n8n-nodes-langchain.agent",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
760,
|
|
-40
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"operation": "append",
|
|
"documentId": "SHEET_ID",
|
|
"sheetName": "Log"
|
|
},
|
|
"id": "c4790e4b-9655-4763-8b3d-8de11e39d567",
|
|
"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"
|
|
}
|
|
} |