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? Ask Max AI.

It's easier than reading through 564 docs articles.

Community questions

Was this page useful?

Next article

Send SMS messages using Twilio from analytics events

You can use your PostHog event data to send SMS messages via Twilio. Here's everything you need to get started. Configuring Twilio First, you'll need to create a Twilio account if you don't have one already. Then, gather the following credentials from your Twilio dashboard: Account SID : Found on your Twilio Console Dashboard Auth Token : Found on your Twilio Console Dashboard From Phone Number : This is the Twilio phone number you'll be sending messages from. You can find or purchase one in…

Read next article