Loads data from the Clearbit API and tracks an additional event with the enriched data if found. Once enriched, the person will not be enriched again.
Configuration
Option | Description |
---|---|
Clearbit API Key Type: string Required: True | |
Email of the user Type: string Required: True | Where to find the email for the user to be checked with Clearbit |
Using our REST API you can create this destination like so:
Terminal
# Create a new destinationcurl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \--data '{"type": "destination","name": "Clearbit","inputs": {"api_key": {"value": ""},"email": {"value": ""}},"enabled": true,"template_id": "template-clearbit"}'