Send PostHog person data to Sendgrid

Last updated:

|Edit this page

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

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

Configuration

OptionDescription
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.

Questions?

Was this page useful?

Next article

Send PostHog conversion events to TikTok Ads

You'll also need access to the relevant TikTok Ads account. Installation In PostHog, click the Data pipeline tab in the left sidebar. Click the Destinations tab. Search for TikTok Ads Conversions and select the destination. Visit the TikTok Events Manager . If you’ve already set up a Pixel for your website, we recommend that you use the same Pixel for your browser and server events. To create a new Pixel, click Connect data source and select Web . Skip the Add your website step. For…

Read next article