AutomationFlowsSlack & Telegram › Discord Message Proxy: Bot Mentions → AI Actions

Discord Message Proxy: Bot Mentions → AI Actions

Original n8n title: 🤖 Discord Message Proxy: Bot Mentions → AI Actions

ByDavid Ashby @cfomodz on n8n.io

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

Cron / scheduled trigger★★★★☆ complexity15 nodesDiscordHTTP Request
Slack & Telegram Trigger: Cron / scheduled Nodes: 15 Complexity: ★★★★☆ Added:

This workflow corresponds to n8n.io template #4264 — we link there as the canonical source.

This workflow follows the Discord → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "Fd7Bx75kjh5OtKnH",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Automatic [slow] Discord Task Worker with no community Trigger node (This is a bad way to do this and you should probably not)",
  "tags": [],
  "nodes": [
    {
      "id": "2fe3cc40-04d0-4cbf-92d1-b98f308a9562",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        100,
        -180
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "dba698ec-e992-417d-87bf-6aac6fd138a2",
      "name": "Discord1",
      "type": "n8n-nodes-base.discord",
      "position": [
        740,
        -380
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "866d82f7-428d-4263-824b-0ad49c813d36",
      "name": "Get All Servers' Channels",
      "type": "n8n-nodes-base.discord",
      "position": [
        340,
        -180
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4d79e77a-c198-4a49-8400-0366d281455b",
      "name": "Set Values",
      "type": "n8n-nodes-base.set",
      "position": [
        100,
        -380
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9cc7877f-0947-46af-ad88-2955a8e6029b",
      "name": "Filter (Remove empty)",
      "type": "n8n-nodes-base.filter",
      "position": [
        340,
        -380
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d0c61722-8036-46ef-9db8-dca79b4132aa",
      "name": "Get last message",
      "type": "n8n-nodes-base.discord",
      "onError": "continueErrorOutput",
      "position": [
        500,
        -160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "fee206d6-6cd4-4153-bef0-58457e28a691",
      "name": "Filter (Remove Old)",
      "type": "n8n-nodes-base.filter",
      "position": [
        660,
        -180
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "c5ef643b-24b5-4f4b-a5b5-afa4b1ef7b17",
      "name": "Filter (Messages with mentions)",
      "type": "n8n-nodes-base.filter",
      "position": [
        960,
        -100
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "cb8bfb57-baef-4a44-a46e-b456a93f7054",
      "name": "Filter (Authorized User)",
      "type": "n8n-nodes-base.filter",
      "position": [
        1220,
        -460
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d2146a6a-af18-4e8f-b92e-4a47320d5186",
      "name": "Filter (Messages mentioning bot)",
      "type": "n8n-nodes-base.filter",
      "position": [
        1100,
        -100
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b311bcf3-61d1-4f0d-b9d4-6a27677c6fdf",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1300,
        -280
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5d0776bf-8839-4a4f-8dc3-3eeece5c804b",
      "name": "Clean Message",
      "type": "n8n-nodes-base.code",
      "position": [
        1320,
        -460
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7c1ad828-6761-4b9d-b7bc-4a7db8bda84b",
      "name": "Remove Duplicates",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        560,
        -380
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "46003126-7984-4dbd-b832-4dc5900c58fe",
      "name": "Remove Duplicates1",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        840,
        -380
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "782f035d-9932-48c7-89c0-ab452f90c2b1",
      "name": "It",
      "type": "n8n-nodes-base.discord",
      "position": [
        1300,
        -80
      ],
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "3e20d696-8307-4ed8-a583-75390da1f572",
  "connections": {
    "It": {
      "main": [
        []
      ]
    },
    "Discord1": {
      "main": [
        [
          {
            "node": "Remove Duplicates1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Values": {
      "main": [
        [
          {
            "node": "Get All Servers' Channels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "It",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Message": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get last message": {
      "main": [
        [
          {
            "node": "Remove Duplicates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Set Values",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove Duplicates": {
      "main": [
        [
          {
            "node": "Filter (Remove Old)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove Duplicates1": {
      "main": [
        [
          {
            "node": "Filter (Messages with mentions)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter (Remove Old)": {
      "main": [
        [
          {
            "node": "Discord1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter (Remove empty)": {
      "main": [
        [
          {
            "node": "Get last message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter (Authorized User)": {
      "main": [
        [
          {
            "node": "Clean Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Servers' Channels": {
      "main": [
        [
          {
            "node": "Filter (Remove empty)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter (Messages with mentions)": {
      "main": [
        [
          {
            "node": "Filter (Messages mentioning bot)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter (Messages mentioning bot)": {
      "main": [
        [
          {
            "node": "Filter (Authorized User)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

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

Source: https://n8n.io/workflows/4264/ — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

Get notified when the International Space Station passes over your location - but only when you can actually see it! This workflow combines real-time ISS tracking with weather condition checks to send

HTTP Request, OpenAI Chat, Chain Llm +5
Slack & Telegram

This advanced n8n workflow is designed for SEO specialists, digital agency owners, webmasters, and marketing managers who need a comprehensive, automated solution to track and improve their website's

Google Sheets Tool, Telegram Trigger, Telegram +9
Slack & Telegram

This n8n workflow is designed for SEO managers, content creators, and blog administrators who want to automate their blog publishing pipeline. The workflow creates an end-to-end AI-powered system that

Output Parser Autofixing, OpenAI Chat, Webflow Tool +11
Slack & Telegram

Automatically fetch, curate, and distribute Reddit content digests using AI-powered filtering. This workflow monitors multiple subreddits, ranks posts by relevance, removes spam and duplicates, then d

HTTP Request, Agent, Google Gemini Chat +3
Slack & Telegram

This n8n workflow, BlogBlitz, automates the creation and publishing of SEO-optimized blog posts for WordPress, saving you hours of content creation time. Triggered via Telegram or a scheduled interval

Chain Llm, Output Parser Structured, WordPress +7