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": "Commodity Price Tracker",
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"content": "## Commodity Price Tracker",
|
||
|
|
"height": 520,
|
||
|
|
"width": 1100
|
||
|
|
},
|
||
|
|
"id": "240bb73f-5a0c-4672-a36d-98daf070734b",
|
||
|
|
"name": "Sticky",
|
||
|
|
"type": "n8n-nodes-base.stickyNote",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-500,
|
||
|
|
-250
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"httpMethod": "POST",
|
||
|
|
"path": "commodity_price_tracker"
|
||
|
|
},
|
||
|
|
"id": "c23087f3-5dcd-45fe-a5f7-51cc99d3e7e1",
|
||
|
|
"name": "Webhook",
|
||
|
|
"type": "n8n-nodes-base.webhook",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-300,
|
||
|
|
0
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"chunkSize": 400,
|
||
|
|
"chunkOverlap": 40
|
||
|
|
},
|
||
|
|
"id": "013d0864-5f21-4cb8-8867-0c0e4445483a",
|
||
|
|
"name": "Splitter",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-100,
|
||
|
|
0
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"model": "default"
|
||
|
|
},
|
||
|
|
"id": "db0e2610-9e2f-4435-b166-81d3532dd10e",
|
||
|
|
"name": "Embeddings",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
100,
|
||
|
|
0
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"cohereApi": {
|
||
|
|
"id": "COHERE_API",
|
||
|
|
"name": "Cohere"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"mode": "insert",
|
||
|
|
"indexName": "commodity_price_tracker"
|
||
|
|
},
|
||
|
|
"id": "2b3496e2-4feb-4dbc-8a5f-b1ececb2f844",
|
||
|
|
"name": "Insert",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreRedis",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
300,
|
||
|
|
0
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"redisApi": {
|
||
|
|
"id": "REDIS_API",
|
||
|
|
"name": "Redis account"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"indexName": "commodity_price_tracker"
|
||
|
|
},
|
||
|
|
"id": "edbac296-9e6e-4152-92d8-a1f92364a08a",
|
||
|
|
"name": "Query",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreRedis",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
300,
|
||
|
|
-180
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"redisApi": {
|
||
|
|
"id": "REDIS_API",
|
||
|
|
"name": "Redis account"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"name": "Redis"
|
||
|
|
},
|
||
|
|
"id": "1a0a6979-6af4-4e37-be9e-4716e7f172b5",
|
||
|
|
"name": "Tool",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
480,
|
||
|
|
-180
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {},
|
||
|
|
"id": "2847718a-be62-48a3-b9da-3893bba372f0",
|
||
|
|
"name": "Memory",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||
|
|
"typeVersion": 1.3,
|
||
|
|
"position": [
|
||
|
|
480,
|
||
|
|
-40
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {},
|
||
|
|
"id": "782053c8-0213-4494-aa1b-2a9effa10f1c",
|
||
|
|
"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": "cc4cac32-3d40-4e4a-84ef-fe3a19777d08",
|
||
|
|
"name": "Agent",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.agent",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
760,
|
||
|
|
-40
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"operation": "append",
|
||
|
|
"documentId": "SHEET_ID",
|
||
|
|
"sheetName": "Log"
|
||
|
|
},
|
||
|
|
"id": "c5d7ca13-2e69-47c4-9fbd-590e15be38b8",
|
||
|
|
"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"
|
||
|
|
}
|
||
|
|
}
|