You can also send person properties to custom fields in Sendgrid.
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 Sendgrid account.
Installation
- In PostHog, click the "Data pipeline" tab in the left sidebar.
- Click the 'Destinations' tab.
- Search for 'Sendgrid' and select the destination.
- Add your Sendgrid API Key at the configuration step.
- Press 'Create & Enable' and watch your 'Contacts' list get populated in Sendgrid!
Configuration
Option | Description |
---|---|
Sendgrid API Key Type: string Required: True | See https://app.sendgrid.com/settings/api_keys |
The email of the user Type: string Required: True | |
Reserved fields Type: dictionary Required: True | The following field names are allowed: address_line_1, address_line_2, alternate_emails, anonymous_id, city, country, email, external_id, facebook, first_name, last_name, phone_number_id, postal_code, state_province_region, unique_name, whatsapp. |
Custom fields Type: dictionary Required: False | Configure custom fields in SendGrid before using them here: https://mc.sendgrid.com/custom-fields |
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.