Send PostHog event data to Knock

Last updated:

|Edit this page

Requirements

Using this requires either PostHog Cloud with the data pipelines add-on, or a self-hosted PostHog instance running a recent version of the Docker image.

You'll also need access to the relevant Knock account.

Installation

  1. In PostHog, click the "Data pipeline" tab in the left sidebar.
  2. Click the 'Destinations' tab.
  3. Search for 'Knock' and select the destination.
  4. Add your Knock.app webhook destination URL at the configuration step.
  5. Press 'Create & Enable' and watch your 'Audience' list get populated in Knock!

Configuration

OptionDescription
Knock.app webhook destination URL
Type: string
Required: True
User ID
Type: string
Required: True
You can choose to fill this from an email property or an id property. If the value is empty nothing will be sent. See here for more information: https://docs.gleap.io/server/rest-api
Include all properties as attributes
Type: boolean
Required: True
If set, all event properties will be included as attributes. Individual attributes can be overridden below.
Attribute mapping
Type: dictionary
Required: False
Map of Knock.app attributes and their values. You can use the filters section to filter out unwanted events.

FAQ

Is the source code for this destination available?

PostHog is open-source and so are all the destination on the platform. The source code is available on GitHub.

Who maintains this?

This is maintained by PostHog. If you have issues with it not functioning as intended, please let us know!

What if I have feedback on this destination?

We love feature requests and feedback. Please tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum.

Questions?

Was this page useful?

Next article

Send PostHog person data to Loops

You'll also need access to the relevant Loops account. Installation In PostHog, click the " Data pipeline " tab in the left sidebar. Click the 'Destinations' tab. Search for 'Loops' and select the destination. Add your Loops API Key at the configuration step. Press 'Create & Enable' and watch your 'Audience' list get populated in Loops! Configuration FAQ Is the source code for this destination available? PostHog is open-source and so are all the destination on the platform. The source code is…

Read next article