Discord

Contents

PostHog connects to Discord in two ways, depending on where you are:

  • In the web app, data pipelines send messages to a Discord channel when events or actions happen in PostHog.
  • In PostHog Desktop, Rich Presence shows what you're working on in PostHog on your Discord profile.

Event notifications

To post messages to a Discord channel when something happens in PostHog, use the Discord destination in data pipelines. It works with a Discord webhook URL, so you don't need to install anything on the Discord side beyond creating the webhook.

  1. In Discord, open Server SettingsIntegrationsWebhooks, create a webhook for the channel you want, and copy its URL.
  2. In PostHog, go to Data pipelinesDestinations, search for Discord, and click + Create.
  3. Paste the webhook URL, write the message in the Content field using event and person properties, and use Filters to pick which events trigger it.
  4. Click Create & enable.

Common use cases include alerting on errors, announcing new signups, and sharing survey responses with your team. The Discord destination page has the full configuration reference.

Still have questions?

Was this page useful?