Bot Discord IA répondant aux mentions et messages privés avec conscience contextuelle
Ceci est unSupport, AI, IT Opsworkflow d'automatisation du domainecontenant 18 nœuds.Utilise principalement des nœuds comme If, Set, Discord, Webhook, DiscordTool, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Bot Discord contextuel utilisant GPT-4o pour répondre aux mentions et messages privés
- •Token Bot Discord ou Webhook
- •Point de terminaison HTTP Webhook (généré automatiquement par n8n)
- •Clé API OpenAI
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (18)
{
"id": "h7STFu0NJCVsvlbc",
"meta": {
"instanceId": "ff93c7924b638fb6ca7815d8ed0b9e89bc1a4b863863649bb0ed513cdccf1946"
},
"name": "AI Discord Bot Respond to Mentions and DMs with Context Awareness",
"tags": [],
"nodes": [
{
"id": "b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7",
"name": "Agent IA",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
520,
500
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "c2461069-028e-4a6f-9670-c75e84f30d26",
"name": "Modèle de chat OpenAI",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
280,
860
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "87dfab19-9acc-48af-b786-1c20106f8e23",
"name": "Mémoire simple",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
480,
880
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "74407b9a-d9ae-434e-9eee-17b68b487c2e",
"name": "Données de mappage pour l'agent",
"type": "n8n-nodes-base.set",
"position": [
180,
500
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a2a7e4e9-084c-4bdf-80e0-5f909a53fe2d",
"name": "Le robot doit répondre en MP ou dans le canal public",
"type": "n8n-nodes-base.if",
"position": [
900,
500
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "d84d2f02-93b8-4459-82de-bff394ee7455",
"name": "Répondre en MP",
"type": "n8n-nodes-base.discord",
"position": [
1240,
360
],
"webhookId": "9ad5e961-607d-47ed-a461-2f89a90255e6",
"parameters": {},
"typeVersion": 2
},
{
"id": "ff8b9e70-35d1-44de-aba0-e624b468b95f",
"name": "Répondre dans le canal public",
"type": "n8n-nodes-base.discord",
"position": [
1240,
640
],
"webhookId": "9ad5e961-607d-47ed-a461-2f89a90255e6",
"parameters": {},
"typeVersion": 2
},
{
"id": "1abd9619-bd4c-493c-a90f-7db16b3cc72d",
"name": "MP reçu",
"type": "n8n-nodes-base.webhook",
"position": [
-80,
260
],
"webhookId": "7ee4637e-8a29-4084-9c44-fc017eb79db8",
"parameters": {},
"typeVersion": 2
},
{
"id": "40fdef9c-e568-4e75-a93e-e20cc9601835",
"name": "Mention publique",
"type": "n8n-nodes-discord-trigger.discordTrigger",
"position": [
-80,
720
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e1d15d1b-99cd-4b1d-8006-47af3b355143",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
440,
140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b3b58996-44f5-466e-aeaf-9a163e376e38",
"name": "Note adhésive3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-100
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "583e5a8d-d7f5-4bc6-8d3c-8b47c3d96799",
"name": "Note adhésive9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
500
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3f320db7-1109-4089-8bc9-3c26efe8cd46",
"name": "Note adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7bb34978-a5db-4d2d-9853-f8dbbe584c8a",
"name": "Note adhésive5",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "777c1988-3d18-454f-8310-3d647d0ff6ff",
"name": "Lire les derniers messages publics",
"type": "n8n-nodes-base.discordTool",
"position": [
840,
900
],
"webhookId": "8dc45278-105e-440d-a71e-08d680a56a6b",
"parameters": {},
"typeVersion": 2
},
{
"id": "10859678-99e8-4ac8-aa05-aeddb25bc816",
"name": "Lire les derniers messages privés",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
1020,
900
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "5d4bb3fb-b1be-4fcd-a5f3-fbe7cc4aa38f",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
760,
740
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b09f12af-1a4f-45ba-9073-d38dc5e93ad1",
"name": "Note adhésive4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
200
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "b15c5cde-bce6-4fa2-8803-0f7dfe8cbb71",
"connections": {
"Think": {
"ai_tool": [
[
{
"node": "b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7",
"type": "ai_tool",
"index": 0
}
]
]
},
"b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7": {
"main": [
[
{
"node": "a2a7e4e9-084c-4bdf-80e0-5f909a53fe2d",
"type": "main",
"index": 0
}
]
]
},
"1abd9619-bd4c-493c-a90f-7db16b3cc72d": {
"main": [
[
{
"node": "74407b9a-d9ae-434e-9eee-17b68b487c2e",
"type": "main",
"index": 0
}
]
]
},
"87dfab19-9acc-48af-b786-1c20106f8e23": {
"ai_memory": [
[
{
"node": "b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7",
"type": "ai_memory",
"index": 0
}
]
]
},
"40fdef9c-e568-4e75-a93e-e20cc9601835": {
"main": [
[
{
"node": "74407b9a-d9ae-434e-9eee-17b68b487c2e",
"type": "main",
"index": 0
}
]
]
},
"c2461069-028e-4a6f-9670-c75e84f30d26": {
"ai_languageModel": [
[
{
"node": "b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"777c1988-3d18-454f-8310-3d647d0ff6ff": {
"ai_tool": [
[
{
"node": "b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7",
"type": "ai_tool",
"index": 0
}
]
]
},
"74407b9a-d9ae-434e-9eee-17b68b487c2e": {
"main": [
[
{
"node": "b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7",
"type": "main",
"index": 0
}
]
]
},
"10859678-99e8-4ac8-aa05-aeddb25bc816": {
"ai_tool": [
[
{
"node": "b69efca3-f0b1-4b8d-8812-9bbc60d2c9c7",
"type": "ai_tool",
"index": 0
}
]
]
},
"a2a7e4e9-084c-4bdf-80e0-5f909a53fe2d": {
"main": [
[
{
"node": "d84d2f02-93b8-4459-82de-bff394ee7455",
"type": "main",
"index": 0
}
],
[
{
"node": "ff8b9e70-35d1-44de-aba0-e624b468b95f",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Support, Intelligence Artificielle, Opérations IT
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Niten Musa
@nitenmusaJust like every business has its own processes, every business will have its own AI agents — I sell and teach that transition From France 🇫🇷 — Discipline, Humility, Benevolence
Partager ce workflow