Pipedrive

Connect & Ingest data from Pipedrive

Pipedrive is a customer relationship management (CRM) platform designed for sales teams. The Sling Pipedrive connector extracts data from the Pipedrive REST API, supporting deals, contacts (persons), organizations, activities, leads, products, and pipeline configuration data.

circle-check

Setup

The following credentials are accepted:

Secrets:

  • api_token (required) -> Your Pipedrive API Token

  • domain (required) -> Your Pipedrive company domain

Inputs:

  • anchor_date (optional) -> The starting date for historical data extraction (default: 1 year ago). Format: YYYY-MM-DD

Getting Your API Token and Domain

  1. Go to Settings (gear icon in bottom left) > Personal Preferences

  2. Go to the API tab

  3. Copy your API token (a long alphanumeric string)

  4. Your domain is the subdomain in your Pipedrive URL (e.g., if your URL is https://mycompany.pipedrive.com, your domain is mycompany)

circle-exclamation

Using sling conns

Here are examples of setting a connection named PIPEDRIVE. We must provide the type=api property:

Environment Variable

Sling Env File YAML

See here to learn more about the sling env.yaml file.

With anchor date for historical data:

Replication

Here's an example replication configuration to sync Pipedrive data to a PostgreSQL database:

Full refresh for reference data:

Sync all endpoints:

Endpoints

Core CRM Objects

Endpoint
Description
Incremental

deals

Sales deals and opportunities

Yes

persons

Contact persons/individuals

Yes

organizations

Companies and organizations

Yes

activities

Tasks, calls, meetings, and emails

Yes

leads

Sales leads

Yes

notes

Notes attached to deals, persons, and organizations

Yes

Products & Services

Endpoint
Description
Incremental

products

Products in your catalog

Yes

files

File attachments and metadata

Yes

Pipeline Configuration

Endpoint
Description
Incremental

pipelines

Sales pipelines

No

stages

Pipeline stages

No

Users & Access

Endpoint
Description
Incremental

users

Pipedrive users/team members

No

Field Definitions

Endpoint
Description
Incremental

deal_fields

Custom field definitions for deals

No

person_fields

Custom field definitions for persons

No

organization_fields

Custom field definitions for organizations

No

Reference Data

Endpoint
Description
Incremental

activity_types

Activity type definitions (call, meeting, task, etc.)

No

lead_labels

Lead label/status definitions

No

filters

Saved filter definitions

No

currencies

Supported currencies for deals

No

To discover available endpoints:

Incremental Sync

The Pipedrive connector uses time-based incremental sync for supported endpoints:

  • First run: Fetches records modified from anchor_date (default: 1 year ago) to present

  • Subsequent runs: Only fetches records modified after the last sync

Incremental sync is supported for core CRM objects:

  • Deals

  • Persons

  • Organizations

  • Activities

  • Leads

  • Notes

  • Products

  • Files

Reference data endpoints (pipelines, stages, users, activity_types, lead_labels, filters, currencies) do not support incremental sync and should be run in full-refresh mode.

Update Tracking

Each endpoint tracks updates via:

  • update_time — Last modification timestamp (used for incremental sync)

  • add_time — Creation timestamp

  • owner_id — User ID of the record owner

Rate Limiting

The Pipedrive API enforces rate limits based on your subscription plan:

  • Free plan: 1 request per second

  • Paid plans: 2 requests per second (or higher depending on plan)

  • Burst limit: Up to 10 requests per second for short periods

The connector automatically:

  • Uses conservative rate limiting (2 requests/second)

  • Implements backoff on rate limit responses

  • Retries with exponential backoff on 429 (rate limit) errors

Common Use Cases

Sync Core Sales Data

Sync Leads Pipeline

Sync Pipeline Configuration

Full Data Export

Custom Fields

Pipedrive supports custom fields on deals, persons, and organizations. Custom field values are included in the base endpoint responses with keys like [field_id]_value or custom field names if configured.

The *_fields endpoints return metadata including field names, types (text, numeric, date, etc.), and whether they are required.

Known Limitations

  1. Deleted records: Pipedrive does not provide a way to fetch deleted records via the API. For full reconciliation, periodic full-refresh syncs are recommended.

  2. Large datasets: If you have very large numbers of deals or persons (100K+), consider using the anchor_date input to backfill data gradually over time.

  3. Custom fields: Custom field names and IDs are available in the *_fields endpoints, but the actual field structure may vary by workspace configuration.

  4. Associations: Pipedrive does not expose a dedicated endpoint for deal-person or deal-organization relationships. These are managed through linked_persons_ids and org_id fields in the deals endpoint.

Common Issues

Issue: "Authentication failed" or "Invalid API token"

  • Solution: Verify the API token is correct and the associated user account is active. Check that your domain is correct (e.g., mycompany not https://mycompany.pipedrive.com).

Issue: "Custom field values are null"

  • Solution: Custom fields are returned with numeric keys. Check the deal_fields, person_fields, or organization_fields endpoints to map field IDs to names.

Issue: "Rate limit errors (429 status)"

  • Solution: The connector automatically retries with backoff. If errors persist, reduce the concurrency setting in your replication configuration or upgrade your Pipedrive plan for higher rate limits.

If you are facing issues connecting, please reach out to us at [email protected]envelope, on discordarrow-up-right or open a Github Issue herearrow-up-right.

Last updated

Was this helpful?