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:
353
Social_Media/reddit_upvote_alert.json
Normal file
353
Social_Media/reddit_upvote_alert.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "Reddit Upvote Alert",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Placeholder for Reddit Upvote Alert",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "65196870-2079-4376-92b9-a2f6d782a0d9",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "reddit-upvote-alert"
|
||||
},
|
||||
"id": "78135efe-8906-4437-9908-1e335442f6a2",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "d4d868f6-46e2-42d4-a294-fbd6ac733823",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "text-embedding-3-small",
|
||||
"options": {}
|
||||
},
|
||||
"id": "88ea99f8-1469-4c03-8fd1-ed1fab8a5516",
|
||||
"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": "reddit_upvote_alert"
|
||||
},
|
||||
"id": "466c3a8b-e140-4b17-b4b7-f33415832ef9",
|
||||
"name": "Weaviate Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "reddit_upvote_alert"
|
||||
},
|
||||
"id": "6648eb75-d080-48fd-8fd1-a5d9edf7c6a5",
|
||||
"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": "36705e61-87ec-4858-87e3-2eb4d1f3219c",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "4fd2d787-235f-4efc-a57f-3d91956b0975",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "669c352a-d72e-4a48-b11d-377736696308",
|
||||
"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 Reddit Upvote Alert"
|
||||
}
|
||||
},
|
||||
"id": "af93f117-fe2b-4e90-b9e7-a0a1d8cecb1b",
|
||||
"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": "Reddit Upvote Alert"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": "Status",
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "8735a4a8-4a50-44b7-b303-597642c7bca0",
|
||||
"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": "Reddit Upvote Alert error: {$json.error.message}"
|
||||
},
|
||||
"id": "b337597e-1efd-43e6-8a88-7822de398548",
|
||||
"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