KoskenDocs Open the app

Discord notifications

Send Kosken events to a Discord channel through a webhook, and read what the messages contain.

2 min readUpdated on Español

On this page
  1. Create a webhook in Discord
  2. Connect the channel in Kosken
  3. Send events to Discord
  4. What a message contains
  5. When the channel shows Broken

After you read this guide, you can send Kosken events to a Discord channel.

Create a webhook in Discord

You need the right to manage webhooks on the Discord server.

  1. In Discord, open the settings of the channel.
  2. Open Integrations, then Webhooks.
  3. Make a new webhook and copy its URL. The address starts with https://discord.com/api/webhooks/.

Connect the channel in Kosken

Only an owner of the workspace can connect a channel.

  1. In the sidebar, select Channels.
  2. Under Add a channel, on Discord, select Connect.
  3. In Name, write a name for the channel, for example Discord ops. Each channel of the workspace needs its own name.
  4. In Discord webhook address, paste the URL of the webhook.
  5. Select Connect.
  6. In Connected channels, select Send test on the new row. The message Test message from Kosken shows in Discord.

Kosken accepts only a webhook address of Discord. It stores the address sealed and does not show it again. To use another webhook, delete the channel and connect it again.

Send events to Discord

A channel gets nothing until a rule sends events to it.

  1. On the Channels page, go to Rules.
  2. Choose the Event and the lowest Severity.
  3. In Channel, choose the Discord channel.
  4. Select Add rule.

See Send an event to a channel or to members.

What a message contains

Each message comes from Kosken as one embed:

  • The title, for example INC-12 opened on web-01. The title links to the page in Kosken.
  • The text of the event.
  • Quoted data, such as the title of the incident or the cause, in code blocks.

A message never mentions people: Kosken turns off @everyone, @here and other mentions. The messages are in English. A Discord message has no approve or reject buttons. To decide an approval, open it in Kosken. See Approvals.

When the channel shows Broken

When Discord answers that the webhook does not exist or refuses it, the channel shows Broken and Kosken stops sending to it. This happens, for example, when someone deletes the webhook in Discord. Make a new webhook, select Delete on the broken row, and connect the channel again.

Something here does not match the app? Tell us