Pipedrive
Stream Pipedrive deals, contacts, activities, products, fields, projects and account metadata into Kafka topics with an admin's API token.
The Pipedrive source reads objects from one Pipedrive company and writes each resource you select to its own topic, source_<id>.pipedrive.<resource>.
Prerequisites
- A Pipedrive user with administrator access to the company.
- That administrator’s personal API token. Streamkap reads only the records visible to the user who owns the token, so Test connection refuses a non-admin token rather than silently syncing a partial view. An item whose visibility hides it even from administrators is not synced.
- The Pipedrive plan or add-on required by any gated resource you select. See Supported Resources.
Streamkap only reads. It never creates, updates or deletes anything in Pipedrive.
Pipedrive Setup
1. Open the API Page
Sign in to Pipedrive as an administrator, then open Personal preferences → API. You can also open Pipedrive’s API settings directly.
2. Copy the API Token
Copy the full token from Your personal API token. The token belongs to this user and company.
Streamkap Setup
1. Create the Source
- Navigate to Add Connectors.
- Choose Pipedrive.
2. Auth Tab
- Source name: A unique name for this source, for example
pipedrive-sales. - API token: The personal API token copied from a Pipedrive administrator.
Test connection checks the token, the company and the connected user’s admin access. It then reads one row from each selected resource. Testing all 41 resources can spend about 660 Pipedrive API tokens. See API Budget.
Click Next after the test passes.
3. Settings Tab
- Resources: The Pipedrive objects to sync. Sixteen common resources are selected initially:
deals,archived_deals,persons,organizations,activities,products,pipelines,stages,notes,leads,users,deal_fields,person_fields,organization_fields,product_fieldsandactivity_fields. Add a preset offers Sales pipeline (deals,archived_deals,persons,organizations,activities,pipelines,stages,deal_fields,person_fieldsandorganization_fields) and Everything every plan serves: every resource without a plan, add-on, admin or mailbox requirement, and withoutdeal_flowanddeal_mail_messages. - Backfill start date: See Backfill start date. All historical data also reads legacy deals, persons, organizations, activities and products whose
update_timeis empty. If you set a date, Pipedrive cannot select those legacy objects, so they are omitted until an edit gives them an update time.
4. Review and Create
Click Create. Streamkap checks the token and the selected resources again before saving. One source is allowed per Pipedrive company; see One source per vendor account.
Send the topics to a destination after creation. See Send topics to a destination.
Supported Resources
There are 41 resources. Every record contains the fields Pipedrive returns by default, plus a few optional ones such as first_won_time and smart_bcc_email on deals. Optional counters such as products_count are not included. Nested values, including custom_fields, email and phone arrays, addresses, attendees and field options, arrive as JSON text.
| Resource | How it is read | Deleted downstream | Requirement |
|---|---|---|---|
deals |
Changed deals, not archived | Yes, in order | |
archived_deals |
Changed archived deals, hourly | Yes, in order, and by daily reconciliation | |
persons |
Changed persons | Yes, by daily reconciliation | |
organizations |
Changed organizations | Yes, by daily reconciliation | |
activities |
Changed activities | Yes, by daily reconciliation | |
products |
Changed products | Yes, by daily reconciliation | |
pipelines |
Complete list, hourly | Yes, after a complete read | |
stages |
Complete list, hourly | Yes, after a complete read | |
notes |
Changed notes | Yes, by daily reconciliation | |
leads |
Changed leads, not archived | Yes, by daily reconciliation | |
archived_leads |
Complete archived list, hourly, keeping changed leads | Yes, by daily reconciliation | |
users |
Complete list every six hours | Yes, after a complete read | |
files |
Changed files, newest first | Yes, by daily reconciliation | |
filters |
Complete list | Yes, after a complete read | |
activity_types |
Complete list | Yes, after a complete read | |
currencies |
Complete list | Yes, after a complete read | |
lead_labels |
Complete list | Yes, after a complete read | |
lead_sources |
Complete list | Yes, after a complete read | |
roles |
Complete list | Yes, after a complete read | |
permission_sets |
Complete list | Yes, after a complete read | Admin |
permission_set_assignments |
Complete list per permission set | Yes, after a complete read | Admin |
goals |
Complete list across assignee types | Yes, after a complete read | Availability depends on plan |
legacy_teams |
Complete list | Yes, after a complete read | Legacy Teams feature |
legacy_team_users |
Complete list per team | Yes, after a complete read | Legacy Teams feature |
call_logs |
Complete list | Yes, after a complete read | Connected user’s call log |
mail_threads |
Complete list across mailbox folders | Yes, after a complete read | Connected user’s mailbox |
mail_messages |
Complete list per changed thread | No | Connected user’s mailbox |
deal_fields |
Complete list every six hours | Yes, after a complete read | |
person_fields |
Complete list every six hours | Yes, after a complete read | |
organization_fields |
Complete list every six hours | Yes, after a complete read | |
product_fields |
Complete list every six hours | Yes, after a complete read | |
activity_fields |
Complete list every six hours | Yes, after a complete read | |
deal_products |
Up to 100 changed deals per request | Yes, by daily reconciliation | |
deal_installments |
Up to 100 changed deals per request | No | Growth or higher |
deal_flow |
Complete change log per changed deal | No | High API cost |
deal_participants |
Complete list per changed deal | Yes, from the deal’s participant change log | |
deal_followers |
Complete list per changed deal | Yes, from the deal’s follower change log | |
deal_mail_messages |
Complete list per changed deal | No | Not selected by default |
product_variations |
Complete list per changed product | No | |
projects |
Complete active and archived lists | Yes, after a complete read | Projects add-on |
tasks |
Complete list | Yes, after a complete read | Projects add-on |
deals contains only deals that are not archived. To query every deal, union deals and archived_deals. The same split applies to leads and archived_leads.
The five *_fields resources describe the account-specific fields inside custom_fields, including field names, types and options. Custom field values remain under their Pipedrive field-code keys, so adding a custom field does not change the table schema. Pipedrive returns lead custom fields as separate top-level keys; Streamkap moves them, with their _currency, _until and address-part keys, into the lead’s custom_fields too.
Child Resources
Child resources list their own parents; the parent resource does not need to be selected. A child row carries its parent id and is re-sent under the same key when its parent changes.
Pipedrive does not confirm that editing a deal product, participant or follower updates the deal’s update_time. Streamkap refreshes deal_products weekly to recover product-line edits. For deal_participants and deal_followers, a child-only edit, including a removal, can remain stale until the deal itself changes.
deal_participants rows are keyed by deal and person: id is <deal_id>|<person_id>, and participant_id holds Pipedrive’s participation id. deal_followers rows are keyed <deal_id>|<user_id>.
deal_mail_messages lists the emails linked to each changed deal across the company, read with the administrator’s token. Emails a user keeps private in their own mailbox are excluded. Message bodies are not included; body_url points to each body.
Children are read only for deals Pipedrive lists as changed since the last read. A legacy deal whose update_time is empty is never listed that way, whatever the backfill start date, so its children are first read after the deal is edited. Children of archived deals are read in the first backfill; after that only deal_products is refreshed for them, weekly.
Behavior & Limits
Incremental Reads
Streamkap reads changed core objects in ascending update_time order and re-reads the previous five minutes. Destinations should upsert on id, because an unchanged row can be delivered again inside this lookback.
Pipedrive’s older endpoints do not all provide stable cursor pagination. Streamkap re-anchors those reads at the last update time so a record edited while pages are being read moves to its new position instead of being skipped.
Every row carries streamkap_changed_at, the timestamp Streamkap uses for its incremental position. Timestamps without an offset on Pipedrive’s older endpoints are interpreted as UTC.
Deletes
- Deals and archived deals: Pipedrive lists a deleted deal for 30 days. Its tombstone arrives in update order on the next poll, and the daily id comparison below also covers them.
- Persons, organizations, activities, products, notes, files, leads, archived leads and deal products: Streamkap compares their ids once a day and confirms every missing id with Pipedrive before deleting it downstream. A delete can therefore arrive up to a day late.
- Complete-list resources: a row missing from a successful complete read is deleted after that read.
- Deal participants and deal followers: when a deal changes, Streamkap reads its participant or follower change log and deletes downstream every member the log names who is no longer on the deal.
- Deal installments, deal flow, deal mail messages, product variations and mail messages: removals are not tombstoned. Join them to their parent to exclude rows whose parent no longer exists.
If the source is paused or failing for more than 30 days, Pipedrive can permanently purge a deleted object before Streamkap observes it in the deals feed. Daily reconciliation still removes reconciled resources after the source resumes, but resources without delete coverage retain their old rows.
See Deletes for how tombstones reach destinations.
API Budget
Pipedrive charges API tokens, shared across every user and integration in the company. The daily budget is 30,000 × plan multiplier × seats, plus any API token top-ups you bought: Lite 1, Growth 2, Premium 5 and Ultimate 7. Pipedrive emails company administrators when usage reaches 75% and 100%.
The default 16-resource selection uses about 10,700 tokens a day on an idle small account: 36% of a one-seat Lite company’s 30,000-token budget, 18% with two Lite seats, or 3.6% of a five-seat Growth company’s 300,000-token budget. More rows require more pages.
Optional resources add their own cost:
- All six deal-child resources add about 2,880 tokens a day before changed-child reads. Per changed deal,
deal_flowcosts 40 tokens,deal_mail_messages20, anddeal_participantsanddeal_followers20 each including their change log; 1,000 changed deals withdeal_flowadd about 40,000 tokens. archived_leadsreads the whole archived list every hour: about 960 tokens a day for each 500 archived leads.mail_threadsandmail_messageseach add about 1,920 tokens a day on an idle mailbox.- A v2 backfill costs about 10 tokens per 500 rows. Older v1 lists generally cost 20 tokens per page.
- When a row is missing from
roles,call_logs,mail_threadsorpermission_set_assignments, the list is read once more before the row is deleted, because those lists page by position and a concurrent delete can shift a live row past a page boundary. - Testing all 41 resources costs about 660 tokens.
The connector sends one request at a time, at no more than two a second, slower if the token’s burst limit is smaller. Streamkap stops reading once the company has used 80% of its daily budget, leaving the rest to your other integrations. The source then reads Throttled and checks again each hour until Pipedrive resets the budget, at midnight in Pipedrive’s server time zone. A short burst limit is waited out automatically. Cloudflare’s temporary refusal after repeated throttles pauses requests for 15 minutes instead of marking a resource as forbidden; Test connection reports it as a rate limit to retry later.
Per-Resource Failures
A missing plan feature or permission pauses only the affected resource. Its status names what it needs and the rest keep syncing. A rejected token or closed company account affects the whole source. See Connector status.
Editing the Source
- Replace a regenerated token: open the Auth tab, click Replace, paste the new admin token and save. The source continues from its saved positions. A token for another company starts the source again from the backfill start date.
- Add a gated resource: enable its Pipedrive feature or add-on first, select it, then run Test access before saving.
- Change the backfill start date: it applies only to a new or reset read. Use Reset when you need to reread history.
Troubleshooting
"Pipedrive rejected the API token"
The token is mistyped or was invalidated when its owner regenerated it.
Resolution: Sign in as a Pipedrive administrator, open Personal preferences → API, copy the current token, replace the source’s API token, and save.
Pipedrive says the token's user is not an admin
A personal token sees only what its owner may see. Syncing with this token would silently omit records outside that user’s visibility.
Resolution: Replace it with the personal API token of a Pipedrive administrator.
"The Pipedrive company account is not open" or "Pipedrive says the company account is not open"
The company’s trial ended or its billing is incomplete.
Resolution: Reactivate the company in Pipedrive’s billing settings, then test or save the source again.
A resource needs a plan or add-on
The resource status names the missing feature, such as Growth for installments or the Projects add-on.
Resolution: Add the named feature to the Pipedrive plan, or deselect the resource.
Pipedrive refused a resource to the token's user
Test connection accepted the token as an administrator’s, so the user has since lost the admin role or access to that object or mailbox.
Resolution: In Pipedrive, check that the token’s user is still an administrator with access to the resource, or deselect it.
Pipedrive would not take Streamkap's request
Pipedrive refused the request itself, which no plan or permission change fixes.
Resolution: Deselect the resource, or contact Streamkap support.
The source is Throttled
The company used 80% of its daily API token budget, hit its short burst limit, or Pipedrive temporarily refused repeated requests.
Resolution: No action is required for a short throttle. For repeated daily exhaustion, deselect costly resources such as deal_flow, reduce other Pipedrive API traffic, or increase the company’s plan or seats. The source resumes when Pipedrive allows requests again.
An archived deal is missing
deals excludes archived deals.
Resolution: Select archived_deals and union the two topics in the destination.
A legacy record or its children are missing after a dated backfill
Some old Pipedrive rows have no update_time, so Pipedrive cannot select them from a date. Children of such a deal are never read until the deal changes.
Resolution: For a missing record, reset with All historical data, or edit it in Pipedrive so it receives an update time. For missing children, edit the parent deal in Pipedrive.
A removed participant or follower is still in the destination
Streamkap deletes a removed participant or follower when it next reads the deal, which happens only after the deal changes. Pipedrive does not confirm that removing one changes the deal. Rows of a deleted deal stay too.
Resolution: Edit the deal in Pipedrive to have the removal read. For a deleted deal, join the child topic to deals and filter rows whose parent is gone.
Related Documentation
- API sources - how API sources poll, test access, handle deletes and deliver to a destination