YouTube Discord 봇
중급
이것은Building Blocks, AI, Marketing분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Code, Webhook, Agent, RespondToWebhook, LmChatGoogleGemini 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. Gemini 2.0 Flash를 사용한 자동화된 Discord 채널 채팅 상호작용 봇
사전 요구사항
- •HTTP Webhook 엔드포인트(n8n이 자동으로 생성)
- •Google Gemini API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "OqfQNcgTqUK7UvZG",
"meta": {
"instanceId": "5ce52989094be90be3b3bdd9ed9cee1d7ce1fcecaa598afaec4a50646d32e291",
"templateCredsSetupCompleted": true
},
"name": "Youtube Discord Bot",
"tags": [
{
"id": "5eZb3e5PJspoJjVN",
"name": "Discord",
"createdAt": "2025-02-22T09:31:58.972Z",
"updatedAt": "2025-02-22T09:31:58.972Z"
}
],
"nodes": [
{
"id": "39832819-a14b-445c-bf5c-0bd93613b1ca",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
80,
440
],
"webhookId": "b0631bec-9ccc-4eb8-b143-d73609b213c7",
"parameters": {
"path": "b0631bec-9ccc-4eb8-b143-d73609b213c7",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "5e70b649-5678-4718-98a7-302a4c784155",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
460,
680
],
"parameters": {
"sessionKey": "={{ $json.body.userId }}",
"sessionIdType": "customKey",
"contextWindowLength": 50
},
"typeVersion": 1.3
},
{
"id": "7cc849c3-3ed8-4fe2-a378-a213736a9aef",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
180,
700
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash"
},
"credentials": {
"googlePalmApi": {
"id": "clmB8ZYJMHaHmnsu",
"name": "Stardawn#1"
}
},
"typeVersion": 1
},
{
"id": "4b664f21-6f1c-4894-9196-beecbd865d3e",
"name": "Webhook에 응답",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
880,
440
],
"parameters": {
"options": {},
"respondWith": "allIncomingItems"
},
"typeVersion": 1.1
},
{
"id": "c7c779d3-e324-4a3f-a5a1-5218ec61d856",
"name": "correctNaming",
"type": "n8n-nodes-base.code",
"position": [
680,
440
],
"parameters": {
"jsCode": "// Hole alle Items\nconst items = $input.all();\n\n// Nehme das erste Item (falls mehrere vorhanden sind)\nconst item = items[0];\n\n// Extrahiere den output\nconst antwort = item.json.output;\n\n// Formatiere die Antwort im richtigen Format für den Discord-Bot\nreturn {\n json: {\n answer: antwort\n }\n};"
},
"typeVersion": 2
},
{
"id": "9ff7ad77-88ce-467e-91b1-4fc2d13636fd",
"name": "Discord AI 응답 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
300,
440
],
"parameters": {
"text": "=Username: {{ $json.body.userName }}\n\nQuestion/Prompt: {{ $json.body.question }}",
"options": {
"systemMessage": "You are a helpful assistant. You answer in the language you receive the question in. Interactions might be all over the place. If there is any questions regarding the Youtube Videos of the channel: Presting Podcasts, you have the transcript of the podcast videos as additional knowledge.\nAlways begin your answer with a @insertusername to mark the guy who asked the question. "
},
"promptType": "define"
},
"typeVersion": 1.8
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "429e2ccd-5a58-4287-9ad8-314efbbecb8f",
"connections": {
"39832819-a14b-445c-bf5c-0bd93613b1ca": {
"main": [
[
{
"node": "9ff7ad77-88ce-467e-91b1-4fc2d13636fd",
"type": "main",
"index": 0
}
]
]
},
"5e70b649-5678-4718-98a7-302a4c784155": {
"ai_memory": [
[
{
"node": "9ff7ad77-88ce-467e-91b1-4fc2d13636fd",
"type": "ai_memory",
"index": 0
}
]
]
},
"c7c779d3-e324-4a3f-a5a1-5218ec61d856": {
"main": [
[
{
"node": "4b664f21-6f1c-4894-9196-beecbd865d3e",
"type": "main",
"index": 0
}
]
]
},
"7cc849c3-3ed8-4fe2-a378-a213736a9aef": {
"ai_languageModel": [
[
{
"node": "9ff7ad77-88ce-467e-91b1-4fc2d13636fd",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"9ff7ad77-88ce-467e-91b1-4fc2d13636fd": {
"main": [
[
{
"node": "c7c779d3-e324-4a3f-a5a1-5218ec61d856",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 빌딩 블록, 인공지능, 마케팅
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
YouTube 자동화
자동화 YouTube 비디오 스케줄링 및 AI 메타데이터 생성 🎬
If
Set
Code
+
If
Set
Code
33 노드JPres
인공지능
[템플릿] AI 반려동물 가게 v8
🐶 AI 펫 샵 어시스턴트 - GPT-4o, Google 캘린더 및 WhatsApp/Instagram/Facebook 통합
If
N8n
Set
+
If
N8n
Set
244 노드Amanda Benks
영업
기술 레이더
사용SQL데이터库、RAG및路由에이전트构建AI驱动의技术雷达顾问
If
Code
Cron
+
If
Code
Cron
53 노드Sean Lon
엔지니어링
InstaTest
Instagram 비공개 메시지/인박스 AI 에이전트 - Manychat과 OpenAI 통합
Set
Webhook
Agent
+
Set
Webhook
Agent
11 노드Alex Hi no code
인공지능
적응형 RAG
自适应RAG策略:쿼리分类与检索(Gemini및Qdrant)
Set
Switch
Summarize
+
Set
Switch
Summarize
39 노드dmr
엔지니어링
RAG 2.0 - 답변 아키텍처
自适应RAG(Google Gemini및Qdrant):上下文感知쿼리应答
Set
Switch
Summarize
+
Set
Switch
Summarize
40 노드Nisa
빌딩 블록