DEV Community

netcell
netcell

Posted on • Originally published at netcell.netlify.com on

3

Webhook notification from Netlify to Discord

Moving from Slack to Discord is a huge pleasure. Sure it lack some functionalities that Slack has to offer, but Discord clients are super fast and smooth and comes with voice chat. At the end of the day, performance is what matters the most.

One of the problem I had to deal with is moving the Netlify notifications from Slack to Discord. Here in this post, I will talk about the process of me figuring it out. However, if you are just looking for a solution just like I was, jump forward to TLDR;.

What I thought

At first, I thought that I only need to create a incoming webhook on Discord to get a webhook url.

Afterward, create a outgoing webhook on Netlify.

Copy the webhook url from Discord and paste into Netlify.

You know what? It doesn’t work!

What’s wrong?

The problem is that the JSON format sent from Netlify isn’t compatible with Discord. After searching around, I found this part inside Discord Developer Documentation.

TLDR;

In Netlify, create a Slack intergration webhook (yeah, Slack), paste your Discord webhook url and append /slack

Have fun :)

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay