Discord, x-signatures, webhooks

Okay, so ive been scouring the internet, forums, videos, workflows, chatGPT, the discord website for walking through webhook events and pings and e-signatures and i can safely say, this has been a labyrinth of nonsense and outdated information.

I installed and am trying to learn n8n for this very purpose of setting up a discord bot that checks for messages in a certain channel(s), which that is the trigger, then will reply with an AI response (or) will determine if a reply is necessary. BUT… i cannot even get that far. the trigger. the current discord triggers DO NOT work, some bugs or something with them i dont know.

to be honest, i dont even know if its the discord trigger that i need, i think it is, it “should” be that. but its not working no matter what i try and ive been at this for at least a week now. I ask… very nearly beg someone to either fix the discord trigger or to help me through how to set this seemingly simple event trigger up. THANK YOU… in advance. n8n seems great. but good lord why does this simple thing need to be so complicated?

Information on your n8n setup

  • **n8n version: 1.70.4
  • **Database (default: SQLite): N/A
  • **n8n EXECUTIONS_PROCESS setting: own
  • **Running n8n via npm, desktop app
  • **Operating system: ubuntu desktop

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:

I did, or, all that i understood of it

what can i do to get some help with this topic? im really genuinely stuck and i could use some help.

Ive discovered a way, posted by JON on a different thread on how to get things working a bit.

HOWEVER… what i need to do now is to make discord post an interaction event when i message a certain channel within discord to trigger the webhook here so that i can then generate a response via AI

NOTE:
The info in the TweetNaCL is below, because i had to do some digging to figure out what to put in those fields
Message
{{ $json.toSign }}
Signature
{{ $json.signature }}

Welcome to the community @Utochi !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


HOWEVER… what i need to do now is to make discord post an interaction event when i message a certain channel within discord to trigger the webhook here so that i can then generate a response via AI

I wonder if have come across this video which seems to address what you are after, https://www.youtube.com/watch?v=NIpr3uwXnrA. Though, it uses community trigger node to react to the messages in the channel (and then process it with AI and sends a response back).

Helo man! Have you ever solved it?

1 Like

No. for discord integration, Node-Red seems to be the only way to go until n8n fixes and FULLY supports it. otherwise its a major and horrible waste of time.

1 Like

wrong. they will only fix it if you’re enterprise

Hey does anybody find a solution to work with discord trigger?

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