Create and update Attio CRM contacts from analytics events

You can use your PostHog event data to create and update contacts in Attio. Here's everything you need to get started.

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.

Configuring Attio

First, create a new access token in your Attio workspace. You’ll need to set read-write on the Records and Object Configuration scopes so that PostHog can communicate with Attio.

Attio scopes

Close the scopes section and copy your new access token for the next step.

Configuring PostHog’s Attio destination

  1. In PostHog, click the Data pipeline tab in the left sidebar.
  2. Click the Destinations tab.
  3. Click New destination and choose Attio's Create button.

Paste in your access token and then add any other values you want to pipe from PostHog person properties into Attio, using additional person attributes.

Filtering

At a minimum, you should filter to only send events that have an email property set, as Attio will use this to identify contacts.

Filtering events

Testing

Once you’ve configured your Attio destination, click Start testing to verify everything works the way you want. Switch off Mock out async functions in order to send a test event to Attio and see a new record.


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.

Community questions

Was this page useful?

Questions about this page? or post a community question.