Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Expand Webhooks functionality#384

Hi @Daniel from Nolt !

My company plans to move away from Slack and make the switch to Synology Chat (for privacy reasons) this weekend. We heavily rely on Nolts very helpful Slack integration, it makes monitoring our boards very easy and more comfortable.

As there is no current integration for Synology Chat available, I thought I could do the integration on my own, because Nolt already provides Webhooks, which is great.

Sadly I was unable to build the same feature set the Slack notification offers. The webhook payload is missing most necessary information when a new comment is created in an existing thread. I don’t even get the URL of the thread, nor do I get the current upvotes (as both shown in the Slack notification).

Is there any reason, why the webhooks don’t provide the same dataset that Nolt uses for it’s very own integrations? If the feature set would match, that would provide everyone else way more possibilities to integrate Nolt into their own system landscape.

In the help center it states: “You’re only limited by your imagination”. That’s currently not true, as outline above. We’re not limited by our imagination, more by the missing data that is not returned for some hooks. :-)

Best,
Sven

3 years ago

Thanks, Sven. I’ve pulled out the Synology Chat part into a separate post to have only one topic per post: #385.

Other than the post URL and the vote count, is there something else you’d like to see when the “comment.created” webhook event is fired?

3 years ago
1
Changed the title from "Add Synology Chat integration / expand Webhooks functionality" to "Expand Webhooks functionality"
3 years ago
Changed the status to
Completed
3 years ago

Hi @Daniel from Nolt ! I would really like to have the same data that is shown via Slack notification:

  • title
  • message
  • author
  • upvotes
  • id
  • url (but probably not necessary when we have the id)

That way I could build exactly what we use with Slack.

3 years ago

Hey Sven, this should now be possible as the comment.created event now returns more data:

{
  "event": "comment.created",
  "boardId": "9ccecc0d-98e2-4acf-bbc7-beae94deb9d2",
  "triggeredAt": "2021-04-07T19:20:52.005Z",
  "data": {
    "comment": {
      "id": "68a2e0ef-0355-46e1-aaf6-a7b07ed27dff",
      "text": "The quick brown fox jumps over the lazy dog",
      "type": "BASIC",
      "post": {
        "id": "bd6fcf91-2a4a-46c4-a085-611320ec8552",
        "pid": "42",
        "title": "Example post",
        "url": "https://my-example-board.nolt.io/42",
        "upvoteCount": 123,
        "downvoteCount": 0
      },
      "user": {
        "id": "8ec38040-5cea-4f1a-87df-2e676096ddb3",
        "name": "John Doe"
      }
    }
  }
}
3 years ago