Linking Pipedrive as a source

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Contents

The Pipedrive connector syncs your CRM data – deals, deal products, deal history, persons, organizations, products, pipelines, stages, activities, notes, leads, users, field metadata, mailbox data, and projects – into PostHog.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.

  2. Click + New source and then click Link next to Pipedrive.

  3. Enter your Company domain. This is the subdomain of your Pipedrive account URL. For example, if your Pipedrive URL is https://mycompany.pipedrive.com, enter mycompany. You can also paste the full URL – PostHog normalizes it automatically.

  4. Next, you need an API token from Pipedrive. In your Pipedrive account, go to Settings > Personal preferences > API. Copy your personal API token. The token inherits your user's permissions, so make sure your user can access the data you want to sync.

  5. Back in PostHog, paste the API token in the API token field and click Next.

  6. Select the tables you want to sync, set the sync frequency, then click Import.

Once the syncs are complete, you can start using Pipedrive data in PostHog.

Available tables

TableDescriptionSync method
dealsSales deals in your Pipedrive accountFull refresh
personsContact personsFull refresh
organizationsOrganizations linked to deals and personsFull refresh
productsProducts available in your catalogFull refresh
pipelinesSales pipelinesFull refresh
stagesStages within pipelinesFull refresh
activitiesActivities like calls, meetings, and tasksFull refresh
activity_typesActivity types like call, meeting, and emailFull refresh
notesNotes attached to deals, persons, or organizationsFull refresh
leadsSales leadsFull refresh
lead_labelsLabels for categorizing leadsFull refresh
usersUsers in your Pipedrive accountFull refresh
deal_fieldsCustom field definitions for dealsFull refresh
deal_changelogPer-field deal history including stage movesFull refresh
deal_productsProduct line items attached to dealsFull refresh
person_fieldsCustom field definitions for personsFull refresh
organization_fieldsCustom field definitions for organizationsFull refresh
archived_dealsArchived sales deals (excluded from the deals table)Full refresh
mail_threadsEmail threads synced to the Pipedrive mailboxFull refresh
mail_messagesIndividual email messages within threadsFull refresh
projectsProjects in Pipedrive ProjectsFull refresh
archived_projectsArchived projects (excluded from the projects table)Full refresh
project_tasksTasks within projectsFull refresh
project_boardsProject boards that organize projects into phasesFull refresh
project_phasesPhases (columns) on project boardsFull refresh

Full refresh tables reload all data on each sync.

Configuration

OptionDescription
Company domain
Type: text
Required: True

Enter just your Pipedrive subdomain, not a full URL. For acme.pipedrive.com, enter acme.

API token
Type: password
Required: True

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
deals

A sales deal (opportunity) tracked in Pipedrive, with its value, stage, and status.

Webhook, Full refresh——
archived_deals

An archived sales deal in Pipedrive. The deals table leaves these out.

Full refresh——
persons

A contact person stored in Pipedrive, with their contact details and links to deals.

Webhook, Full refresh——
organizations

A company or organization stored in Pipedrive, grouping its people and deals.

Webhook, Full refresh——
products

A product or service that can be attached to deals in Pipedrive.

Webhook, Full refresh——
pipelines

A sales pipeline — an ordered set of stages deals move through.

Webhook, Full refresh——
stages

A stage within a pipeline that deals progress through.

Webhook, Full refresh——
notes

A free-text note attached to a deal, person, or organization in Pipedrive.

Full refresh——
leads

An inbound lead in Pipedrive that has not yet been converted into a deal.

Full refresh——
users

A user (team member) of the Pipedrive account.

Full refresh——
deal_fields

A field definition (standard or custom) available on deals in Pipedrive.

Full refresh——
person_fields

A field definition (standard or custom) available on persons in Pipedrive.

Full refresh——
organization_fields

A field definition (standard or custom) available on organizations in Pipedrive.

Full refresh——
lead_labels

A label that can be attached to leads in Pipedrive. Resolves the label IDs stored on each lead.

Full refresh——
activity_types

An activity type (such as call, meeting, or email) configured in Pipedrive. Resolves the type key on each activity.

Full refresh——
deal_products

A product line item attached to a deal in Pipedrive, with its quantity, price, discount, and tax.

Full refresh——
deal_changelog

A change to a field value on a deal in Pipedrive, such as a stage move. One row per field change.

Full refresh——
mail_threads

An email conversation synced to Pipedrive's mailbox, which can be linked to a deal or lead. One row per thread across the inbox, sent, archive, and drafts folders.

Full refresh——
mail_messages

A single email message in a Pipedrive mail thread. Message bodies are not included.

Full refresh——
projects

A project in Pipedrive Projects, usually delivery work that follows a won deal. Archived projects are in the archived_projects table.

Full refresh——
archived_projects

An archived project in Pipedrive Projects. The projects table leaves these out.

Full refresh——
project_tasks

A task inside a Pipedrive project.

Full refresh——
project_boards

A board in Pipedrive Projects. Resolves the board_id on projects and project phases.

Full refresh——
project_phases

A phase (column) on a Pipedrive project board. Resolves the phase_id on projects.

Full refresh——
activities

A scheduled or logged activity (call, meeting, task, email) linked to deals or contacts.

Webhook, Full refresh——

Still have questions?

Was this page useful?