FM
FlowMarket
AI Agents Intermediate ⚡ 15 n8n Nodes

Discord message proxy Bot mentions AI actions

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? Join the community 🔍 What It Does Li...

🔌 Nodes & Integrations Used (3)

Discord HTTP Request Remove Duplicates

📖 Implementation & Setup Guide

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?

[Join the community](https://www.skool.com/beyond-nodes-automation-lab-2006/about)

🔍 What It Does

Listens for @mentions of your bot in Discord channels (without a native trigger).

Filters noise: Only processes messages:

From authorized users (configurable).

That mention your bot.

Sent today (skips old messages).

Forwards cleaned messages to any webhook (e.g., your AI agent, like the GitHub MCP Server).

Replies in Discord with the webhook’s response.

🛠️ Key Features

⚡ No Community Nodes: Uses official n8n nodes only (security-first!).

🔒 Role-Based Access: Restrict bot usage to specific users.

🗑️ Deduplication: Avoids processing the same message twice.

🔄 Scheduled Checks: Runs every X minutes (adjustable in the Schedule Trigger).

🚀 Use Cases

Chat with your AI bot via Discord mentions.

Moderate channels: Auto-flag messages or ping moderators.

Build custom commands: Trigger workflows by mentioning your bot.

⚙️ Setup Guide

🤖 Update Credentials: Ensure your Discord bot has Read Messages and Send Messages permissions.

🔧 Configure Variables: In the "Set Values" node:

discordServerId: Your server’s ID.

botId: Your bot’s user ID.

authorizedUser: Who can trigger the bot (user ID).

🌐 Webhook Target: Point the HTTP Request node to your AI/webhook endpoint.

⏱️ Adjust Polling: Change the Schedule Trigger interval (default: every minute).

Note: This polls channels instead of true event-based triggers—tradeoffs time for security!

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save __ Discord message proxy_ Bot mentions _ AI actions.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →