mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-29 16:14:46 +00:00
365 lines
7.7 KiB
JSON
365 lines
7.7 KiB
JSON
|
|
{
|
||
|
|
"name": "Shopify Order SMS",
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"content": "Automated workflow: Shopify Order SMS",
|
||
|
|
"height": 530,
|
||
|
|
"width": 1100,
|
||
|
|
"color": 5
|
||
|
|
},
|
||
|
|
"id": "43d4baf6-302b-4141-a67e-df7df86b03e0",
|
||
|
|
"name": "Sticky Note",
|
||
|
|
"type": "n8n-nodes-base.stickyNote",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-480,
|
||
|
|
-240
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"httpMethod": "POST",
|
||
|
|
"path": "shopify-order-sms"
|
||
|
|
},
|
||
|
|
"id": "65c17543-498e-443e-993c-02af712d566e",
|
||
|
|
"name": "Webhook Trigger",
|
||
|
|
"type": "n8n-nodes-base.webhook",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-300,
|
||
|
|
0
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"chunkSize": 400,
|
||
|
|
"chunkOverlap": 40
|
||
|
|
},
|
||
|
|
"id": "d091bc86-264b-441f-aca1-21f14aa3022d",
|
||
|
|
"name": "Text Splitter",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
-130,
|
||
|
|
0
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"model": "embed-english-v3.0",
|
||
|
|
"options": {}
|
||
|
|
},
|
||
|
|
"id": "ae0788c7-71b3-4c14-9260-eb37e7f0a9ff",
|
||
|
|
"name": "Embeddings",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
70,
|
||
|
|
0
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"cohereApi": {
|
||
|
|
"id": "COHERE_API",
|
||
|
|
"name": "Cohere"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"mode": "insert",
|
||
|
|
"options": {},
|
||
|
|
"pineconeIndex": {
|
||
|
|
"__rl": true,
|
||
|
|
"value": "shopify_order_sms",
|
||
|
|
"mode": "list",
|
||
|
|
"cachedResultName": "shopify_order_sms"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "a9decd23-8efc-4c95-b1b0-839196ed3520",
|
||
|
|
"name": "Pinecone Insert",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
270,
|
||
|
|
0
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"pineconeApi": {
|
||
|
|
"id": "PINECONE_API",
|
||
|
|
"name": "Pinecone account"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"pineconeIndex": {
|
||
|
|
"__rl": true,
|
||
|
|
"value": "shopify_order_sms",
|
||
|
|
"mode": "list",
|
||
|
|
"cachedResultName": "shopify_order_sms"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "54495b0b-370e-46a9-b5b5-2d9d0162b40d",
|
||
|
|
"name": "Pinecone Query",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
270,
|
||
|
|
-180
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"pineconeApi": {
|
||
|
|
"id": "PINECONE_API",
|
||
|
|
"name": "Pinecone account"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"name": "Pinecone",
|
||
|
|
"description": "Vector context"
|
||
|
|
},
|
||
|
|
"id": "6a98c770-fb1e-4c32-a97a-725116bafec5",
|
||
|
|
"name": "Vector Tool",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
450,
|
||
|
|
-180
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {},
|
||
|
|
"id": "cf97460a-684b-4fb9-a722-05a7ff26bb97",
|
||
|
|
"name": "Window Memory",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||
|
|
"typeVersion": 1.3,
|
||
|
|
"position": [
|
||
|
|
450,
|
||
|
|
-40
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"options": {}
|
||
|
|
},
|
||
|
|
"id": "1d87e1f1-30c0-43e9-9d50-bbf5aa676ae7",
|
||
|
|
"name": "Chat Model",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
450,
|
||
|
|
-340
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"anthropicApi": {
|
||
|
|
"id": "ANTHROPIC_API",
|
||
|
|
"name": "Anthropic"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"promptType": "define",
|
||
|
|
"text": "Process the following data for task 'Shopify Order SMS':\n\n{{ $json }}",
|
||
|
|
"options": {
|
||
|
|
"systemMessage": "You are an assistant for Shopify Order SMS"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "16053bc3-704a-4649-8088-8af634649f2b",
|
||
|
|
"name": "RAG Agent",
|
||
|
|
"type": "@n8n/n8n-nodes-langchain.agent",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
720,
|
||
|
|
-40
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"operation": "append",
|
||
|
|
"documentId": {
|
||
|
|
"__rl": true,
|
||
|
|
"value": "SHEET_ID",
|
||
|
|
"mode": "list",
|
||
|
|
"cachedResultName": "Shopify Order SMS"
|
||
|
|
},
|
||
|
|
"sheetName": {
|
||
|
|
"__rl": true,
|
||
|
|
"value": "Log",
|
||
|
|
"mode": "list",
|
||
|
|
"cachedResultName": "Log"
|
||
|
|
},
|
||
|
|
"columns": {
|
||
|
|
"mappingMode": "defineBelow",
|
||
|
|
"value": {
|
||
|
|
"Status": "={{$json[\"RAG Agent\"].text}}"
|
||
|
|
},
|
||
|
|
"schema": []
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "80e6c213-6f3e-4d15-9539-c4999aee3d0e",
|
||
|
|
"name": "Append Sheet",
|
||
|
|
"type": "n8n-nodes-base.googleSheets",
|
||
|
|
"typeVersion": 4,
|
||
|
|
"position": [
|
||
|
|
930,
|
||
|
|
-40
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"googleSheetsOAuth2Api": {
|
||
|
|
"id": "SHEETS_API",
|
||
|
|
"name": "Google Sheets account"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"parameters": {
|
||
|
|
"channel": "#alerts",
|
||
|
|
"text": "Shopify Order SMS error: {$json.error.message}"
|
||
|
|
},
|
||
|
|
"id": "bdcb167e-b59d-4b53-b151-dfe70f2f28ab",
|
||
|
|
"name": "Slack Alert",
|
||
|
|
"type": "n8n-nodes-base.slack",
|
||
|
|
"typeVersion": 1,
|
||
|
|
"position": [
|
||
|
|
930,
|
||
|
|
120
|
||
|
|
],
|
||
|
|
"credentials": {
|
||
|
|
"slackApi": {
|
||
|
|
"id": "SLACK_API",
|
||
|
|
"name": "Slack"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"connections": {
|
||
|
|
"Webhook Trigger": {
|
||
|
|
"main": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "Text Splitter",
|
||
|
|
"type": "main",
|
||
|
|
"index": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"node": "Window Memory",
|
||
|
|
"type": "main",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"Text Splitter": {
|
||
|
|
"main": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "Embeddings",
|
||
|
|
"type": "main",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
],
|
||
|
|
"ai_textSplitter": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "Pinecone Insert",
|
||
|
|
"type": "ai_textSplitter",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"Embeddings": {
|
||
|
|
"ai_embedding": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "Pinecone Insert",
|
||
|
|
"type": "ai_embedding",
|
||
|
|
"index": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"node": "Pinecone Query",
|
||
|
|
"type": "ai_embedding",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"Pinecone Insert": {
|
||
|
|
"ai_document": [
|
||
|
|
[]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"Pinecone Query": {
|
||
|
|
"ai_vectorStore": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "Vector Tool",
|
||
|
|
"type": "ai_vectorStore",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"Vector Tool": {
|
||
|
|
"ai_tool": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "RAG Agent",
|
||
|
|
"type": "ai_tool",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"Window Memory": {
|
||
|
|
"ai_memory": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "RAG Agent",
|
||
|
|
"type": "ai_memory",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"Chat Model": {
|
||
|
|
"ai_languageModel": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "RAG Agent",
|
||
|
|
"type": "ai_languageModel",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"RAG Agent": {
|
||
|
|
"main": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "Append Sheet",
|
||
|
|
"type": "main",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
],
|
||
|
|
"onError": [
|
||
|
|
[
|
||
|
|
{
|
||
|
|
"node": "Slack Alert",
|
||
|
|
"type": "main",
|
||
|
|
"index": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"settings": {
|
||
|
|
"executionOrder": "v1"
|
||
|
|
},
|
||
|
|
"triggerCount": 1
|
||
|
|
}
|