How to Trigger n8n Webhook When a User Sends a Support Question in Discord?

Hey everyone! :wave:

I’m currently building a Discord AI bot using n8n that listens to messages in my support channels and responds to user questions automatically.

What I Have Done So Far:

:white_check_mark: Set up a webhook in n8n to receive messages.
:white_check_mark: Created an HTTP POST request to send a test message to my webhook, and it works fine.
:white_check_mark: The AI agent processes the message once it is received.

The Issue:

:x: I’m not sure how to make the webhook trigger automatically when a user sends a support question in my Discord channel.
:x: The bot is in the server, but messages aren’t triggering my n8n workflow when users send them.
:x: I need the webhook to activate only when a user posts in the support channel.
Any guidance or working examples would be greatly appreciated! :raised_hands:

I believe you need a Discord bot.

Workflow:

  1. Discord Bot Reads new messages in channel
  2. Message is forwarded to LLM (AI Agent)
  3. Message is sent to Discord Support