Discord 어시스턴트
중급
이것은Support, AI분야의자동화 워크플로우로, 13개의 노드를 포함합니다.주로 DiscordTool, Agent, ChatTrigger, LmChatOpenAi, ExecuteWorkflowTrigger 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. GPT-4o를 사용하여 다중 채널 메시지를 지원하는 AI로운 Discord 어시스턴트를 만듭니다.
사전 요구사항
- •Discord Bot Token 또는 Webhook
- •OpenAI API Key
사용된 노드 (13)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "A4hqQNFLymCRKnYK",
"meta": {
"instanceId": "5a64ae2dac98d415b280f5a86dd824858150b2ae6e4b41f2e62e7315042262b3",
"templateCredsSetupCompleted": true
},
"name": "Discord Agent",
"tags": [],
"nodes": [
{
"id": "b0f78e4d-e6f9-496c-a9d1-f2ec17612770",
"name": "다른 워크플로우에서 실행 시",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
80,
60
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "Task"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"name": "AI 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
380,
120
],
"parameters": {
"text": "={{ $json.Task }}{{ $json.chatInput }}",
"options": {
"systemMessage": "You are a helpful assistant In Charge OF managing Discord always use channel id to reference channels. Always convert and output text in stylish discord formats. Reduce Text To 1800 characters Max.\n\nBefore sending any message absolutely ensure it is less than 1800 characters\n\nYou can Use One tool to send to free guides channel and another for ai-tools channel. make sure to read tool descriptions"
},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "1aa1b4df-71af-4b85-9a6e-b371a2349598",
"name": "OpenAI 채팅 모델",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
380,
280
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "F4px3oxuWY5zBrvn",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "d6f59c6e-3bc0-4e85-8b89-b1a480db5317",
"name": "채팅 메시지 수신 시",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
80,
240
],
"webhookId": "913628ac-d409-49fa-8a34-a11349a30da6",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "f0aa9420-0207-4f6b-a659-ef89104e4925",
"name": "윈도우 버퍼 메모리",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
540,
280
],
"parameters": {
"sessionKey": "={{ $json.Task }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.3
},
{
"id": "6b77b8f1-8fd2-4b0b-8993-3567d03b8b9b",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
320
],
"parameters": {
"color": 4,
"width": 460,
"height": 260,
"content": "## Discord Management Tools"
},
"typeVersion": 1
},
{
"id": "8947bfd3-88ed-48e5-a07f-c012cc3202c6",
"name": "스티키 노트2",
"type": "n8n-nodes-base.stickyNote",
"position": [
340,
40
],
"parameters": {
"color": 5,
"width": 360,
"height": 380,
"content": "## Main Discord Manager Agent"
},
"typeVersion": 1
},
{
"id": "7fb0e4b2-5e66-4b3a-a976-926a4427f3c5",
"name": "스티키 노트1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"color": 3,
"width": 260,
"height": 400,
"content": "## Trigger Automation "
},
"typeVersion": 1
},
{
"id": "d100828e-6877-427d-ab8c-8486970b17e6",
"name": "Discord",
"type": "n8n-nodes-base.discordTool",
"position": [
960,
420
],
"webhookId": "aa558762-c5da-491d-9881-1a091632864f",
"parameters": {
"sendTo": "=channel",
"userId": {
"__rl": true,
"mode": "list",
"value": ""
},
"content": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
"guildId": {
"__rl": true,
"mode": "list",
"value": "1236784625196601386",
"cachedResultUrl": "https://discord.com/channels/1236784625196601386",
"cachedResultName": "YungCEO SOCIETY💰"
},
"options": {},
"resource": "message",
"channelId": {
"__rl": true,
"mode": "list",
"value": "1352547978308485192",
"cachedResultUrl": "https://discord.com/channels/1236784625196601386/1352547978308485192",
"cachedResultName": "ai-tools"
},
"descriptionType": "manual",
"toolDescription": "Use this tool to post a message in ai-tools discord channel"
},
"credentials": {
"discordBotApi": {
"id": "ENuG6EzBN712IDLU",
"name": "Motion Assistant"
}
},
"typeVersion": 2
},
{
"id": "d6dc1210-4049-4fa6-9896-67e8353db922",
"name": "Discord1",
"type": "n8n-nodes-base.discordTool",
"position": [
1080,
420
],
"webhookId": "7e07794e-e474-46c8-a23c-e9440a61d87b",
"parameters": {
"guildId": {
"__rl": true,
"mode": "list",
"value": "1236784625196601386",
"cachedResultUrl": "https://discord.com/channels/1236784625196601386",
"cachedResultName": "YungCEO SOCIETY💰"
},
"options": {},
"operation": "getAll",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}"
},
"credentials": {
"discordBotApi": {
"id": "ENuG6EzBN712IDLU",
"name": "Motion Assistant"
}
},
"typeVersion": 2
},
{
"id": "1908e48f-51a7-4d42-a543-622a28c22136",
"name": "Discord2",
"type": "n8n-nodes-base.discordTool",
"position": [
820,
420
],
"webhookId": "aa558762-c5da-491d-9881-1a091632864f",
"parameters": {
"sendTo": "=channel",
"userId": {
"__rl": true,
"mode": "list",
"value": ""
},
"content": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
"guildId": {
"__rl": true,
"mode": "list",
"value": "1236784625196601386",
"cachedResultUrl": "https://discord.com/channels/1236784625196601386",
"cachedResultName": "YungCEO SOCIETY💰"
},
"options": {},
"resource": "message",
"channelId": {
"__rl": true,
"mode": "list",
"value": "1352242462520901632",
"cachedResultUrl": "https://discord.com/channels/1236784625196601386/1352242462520901632",
"cachedResultName": "free-guides"
},
"descriptionType": "manual",
"toolDescription": "Use this tool to post a message in free-guides discord channel"
},
"credentials": {
"discordBotApi": {
"id": "ENuG6EzBN712IDLU",
"name": "Motion Assistant"
}
},
"typeVersion": 2
},
{
"id": "557189d6-d5f3-4059-b349-9c3a9b642083",
"name": "스티키 노트3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
-1300
],
"parameters": {
"color": 4,
"width": 1340,
"height": 1220,
"content": "# N8N Discord Workflow Setup Guide\n\n## Prerequisites\n- N8N account\n- Discord bot\n- OpenAI API key\n- Discord server access\n\n## 1. Discord Bot Creation\n### Steps\n- Open Discord Developer Portal\n- Create new application\n- Generate bot token\n- Add bot to server\n- Set permissions:\n - Send Messages\n - Read Message History\n - View Channels\n\n### Required Info\n- Guild (Server) ID\n- Channel IDs:\n - AI Tools Channel\n - Free Guides Channel\n\n## 2. Credential Configuration\n### Discord Bot Credentials\n- Go to N8N Credentials section\n- Create 'Discord Bot API' credential\n- Enter bot token\n- Name credential (e.g., 'Motion Assistant')\n\n### OpenAI Credentials\n- Create 'OpenAI API' credential\n- Enter API key\n- Name credential (e.g., 'OpenAI Account')\n\n## 3. Workflow Setup\n### AI Agent Configuration\n- Customize system message\n- Define character limits\n- Specify output format\n\n### Trigger Types\n1. Workflow Execution Trigger\n2. Direct Chat Message Trigger\n\n"
},
"typeVersion": 1
},
{
"id": "9b554c72-cb38-43d8-abcf-1bf48ee4fcec",
"name": "스티키 노트4",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
-1200
],
"parameters": {
"width": 1200,
"height": 880,
"content": "## Workflow Operation Modes\n### Mode 1: Workflow Trigger\n- Execute from another workflow\n- Input: Task/message string\n- Use cases:\n - Automated messaging\n - Scheduled updates\n - External event triggers\n\n### Mode 2: Chat Trigger\n- Webhook-based activation\n- Process flow:\n 1. Receive message\n 2. AI Agent processing\n 3. Generate response\n 4. Maintain context\n\n## Customization Points\n- Modify AI system message\n- Adjust character limits\n- Configure channel interactions\n- Select OpenAI model\n\n## Potential Enhancements\n- Error handling\n- Advanced conversation memory\n- Additional channel tools\n- Message filtering\n\n## Troubleshooting\n- Verify bot permissions\n- Check API credentials\n- Validate character limits\n- Confirm channel IDs"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "8a8376c5-04e5-42da-9031-a9be0a34c211",
"connections": {
"d100828e-6877-427d-ab8c-8486970b17e6": {
"ai_tool": [
[
{
"node": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"type": "ai_tool",
"index": 0
}
]
]
},
"d6dc1210-4049-4fa6-9896-67e8353db922": {
"ai_tool": [
[
{
"node": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"type": "ai_tool",
"index": 0
}
]
]
},
"1908e48f-51a7-4d42-a543-622a28c22136": {
"ai_tool": [
[
{
"node": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"type": "ai_tool",
"index": 0
}
]
]
},
"1aa1b4df-71af-4b85-9a6e-b371a2349598": {
"ai_languageModel": [
[
{
"node": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"f0aa9420-0207-4f6b-a659-ef89104e4925": {
"ai_memory": [
[
{
"node": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"type": "ai_memory",
"index": 0
}
]
]
},
"d6f59c6e-3bc0-4e85-8b89-b1a480db5317": {
"main": [
[
{
"node": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"type": "main",
"index": 0
}
]
]
},
"b0f78e4d-e6f9-496c-a9d1-f2ec17612770": {
"main": [
[
{
"node": "3e185fb3-0b5f-4ba6-b382-c332cefa727e",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 지원, 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
基于AI의MIS에이전트
基于AI의관리信息系统에이전트
If
Set
Code
+
If
Set
Code
129 노드Kumar Shivam
지원
GPT-4o 기반 레스토랑 주문 챗봇 (POS 통합)
GPT-4o 기반 레스토랑 주문 챗봇으로, POS 시스템 통합을 지원합니다.
If
Code
Google Sheets
+
If
Code
Google Sheets
19 노드Kumar Shivam
영업
AI가 답변할 수 없을 때 인간의 도움 요청
AI가 답변할 수 없을 때 인간 도움 요청
If
Code
Slack
+
If
Code
Slack
17 노드Deborah
지원
OpenAI 및 Redis 세션 관리를 사용한 채팅 지원 고객 인증
OpenAI와 Redis 세션 관리를 사용한 채팅 지원 고객 인증
Set
Form
Redis
+
Set
Form
Redis
19 노드Jimleuk
지원
AI 챗봇 에이전트: InfraNodus 그래프 RAG 지식을 활용한 전문가 패널
InfraNodus GraphRAG 지식 그래프 기술을 도입한 전문가 패널 AI 챗봇 에이전트
Agent
Http Request Tool
Chat Trigger
+
Agent
Http Request Tool
Chat Trigger
14 노드InfraNodus
지원
AI 이메일 자동 응답 시스템 - 이메일 RAG 지능형 에이전트
AI 이메일 자동 응답 시스템 - 이메일 RAG 지능형 에이전트
If
Set
Gmail
+
If
Set
Gmail
34 노드LukaszB
지원