mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-17 15:36:52 +00:00
355 lines
7.4 KiB
JSON
355 lines
7.4 KiB
JSON
{
|
|
"name": "Public Form Auto Triage",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"content": "Automated workflow: Public Form Auto Triage",
|
|
"height": 530,
|
|
"width": 1100,
|
|
"color": 5
|
|
},
|
|
"id": "e0def9b7-b982-4f66-a122-b34b179250f3",
|
|
"name": "Sticky Note",
|
|
"type": "n8n-nodes-base.stickyNote",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-480,
|
|
-240
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"httpMethod": "POST",
|
|
"path": "public-form-auto-triage"
|
|
},
|
|
"id": "a0436c8f-07eb-4c7c-91cf-f9888c44193e",
|
|
"name": "Webhook Trigger",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-300,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"chunkSize": 400,
|
|
"chunkOverlap": 40
|
|
},
|
|
"id": "17992f44-ab0a-49d6-9af3-6a7902095bcc",
|
|
"name": "Text Splitter",
|
|
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-130,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"model": "embed-english-v3.0",
|
|
"options": {}
|
|
},
|
|
"id": "8cf651f3-f660-41e0-9ae9-abe5e283e1be",
|
|
"name": "Embeddings",
|
|
"type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
70,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"cohereApi": {
|
|
"id": "COHERE_API",
|
|
"name": "Cohere"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"mode": "insert",
|
|
"options": {},
|
|
"indexName": "public_form_auto_triage"
|
|
},
|
|
"id": "c1637ef3-6857-4a30-9e39-ca400c2519a8",
|
|
"name": "Supabase Insert",
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
270,
|
|
0
|
|
],
|
|
"credentials": {
|
|
"supabaseApi": {
|
|
"id": "SUPABASE_API",
|
|
"name": "Supabase account"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"indexName": "public_form_auto_triage"
|
|
},
|
|
"id": "495ee105-e54c-4540-b696-04c163d09829",
|
|
"name": "Supabase Query",
|
|
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
270,
|
|
-180
|
|
],
|
|
"credentials": {
|
|
"supabaseApi": {
|
|
"id": "SUPABASE_API",
|
|
"name": "Supabase account"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"name": "Supabase",
|
|
"description": "Vector context"
|
|
},
|
|
"id": "247453d7-9638-4db4-987d-0d1ce438494c",
|
|
"name": "Vector Tool",
|
|
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
450,
|
|
-180
|
|
]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "ac140caa-fa42-4aaf-aa9e-2115ad365eef",
|
|
"name": "Window Memory",
|
|
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
|
"typeVersion": 1.3,
|
|
"position": [
|
|
450,
|
|
-40
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"options": {}
|
|
},
|
|
"id": "eba04ff8-c343-4e2c-b1c9-2223884dbd38",
|
|
"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 'Public Form Auto Triage':\n\n{{ $json }}",
|
|
"options": {
|
|
"systemMessage": "You are an assistant for Public Form Auto Triage"
|
|
}
|
|
},
|
|
"id": "95e729d9-2c88-4bee-bc5c-cbdb6fac41b8",
|
|
"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": "Public Form Auto Triage"
|
|
},
|
|
"sheetName": {
|
|
"__rl": true,
|
|
"value": "Log",
|
|
"mode": "list",
|
|
"cachedResultName": "Log"
|
|
},
|
|
"columns": {
|
|
"mappingMode": "defineBelow",
|
|
"value": {
|
|
"Status": "={{$json[\"RAG Agent\"].text}}"
|
|
},
|
|
"schema": []
|
|
}
|
|
},
|
|
"id": "5d3ce3ed-4222-464c-a3f3-d6681a5db5c2",
|
|
"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": "Public Form Auto Triage error: {$json.error.message}"
|
|
},
|
|
"id": "41fcce2f-8ed2-48b1-92bd-ff2f9d38e337",
|
|
"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": "Supabase Insert",
|
|
"type": "ai_textSplitter",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Embeddings": {
|
|
"ai_embedding": [
|
|
[
|
|
{
|
|
"node": "Supabase Insert",
|
|
"type": "ai_embedding",
|
|
"index": 0
|
|
},
|
|
{
|
|
"node": "Supabase Query",
|
|
"type": "ai_embedding",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Supabase Insert": {
|
|
"ai_document": [
|
|
[]
|
|
]
|
|
},
|
|
"Supabase 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
|
|
} |