Zendesk

Last updated:

|Edit this page

Import new and historic ticket events to PostHog. However, only the Date Type User Field is currently supported.

Requirements

This requires either PostHog Cloud, or a self-hosted PostHog instance running version 1.30.0 or later.

Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!

You'll also need a Zendesk account, with admin access.

Limitations

The Zendesk API has a limit of 400 hits/min. If you have higher ingestion than that, please contact Zendesk.

Installation

Make sure to use your Zendesk Admin Account to perform the below activities.

  • Head Over to Zendesk's Admin section -> Settings -> Account.
  • In the Branding section, scroll down to Subdomain and find your subdomain there.
  • Head to the Admin Section -> Channels -> API.
  • In Settings, follow the below steps:
    • Turn On Token Access.
    • Click on Add API Token.
    • Give it some name like PostHog.
    • Copy the Token(You won't be able to see it later).
    • Save the Token.

Next, Head to the Admin section -> Manage -> User Fields. Click Add Fields and follow the steps below.

  • Give Name
  • Select Type Date.
  • Add field key, (you will be required to share this key in PostHog while setting up)
  • Click Save.

Configuration

NameTypeRequiredHint
Host namestringtrueThe subdomain name you chose when setting up your account, e.g., mycompany in mycompany.zendesk.com.
Host EmailstringtrueThe email for the admin of your Zendesk account.
API tokenstringtrueYour Zendesk API Token.
Triggering eventsstringtrueComma-separated list of PostHog events to trigger profile updates in Zendesk, e.g. 'pageview,track'.
Email domains to skipstringfalseComma-separated list of email domains to exclude from updates in Zendesk.

FAQ

Is the source code for this app available?

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

Who created this app?

This app was created by the community. We'd like to thank Sandeep Guptan and Himanshu Garg for creating this, as well as for all the other support and feedback. Thank you, both!

Who maintains this app?

This app is maintained by the community. If you have issues with the app not functioning as intended, please let us know!

What if I have feedback on this app?

We love feature requests and feedback! Please tell us what you think! to tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum, or drop us a message.

Questions?

Was this page useful?

Next article

Using PostHog with a CDP

What is a CDP? A CDP is a Customer Data Platform. It is a platform that allows you to collect, and send customer data to other tools like product analytics (PostHog!), marketing automation tools, your CRM, data warehouses etc. The most common CDPs are Segment and RudderStack , both of which work with PostHog. If you already have a Customer Data Platforms (CDP) setup or are thinking of using one this guide will help you decide how to integrate with PostHog. Which PostHog CDP setup should I use…

Read next article