plankanban / planka

The realtime kanban board for workgroups built with React and Redux.

Home Page:https://planka.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webhook features doesn't work with Discord

intersecato opened this issue · comments

commented

I tried using Discord with the latest webhook feature introduced by @HannesOberreiter with PR #771 but it doesn't seem to work. the error it prints is

[E] Webhook failed with status 400 and message: {"message": "Cannot send an empty message", "code": 50006}

Hi! If you specify a Discord address directly, it won't work, you need some kind of layer that receives events from Planka and knows how to send them to a needed service. We haven't tried doing different integrations ourselves yet, as we want to make a release with webhooks first (they are only available in dev image) and maybe after that we can provide some examples. You could also try to use n8n or Zapier as a layer.

As @meltyshev mentioned, the webhook needs to be sent to a service for further manipulation. You can achieve this with no-code services as mentioned or by using a simple serverless function on any major cloud provider.

(We could consider a default message string per action since many services support "message" or "msg" as keys. However, I'm hesitant about sending all the data with each request to any third party).

Cheers
Hannes