Discord AI-powered bot
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Discord.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Analyze user request (OpenAI): work with chat
- Parse JSON (Edit Fields (Set)): sets or maps fields
- Select category (Switch): routes items into 3 branches
- User Success Dept (Discord): uses Discord
- IT Dept (Discord): uses Discord
- Helpdesk (Discord): uses Discord
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in Analyze user request: replace with OpenAI node (AI section).
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) Analyze user request | OpenAI node (AI section) |
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Webhook
n8n-nodes-base.webhook - No Operation, do nothing
n8n-nodes-base.noOp - OpenAI
n8n-nodes-base.openAi - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Discord
n8n-nodes-base.discord
From the author
This workflow is a template example for making Discord GPT-powered bots. Incoming user requests are analysed and categorised via OpenAI node with the help of a hand-crafted prompt. The response message is then routed to a different Discord channel.