Discord dynamic channels handling

Hi everyone,

I need to build an automation that handles Discord support tickets. Here’s the specific setup:

  1. When users create a ticket, it generates a private channel named like “botlobby2-8964189-m102355”
  2. In this channel, a form is submitted with:
  • Order Number (e.g., M102355)
  • Lobbies Purchased (e.g., 1x Bot Lobbies)
  • Activision ID

I need to:

  • Detect when these private channels are created
  • Capture the form submission data
  • Check the order details against a Google Sheet
  • Send a response in the same channel (:white_check_mark: or :x:)

Questions:

  1. Can n8n listen for these dynamic private channel creations?
  2. Can it capture the form submission data?
  3. What’s the best way to send responses back to these specific channels?

Thanks in advance!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Version: 1.72.1
database: default
execution process: default
Running N8N on Hetzner cloud
Operating system: macOS

Hello @Alexandra_Spalato

I’ll break down your questions to make it easier to respond.

  1. Can n8n listen for these dynamic private channel creations?

Not directly. But if you find a way to post to a webhook on channel creating (from within discord), you can capture that event using a webhook trigger and work from there.

Another alternative might be to use the scheduler trigger and the n8n discord node to read all channels and after finding the new ones work from there as well.

Can it capture the form submission data?

Following the same logic as the previous bullet, if you can find a way to post the form submission to a webhook you might not even need to listen to new channels in discord. You can just take that form submission and work from there.

If you’re using forms on that channel, one good alternative would be to use our form trigger node and capture the event directly into n8n.

What’s the best way to send responses back to these specific channels?

After getting the channel name or ID you can post any message directly to those channels using the send message action in the discord node.

Hope this helps!

Hey @gualter, thanks!
I’ve almost finish the workflow
finally it was not dynamic channels but private threads in a channel, and I was planning to schedule it to run every mn (I’m self hosted, so that’s ok) but perhaps a webhook would be better
Now I’m stucked on something else, I need to create a /command
and I create a webhook to listen to commands, but Discord verification process is tricky and fail each time, I generated the code with Claude, but apparently to be done correctly it requires some npm packages…
I still don’t know how to install npm packages (this is something I want to do anyway)
I’m hosting N8N on hetzner server…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.