mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-29 16:14:46 +00:00
main_commit
This commit is contained in:
12
AI_ML/README.md
Normal file
12
AI_ML/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# AI_ML Templates
|
||||
|
||||
- **summarize_customer_emails.json** – Uses Anthropic Claude, Cohere Embeddings
|
||||
- **daily_content_ideas.json** – Uses Cohere Embeddings, OpenAI Chat, Supabase Vector
|
||||
- **translate_form_submissions.json** – Uses OpenAI Chat, OpenAI Embeddings, Supabase Vector
|
||||
- **resume_screening.json** – Uses Cohere Embeddings, OpenAI Chat
|
||||
- **auto-tag_blog_posts.json** – Uses Anthropic Claude, OpenAI Embeddings, Supabase Vector
|
||||
- **customer_sentiment_analysis.json** – Uses Anthropic Claude, Cohere Embeddings, Pinecone
|
||||
- **image_captioning.json** – Uses Anthropic Claude, OpenAI Embeddings
|
||||
- **ticket_urgency_classification.json** – Uses Anthropic Claude, Cohere Embeddings, Pinecone
|
||||
- **product_description_generator.json** – Uses Anthropic Claude, Cohere Embeddings, Pinecone
|
||||
- **voice_note_transcription.json** – Uses Cohere Embeddings, OpenAI Chat
|
||||
353
AI_ML/auto-tag_blog_posts.json
Normal file
353
AI_ML/auto-tag_blog_posts.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Auto-tag Blog Posts",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Auto-tag Blog Posts",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "84e22aae-0a0b-4bc9-94d9-aec2d9a07826",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "auto-tag-blog-posts"
|
||||
},
|
||||
"id": "e83f725c-c083-4c9d-9623-d9c092bbad2a",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "95ca42a5-e984-4245-b770-ef64b6495ec9",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "text-embedding-3-small",
|
||||
"options": {}
|
||||
},
|
||||
"id": "e515e8bb-c532-4428-a593-29f5d71ba000",
|
||||
"name": "Embeddings",
|
||||
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
70,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "insert",
|
||||
"options": {},
|
||||
"indexName": "auto-tag_blog_posts"
|
||||
},
|
||||
"id": "1aa98ca1-c389-4a1a-8f0c-58fcc64e08b4",
|
||||
"name": "Supabase Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"supabaseApi": {
|
||||
"id": "SUPABASE_API",
|
||||
"name": "Supabase account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "auto-tag_blog_posts"
|
||||
},
|
||||
"id": "53510366-3cdd-40ec-a22b-d344bbbe434f",
|
||||
"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": "1693f5ae-6022-4fea-8e94-ebd59d4cbd31",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "fff55186-78c9-4196-829c-0416c8c7d547",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "ddbd622f-6ec7-499d-a48d-613db67e5f2b",
|
||||
"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": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Auto-tag Blog Posts"
|
||||
}
|
||||
},
|
||||
"id": "b12856e2-bed9-41ff-bdbd-4b4a2fd98aa2",
|
||||
"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": "Auto-tag Blog Posts"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "a8f14a3c-3865-4097-b1ee-0265ac6ffa47",
|
||||
"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": "Auto-tag Blog Posts error: {$json.error.message}"
|
||||
},
|
||||
"id": "54b60e92-3672-4042-94c7-df1b6d28c221",
|
||||
"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
|
||||
}
|
||||
363
AI_ML/customer_sentiment_analysis.json
Normal file
363
AI_ML/customer_sentiment_analysis.json
Normal file
@@ -0,0 +1,363 @@
|
||||
{
|
||||
"name": "Customer Sentiment Analysis",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Customer Sentiment Analysis",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "9432cbf3-839c-415b-bbad-164cacd8f761",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "customer-sentiment-analysis"
|
||||
},
|
||||
"id": "deec2c7d-52f6-41d1-b6c9-f2f68cc2db9e",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "c999cc42-bc54-402b-8a6d-e8c924c27332",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "9c230e35-adf4-49a7-a98e-c13dfa1c4e3d",
|
||||
"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": "customer_sentiment_analysis",
|
||||
"mode": "list",
|
||||
"cachedResultName": "customer_sentiment_analysis"
|
||||
}
|
||||
},
|
||||
"id": "4b1cbbe7-ae91-4cbc-9b7d-106e8def867f",
|
||||
"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": "customer_sentiment_analysis",
|
||||
"mode": "list",
|
||||
"cachedResultName": "customer_sentiment_analysis"
|
||||
}
|
||||
},
|
||||
"id": "2051fbc6-2275-4529-bcc4-7ef84d05beed",
|
||||
"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": "24603a00-5522-415e-b4c8-d80889678355",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "e22fb094-3cc2-492f-95f7-608b93e89409",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "3116ece9-b801-47f1-82fb-192574cedea1",
|
||||
"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": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Customer Sentiment Analysis"
|
||||
}
|
||||
},
|
||||
"id": "f94f99f3-4f7b-49d4-8432-b156ca31d831",
|
||||
"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": "Customer Sentiment Analysis"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "50ab5f32-d0a4-49e3-a3e3-a896b94ec7a0",
|
||||
"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": "Customer Sentiment Analysis error: {$json.error.message}"
|
||||
},
|
||||
"id": "59c37726-aac9-49be-a899-ed4dc6563e33",
|
||||
"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
|
||||
}
|
||||
353
AI_ML/daily_content_ideas.json
Normal file
353
AI_ML/daily_content_ideas.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Daily Content Ideas",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Daily Content Ideas",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "ca5f06fc-6dec-4477-bce5-e79c88a25e7d",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "daily-content-ideas"
|
||||
},
|
||||
"id": "07884fea-1b21-4c07-9cc1-0f8c9546154d",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "cddbaad6-33bf-4933-8a99-018c63325ad8",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "ba875ce2-e150-47e1-8036-72573e1e142d",
|
||||
"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": "daily_content_ideas"
|
||||
},
|
||||
"id": "5b7779c8-04ec-41ab-abf5-4f2a2d8405fd",
|
||||
"name": "Supabase Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"supabaseApi": {
|
||||
"id": "SUPABASE_API",
|
||||
"name": "Supabase account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "daily_content_ideas"
|
||||
},
|
||||
"id": "9a6dab96-b119-484f-aa5f-6a50b470fecd",
|
||||
"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": "9c83b97b-8ffc-4739-b045-27c982cae0dd",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "c38b7694-050b-4e8d-97cd-876b30fcccab",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "1b3d208d-2707-4bda-a5da-de6b5b52e811",
|
||||
"name": "Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-340
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"promptType": "define",
|
||||
"text": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Daily Content Ideas"
|
||||
}
|
||||
},
|
||||
"id": "f10af89a-34ee-416a-9e15-b4e44eb9a6ba",
|
||||
"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": "Daily Content Ideas"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "05153aa5-3e62-4cde-a050-7bfba1ac9895",
|
||||
"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": "Daily Content Ideas error: {$json.error.message}"
|
||||
},
|
||||
"id": "4838e13d-2475-4bb1-9c74-bde4b5d4123a",
|
||||
"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
|
||||
}
|
||||
353
AI_ML/image_captioning.json
Normal file
353
AI_ML/image_captioning.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Image Captioning",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Image Captioning",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "9a206202-bc5e-4588-9adb-e4ca5d48e1a6",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "image-captioning"
|
||||
},
|
||||
"id": "bff18d10-12e1-45f2-b39a-df5d164fd3d4",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "3076023c-1a26-420d-864b-e14f5091d527",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "text-embedding-3-small",
|
||||
"options": {}
|
||||
},
|
||||
"id": "6acf18f8-c2ba-4df5-a60d-75c172c5b08b",
|
||||
"name": "Embeddings",
|
||||
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
70,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "insert",
|
||||
"options": {},
|
||||
"indexName": "image_captioning"
|
||||
},
|
||||
"id": "8ec51a4a-d020-4361-9060-bca80e88dd06",
|
||||
"name": "Weaviate Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "image_captioning"
|
||||
},
|
||||
"id": "1a627070-4508-484d-b764-17d209de934f",
|
||||
"name": "Weaviate Query",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
-180
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"name": "Weaviate",
|
||||
"description": "Vector context"
|
||||
},
|
||||
"id": "4bcad010-f1e4-4ac2-a626-25977d81b7ab",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "f74b32f7-9f59-47bd-b835-cfa567c04ec3",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "fe00cb21-88c5-4c7a-b187-54db43d4de59",
|
||||
"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": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Image Captioning"
|
||||
}
|
||||
},
|
||||
"id": "7b519ec6-fe9e-4b09-a9bf-57d09c9291b1",
|
||||
"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": "Image Captioning"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "cb192434-f133-499e-a037-bba25d80497b",
|
||||
"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": "Image Captioning error: {$json.error.message}"
|
||||
},
|
||||
"id": "d5093cf2-db1e-40c7-8d41-819f2b68d2fc",
|
||||
"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": "Weaviate Insert",
|
||||
"type": "ai_textSplitter",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Embeddings": {
|
||||
"ai_embedding": [
|
||||
[
|
||||
{
|
||||
"node": "Weaviate Insert",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Weaviate Query",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Weaviate Insert": {
|
||||
"ai_document": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Weaviate 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
|
||||
}
|
||||
363
AI_ML/product_description_generator.json
Normal file
363
AI_ML/product_description_generator.json
Normal file
@@ -0,0 +1,363 @@
|
||||
{
|
||||
"name": "Product Description Generator",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Product Description Generator",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "aba83af6-dd68-4125-bd8b-55630f59b564",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "product-description-generator"
|
||||
},
|
||||
"id": "f851373d-dd54-4bce-972a-1398968ca069",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "d1531f49-ac87-48e1-a688-f69bb10a73e6",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "0ad45ad5-8974-40f1-86f5-59421210ff3f",
|
||||
"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": "product_description_generator",
|
||||
"mode": "list",
|
||||
"cachedResultName": "product_description_generator"
|
||||
}
|
||||
},
|
||||
"id": "31f8ea33-08ab-48bf-9ba8-128fcca18cd0",
|
||||
"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": "product_description_generator",
|
||||
"mode": "list",
|
||||
"cachedResultName": "product_description_generator"
|
||||
}
|
||||
},
|
||||
"id": "08367e69-f4a4-4356-8e68-177579d2c37f",
|
||||
"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": "e9fb324e-9a9f-4bc2-a3d7-19750231e9ca",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "6837df12-dca6-471e-854b-f5c0453740b7",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "70715d0b-bbab-4c95-9f02-a37039e9fdd9",
|
||||
"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": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Product Description Generator"
|
||||
}
|
||||
},
|
||||
"id": "568f37df-7293-45bc-8f19-868573918e67",
|
||||
"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": "Product Description Generator"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "f40e613e-385f-4b63-b310-de69a545f867",
|
||||
"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": "Product Description Generator error: {$json.error.message}"
|
||||
},
|
||||
"id": "7e503aa0-7396-4f92-bf33-04189d66dee2",
|
||||
"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
|
||||
}
|
||||
353
AI_ML/resume_screening.json
Normal file
353
AI_ML/resume_screening.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Resume Screening",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Resume Screening",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "455a0de7-e191-4f27-984b-0b1a975ac992",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "resume-screening"
|
||||
},
|
||||
"id": "fa622ed4-da7a-405b-9693-61cd99da403c",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "8bdf1d37-3aad-47ee-a8be-2be289d836cd",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "641c4206-18f5-4e08-86f3-9c26a0402c7b",
|
||||
"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": "resume_screening"
|
||||
},
|
||||
"id": "52b412d1-1506-4155-955c-8bd5953d6f09",
|
||||
"name": "Weaviate Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "resume_screening"
|
||||
},
|
||||
"id": "445aad1e-d096-48a7-87d7-b39db9996de7",
|
||||
"name": "Weaviate Query",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
-180
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"name": "Weaviate",
|
||||
"description": "Vector context"
|
||||
},
|
||||
"id": "cff6fd8b-a78f-42e0-a09e-74b977034192",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "ac885270-4c08-4a07-99f4-b86bac40185c",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "a6391bfe-14c5-4cc7-a761-7458a767a9bc",
|
||||
"name": "Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-340
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"promptType": "define",
|
||||
"text": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Resume Screening"
|
||||
}
|
||||
},
|
||||
"id": "90eb9ea4-b1b8-4ed3-8096-7c9eb9bcb671",
|
||||
"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": "Resume Screening"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "c0268a1a-0980-428a-8c1a-dc65e55e1431",
|
||||
"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": "Resume Screening error: {$json.error.message}"
|
||||
},
|
||||
"id": "a8a14ee5-f2ab-4032-bd5b-51205733be67",
|
||||
"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": "Weaviate Insert",
|
||||
"type": "ai_textSplitter",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Embeddings": {
|
||||
"ai_embedding": [
|
||||
[
|
||||
{
|
||||
"node": "Weaviate Insert",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Weaviate Query",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Weaviate Insert": {
|
||||
"ai_document": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Weaviate 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
|
||||
}
|
||||
353
AI_ML/summarize_customer_emails.json
Normal file
353
AI_ML/summarize_customer_emails.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Summarize Customer Emails",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Summarize Customer Emails",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "94ad1eec-70e2-4db2-b80b-385e07a22f66",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "summarize-customer-emails"
|
||||
},
|
||||
"id": "be284d5c-5194-4e36-8b98-92f89a0b69e7",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "e74ee421-b363-4e81-9878-d358db8b7f91",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "c6fa5ebc-8de0-422e-af77-32f485e41649",
|
||||
"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": "summarize_customer_emails"
|
||||
},
|
||||
"id": "316539a7-288b-492f-8f01-e326e9aa6ac5",
|
||||
"name": "Weaviate Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "summarize_customer_emails"
|
||||
},
|
||||
"id": "f9073360-07bb-4a7e-924e-6f4fcec030d7",
|
||||
"name": "Weaviate Query",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
-180
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"name": "Weaviate",
|
||||
"description": "Vector context"
|
||||
},
|
||||
"id": "45a669cd-6731-4c59-b3be-8e53b00d85a7",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "643506d8-f0d8-4565-b90f-26fb9de64cfe",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "34a740ac-8797-43e1-952a-cf5548b7baf8",
|
||||
"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": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Summarize Customer Emails"
|
||||
}
|
||||
},
|
||||
"id": "383e0a40-ddb2-4cf0-9ecb-01fa21c82ae3",
|
||||
"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": "Summarize Customer Emails"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "0c486ca7-802a-4769-9164-8206e2029d1d",
|
||||
"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": "Summarize Customer Emails error: {$json.error.message}"
|
||||
},
|
||||
"id": "9dc4dcc0-580e-44b3-ac10-f97b173ae1c0",
|
||||
"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": "Weaviate Insert",
|
||||
"type": "ai_textSplitter",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Embeddings": {
|
||||
"ai_embedding": [
|
||||
[
|
||||
{
|
||||
"node": "Weaviate Insert",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Weaviate Query",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Weaviate Insert": {
|
||||
"ai_document": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Weaviate 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
|
||||
}
|
||||
363
AI_ML/ticket_urgency_classification.json
Normal file
363
AI_ML/ticket_urgency_classification.json
Normal file
@@ -0,0 +1,363 @@
|
||||
{
|
||||
"name": "Ticket Urgency Classification",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Ticket Urgency Classification",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "38027751-0f0a-4d20-a473-d97aff8830e6",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "ticket-urgency-classification"
|
||||
},
|
||||
"id": "a6a7d7a0-659c-4dc7-b9ce-2ff29fde896a",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "895175a6-a438-49f8-be28-5a542c2d2c94",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "9f624f5d-8120-46bf-9767-38d532b83000",
|
||||
"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": "ticket_urgency_classification",
|
||||
"mode": "list",
|
||||
"cachedResultName": "ticket_urgency_classification"
|
||||
}
|
||||
},
|
||||
"id": "fa749b3b-94f3-4ee4-ad85-2318a43d59bd",
|
||||
"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": "ticket_urgency_classification",
|
||||
"mode": "list",
|
||||
"cachedResultName": "ticket_urgency_classification"
|
||||
}
|
||||
},
|
||||
"id": "3e18cd1c-1148-4e2a-ae6a-def03f79d9de",
|
||||
"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": "92e69e5d-1b9c-4af3-b433-457fe4faff0b",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "f0a2f5b6-017a-4db6-b8d1-ba21801e0e33",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "a5183aa7-be9c-4a86-9043-a7527ba88f1b",
|
||||
"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": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Ticket Urgency Classification"
|
||||
}
|
||||
},
|
||||
"id": "6efa4835-772a-4e03-b1c6-6e421be8204d",
|
||||
"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": "Ticket Urgency Classification"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "fb391e22-5723-4584-8c4d-be5f57c434dd",
|
||||
"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": "Ticket Urgency Classification error: {$json.error.message}"
|
||||
},
|
||||
"id": "eed1960f-7cee-4a70-b3e5-726c1655352e",
|
||||
"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
|
||||
}
|
||||
353
AI_ML/translate_form_submissions.json
Normal file
353
AI_ML/translate_form_submissions.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Translate Form Submissions",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Translate Form Submissions",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "98af88ae-c2f2-41c7-a99f-9cfbdad8844e",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "translate-form-submissions"
|
||||
},
|
||||
"id": "2816edde-baf3-4f2b-bcd2-a557bbd2e10a",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "8dce3eb3-ad7c-4ec9-8708-3f7b1710c2f8",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "text-embedding-3-small",
|
||||
"options": {}
|
||||
},
|
||||
"id": "eb1916e6-5f10-4275-b733-70d61eec092c",
|
||||
"name": "Embeddings",
|
||||
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
70,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "insert",
|
||||
"options": {},
|
||||
"indexName": "translate_form_submissions"
|
||||
},
|
||||
"id": "b0b4e4a9-0cbd-4c46-9ef0-e1045662f9a2",
|
||||
"name": "Supabase Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"supabaseApi": {
|
||||
"id": "SUPABASE_API",
|
||||
"name": "Supabase account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "translate_form_submissions"
|
||||
},
|
||||
"id": "b69c0fb8-ee02-4b55-bbac-0c4ecfcf4eb1",
|
||||
"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": "9cca05b4-8a97-40aa-bc15-9b14af78573a",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "2094421c-c3dc-4ad6-a6b7-a9087968478a",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "9c862dea-b290-472f-9439-7aa16fc4b6fa",
|
||||
"name": "Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-340
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"promptType": "define",
|
||||
"text": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Translate Form Submissions"
|
||||
}
|
||||
},
|
||||
"id": "ab57b64b-8b33-49cb-b928-f8cff0036a17",
|
||||
"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": "Translate Form Submissions"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "c855c2fe-e653-440a-9b00-76a40e5ecb4e",
|
||||
"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": "Translate Form Submissions error: {$json.error.message}"
|
||||
},
|
||||
"id": "543f94c6-7265-4aa5-83e7-de11085aa10d",
|
||||
"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
|
||||
}
|
||||
353
AI_ML/voice_note_transcription.json
Normal file
353
AI_ML/voice_note_transcription.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Voice Note Transcription",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Voice Note Transcription",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "69424bcd-c308-40f9-8d9a-9477dd3c0ecb",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "voice-note-transcription"
|
||||
},
|
||||
"id": "6752cb1f-3bcc-4bff-bbb5-2e825c981c5d",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "5d2b0243-fe4d-47b8-877d-dee5d0ad6eed",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "eb8d139e-8e63-4102-b081-7b1aa4f2d579",
|
||||
"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": "voice_note_transcription"
|
||||
},
|
||||
"id": "a2f1a360-1043-483b-bded-c2ef7dcb1b8c",
|
||||
"name": "Weaviate Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "voice_note_transcription"
|
||||
},
|
||||
"id": "40d491f7-15e2-4b49-b2a0-2b1c7c696256",
|
||||
"name": "Weaviate Query",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
-180
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"name": "Weaviate",
|
||||
"description": "Vector context"
|
||||
},
|
||||
"id": "36b1328c-786c-4df4-bbe7-8f8fe51d92e4",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "2f81164b-02d8-4b4e-98cf-bd5777e116c1",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "d7840e39-4fd8-4447-bbee-2534d892ed33",
|
||||
"name": "Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-340
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"promptType": "define",
|
||||
"text": "Handle data",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Voice Note Transcription"
|
||||
}
|
||||
},
|
||||
"id": "3b22937f-1cc4-4352-b413-489fa5cbdcb3",
|
||||
"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": "Voice Note Transcription"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "e6564402-60d5-4c7b-8490-adf593207f08",
|
||||
"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": "Voice Note Transcription error: {$json.error.message}"
|
||||
},
|
||||
"id": "4072a697-14c3-48c0-81ef-c9553af1d4d8",
|
||||
"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": "Weaviate Insert",
|
||||
"type": "ai_textSplitter",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Embeddings": {
|
||||
"ai_embedding": [
|
||||
[
|
||||
{
|
||||
"node": "Weaviate Insert",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Weaviate Query",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Weaviate Insert": {
|
||||
"ai_document": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Weaviate 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
|
||||
}
|
||||
Reference in New Issue
Block a user