AI Discord server manager agent n8n workflow
This n8n workflow is an AI agent that manages a Discord server by sending and reading messages in chosen channels. It is for community managers who want to post updates or check channels by chatting with an agent, or by calling it from other workflows.
What it does
The agent runs on an OpenAI chat model with buffer memory and has several Discord tool nodes, each tied to a channel. It starts from a chat message or when another workflow calls it.
How to use it
Create an application in the Discord Developer Portal, generate a bot token, add the bot to your server with Send Messages, Read Message History and View Channels, then enter the guild ID and channel IDs.
Requirements and limits
Requires a Discord bot, server access and an OpenAI API key.
More in ChatGPT and the n8n workflow library.
Full text
Front matter
name: Discord Agent
description: Triggered manually or by an app event. Connects Discord Tool, Stop And Error. ## Discord Management Tools ## Main Discord Manager Agent ## Trigger Automation # N8N Discord Workflow Setup Guide ## Prerequisites - N8N account - Discord bot - OpenAI API key - Discord server access ## 1. Discord Bot Creation ### Steps - Open Discord Developer Portal - Create new application - Generate bot token - Add bot to server - Set permissions: - Send Messages - Read Message History - View Channels ### Required Info - Guild (Server) ID - Channel IDs: - AI Tools Channel - Fr
category: Automation
kind: Workflow
software: Discord Tool|Stop And ErrorDiscord Agent
Triggered manually or by an app event. Connects Discord Tool, Stop And Error. ## Discord Management Tools ## Main Discord Manager Agent ## Trigger Automation # N8N Discord Workflow Setup Guide
Prerequisites
- N8N account
- Discord bot
- OpenAI API key
- Discord server access
1. Discord Bot Creation
Steps
- Open Discord Developer Portal
- Create new application
- Generate bot token
- Add bot to server
- Set permissions:
- Send Messages
- Read Message History
- View Channels
Required Info
- Guild (Server) ID
- Channel IDs:
- AI Tools Channel
- Fr
Steps
- When Executed by Another Workflow (executeWorkflowTrigger)
- AI Agent (noOp)
- OpenAI Chat Model (noOp)
- When chat message received (noOp)
- Window Buffer Memory (noOp)
- Sticky Note (stickyNote)
- Sticky Note2 (stickyNote)
- Sticky Note1 (stickyNote)
- Discord (discordTool)
- Discord1 (discordTool)
- Discord2 (discordTool)
- Sticky Note3 (stickyNote)
- Sticky Note4 (stickyNote)
- Error Handler (stopAndError)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source and license
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.