I done a lot of research but infortunately no success:
My project : I have got a WhatsApp business for customers. All my team use our Discord server.
My customer when they need help use WhatsApp. But we forgot sometimes to connect to our WhatsApp business. I succeeded to connect WA to N8N, we receive the message and we can reply.
Now I would like to be able to reply through Discord, easier for us.
To include tweetnacl you would need to make a custom image which could be a bit of a pain, What I use for Discord webhooks is the n8n-nodes-tweetnacl community node which makes life a bit easier and all you need is something like this…
I use {{ $json.headers['x-signature-timestamp'] }}{{ JSON.stringify($json.body) }} for Message and {{ $json.headers["x-signature-ed25519"] }} for Signature so I guess ti could be your Message that needs updating.
I’ve been through the same pain of using n8n as Discord interactions endpoint. Set the NODE_FUNCTION_ALLOW_EXTERNAL environmental variable to include tweetnacl and then follow the instructions that I wrote in my earlier post to verify the integrity of the request. I haven’t been able to successfully use the tweetnacl community node for this specific purpose.