Sendgrid

Last updated:

|Edit this page

Send event and emails data from PostHog into Sendgrid whenever a user is identified in PostHog.

Requirements

Using this requires either PostHog Cloud with the data pipeline add-on, or a self-hosted PostHog instance running version 1.30.0 or later.

Self-hosting and not running 1.30.0? Find out how to update your self-hosted PostHog deployment.

You'll also need Sendgrid access, obviously.

Installation

  1. In PostHog, click the "Data pipeline" tab in the left sidebar.
  2. Search for 'Sendgrid' and select the destination, press Install.
  3. Add your Sendgrid API key at the configuration step.
  4. Enable the destination and watch your contacts list get populated in Sendgrid!

Configuration

OptionDescription
Sendgrid API Key
Type: string
Required: True
The key needs PUT access
Custom fields
Type: string
Required: False
Comma separated list of additional properties that will be sent to Sendgrid as custom fields. Optionally, you can define an alternative key for the field in Sendgrid. E.g. myProp1=my_prop1,myProp2=my_prop2

FAQ

Is the source code for this destination available?

PostHog is open-source and so are all destinations on the platform. The source code is available on GitHub.

Who created this destination?

We'd like to thank PostHog team members Yakko Majuri and Marius Andra, as well as and community member Jose Fuentes Castillo for creating this. Thank you, all!

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?