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
- In PostHog, click the "Data pipeline" tab in the left sidebar.
- Click the 'Destinations' tab.
- Search for 'Knock' and select the destination.
- Add your Knock.app webhook destination URL at the configuration step.
- Press 'Create & Enable' and watch your 'Audience' list get populated in Knock!
Configuration
Option | Description |
---|---|
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.