Discord

Last updated:

For message formatting instructions, see this dedicated page.

1. Create an incoming webhook in Discord

  1. Navigate to the channel where you want to add the webhook and select the 'Edit Channel' option from left navigation pane.
  2. Select the 'Integrations' option from the left navigation pane.
  3. If creating a webhook for the first time, click the "Create Webhook" button.
  4. If you have other webhooks, click "View Webhooks" and now click "New Webhook".
  5. Give the webhook any name you prefer (say PostHog).
  6. Select the channel where the message should be posted from the drop-down.
  7. Click the "Copy Webhook URL" button to copy the webhook URL into the clipboard.

It would look something like this.

Discord Webhook setup

For more information see the Discord webhook docs.

2. Setup webhook in PostHog

  1. Copy the Webhook URL into the PostHog Setup page:

    PostHog add webhook

  2. Click "Test & Save" and you should receive a message on Discord.

3. Add to action

For each Action that should be posted to Discord, select "Post to webhook when this action is triggered":

PostHog edit action

4. Celebrate

Questions?

Was this page useful?

Next article

Architecture

The following pages in this section cover Data model , Ingestion pipeline , ClickHouse and Querying data . This document gives an overview of the general architecture. How our cloud or a deployed PostHog Helm chart works on Kubernetes. Zooming right out There are only a few systems to consider. A Website and API is presented for users. An API for Client Apps. A plugin service for processing events on ingestion. And a worker service for processing events in response to triggers (e.g…

Read next article