n8n-free-templates/Gaming/discord_guild_welcome_bot.json
2025-05-19 01:08:15 -05:00

299 lines
5.9 KiB
JSON

{
"name": "Discord Guild Welcome Bot",
"nodes": [
{
"parameters": {
"content": "## Discord Guild Welcome Bot",
"height": 520,
"width": 1100
},
"id": "ec3eca3b-c927-44af-b076-ae454a5f9dba",
"name": "Sticky",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-500,
-250
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "discord_guild_welcome_bot"
},
"id": "75348d7e-59f5-42ae-aec5-5a993247cce9",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
-300,
0
]
},
{
"parameters": {
"chunkSize": 400,
"chunkOverlap": 40
},
"id": "8f3d6c06-6b07-4e1f-b6c1-881c2201c307",
"name": "Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
-100,
0
]
},
{
"parameters": {
"model": "default"
},
"id": "9b97ff7a-ad0c-4783-a805-5306ac065a18",
"name": "Embeddings",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"typeVersion": 1,
"position": [
100,
0
],
"credentials": {
"openAiApi": {
"id": "OPENAI_API",
"name": "OpenAI"
}
}
},
{
"parameters": {
"mode": "insert",
"indexName": "discord_guild_welcome_bot"
},
"id": "90aebcf2-d80e-4dda-8ff1-c9cb21daef88",
"name": "Insert",
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
"typeVersion": 1,
"position": [
300,
0
],
"credentials": {
"weaviateApi": {
"id": "WEAVIATE_API",
"name": "Weaviate account"
}
}
},
{
"parameters": {
"indexName": "discord_guild_welcome_bot"
},
"id": "98d03e4f-c7a7-4fbc-a740-f0f96511ad26",
"name": "Query",
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
"typeVersion": 1,
"position": [
300,
-180
],
"credentials": {
"weaviateApi": {
"id": "WEAVIATE_API",
"name": "Weaviate account"
}
}
},
{
"parameters": {
"name": "Weaviate"
},
"id": "98d3ad26-70f6-4ba9-bbd6-ec4c429fdbac",
"name": "Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"typeVersion": 1,
"position": [
480,
-180
]
},
{
"parameters": {},
"id": "07ee96a3-d9fc-4a9a-84b5-967dd9dce86b",
"name": "Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
480,
-40
]
},
{
"parameters": {},
"id": "63bd3f99-bedd-4c2a-a372-e3a3dfdf13f7",
"name": "Chat",
"type": "@n8n/n8n-nodes-langchain.lmChatHf",
"typeVersion": 1,
"position": [
480,
-340
],
"credentials": {
"huggingFaceApi": {
"id": "HF_API",
"name": "HuggingFace"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json }}"
},
"id": "2182a66a-8f6b-4ab5-a204-b1d2a193b540",
"name": "Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1,
"position": [
760,
-40
]
},
{
"parameters": {
"operation": "append",
"documentId": "SHEET_ID",
"sheetName": "Log"
},
"id": "bdc65bf0-04e8-454f-af89-365318979a0b",
"name": "Sheet",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4,
"position": [
960,
-40
],
"credentials": {
"googleSheetsOAuth2Api": {
"id": "SHEETS_API",
"name": "Sheets"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Splitter",
"type": "main",
"index": 0
},
{
"node": "Memory",
"type": "main",
"index": 0
}
]
]
},
"Splitter": {
"main": [
[
{
"node": "Embeddings",
"type": "main",
"index": 0
}
]
],
"ai_textSplitter": [
[
{
"node": "Insert",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Embeddings": {
"ai_embedding": [
[
{
"node": "Insert",
"type": "ai_embedding",
"index": 0
},
{
"node": "Query",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Insert": {
"ai_document": [
[]
]
},
"Query": {
"ai_vectorStore": [
[
{
"node": "Tool",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"Tool": {
"ai_tool": [
[
{
"node": "Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Memory": {
"ai_memory": [
[
{
"node": "Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Chat": {
"ai_languageModel": [
[
{
"node": "Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Agent": {
"main": [
[
{
"node": "Sheet",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}