Send data to Salesforce

Last updated:

|Edit this page

This destination connects to your Salesforce instance, sending events from PostHog to Salesforce as they are ingested.

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 Salesforce account.

Installation

  1. In PostHog, click the "Data pipeline" tab in the left sidebar.
  2. Click the 'Destinations' tab.
  3. Search for 'Salesforce' and select the destination.
  4. Connect your Salesforce account at the configuration step.
  5. Press 'Create & Enable' and watch your 'Objects' get populated in Salesforce!

Configuration

OptionDescription
Salesforce account
Type: integration
Required: True
Object path
Type: string
Required: True
The path to the object you want to create.
Include all event properties as attributes
Type: boolean
Required: True
If set, all event properties will be included as attributes. Individual attributes can be overridden below.
Include all person properties as attributes
Type: boolean
Required: True
If set, all person properties will be included as attributes. Individual attributes can be overridden below.
Additional properties
Type: json
Required: True
Additional properties for the Salesforce Object.

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 data to Sendgrid

Send person data from PostHog into Sendgrid. You can also send person properties to custom fields in Sendgrid. 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 FAQ Is the source code…

Read next article