Skip to main content

Pipedrive

Prerequisites

  • A Pipedrive account;
  • An API token;
  • A client_id, client_secret, and refresh_token.

Tables in the Pipedrive connector

NoTable NameColumnsPrimary KeysRead ModeInc. Sync KeysAPI Info
1person_fields20Full Refresh, Incrementalupdate_time
2notes20idFull Refresh, Incrementalupdate_timeAPI Reference
3roles8idFull RefreshAPI Reference
4product_fields23idFull Refresh
5filters10idFull Refresh, Incrementalupdate_timeAPI Reference
6users20Full Refresh, IncrementalmodifiedAPI Reference
7deal_products22idFull Refresh
8products18idFull Refresh, Incrementalupdate_timeAPI Reference
9persons43Full Refresh, Incrementalupdate_timeAPI Reference
10organization_fields20Full Refresh, Incrementalupdate_time
11pipelines9Full Refresh, Incrementalupdate_timeAPI Reference
12leads15Full RefreshAPI Reference
13activities63Full Refresh, Incrementalupdate_timeAPI Reference
14activity_types10idFull Refresh, Incrementalupdate_time
15deals57Full Refresh, Incrementalupdate_timeAPI Reference
16organizations46Full Refresh, Incrementalupdate_timeAPI Reference
17permission_sets5idFull Refresh
18stages12Full Refresh, Incrementalupdate_timeAPI Reference
19files31idFull Refresh, Incrementalupdate_timeAPI Reference
20activity_fields20Full Refresh
21lead_labels5idFull Refresh
22deal_fields20Full Refresh, Incrementalupdate_time
23currencies7idFull RefreshAPI Reference

Table: person_fields

NoColumn NameTypeNotes
1bulk_edit_allowedBOOLEAN
2edit_flagBOOLEAN
3add_visible_flagBOOLEAN
4order_nrINTEGER
5active_flagBOOLEAN
6index_visible_flagBOOLEAN
7filtering_allowedBOOLEAN
8mandatory_flagBOOLEAN
9update_timeVARCHARIncremental sync key
10details_visible_flagBOOLEAN
11sortable_flagBOOLEAN
12searchable_flagBOOLEAN
13nameVARCHAR
14optionsVARCHAR
15last_updated_by_user_idINTEGER
16idINTEGER
17field_typeVARCHAR
18add_timeVARCHAR
19keyVARCHAR
20important_flagBOOLEAN

Table: notes

NoColumn NameTypeNotes
1dealVARCHAR
2active_flagBOOLEAN
3last_update_user_idINTEGER
4pinned_to_person_flagBOOLEAN
5contentVARCHAR
6pinned_to_deal_flagBOOLEAN
7leadVARCHAR
8update_timeVARCHARIncremental sync key
9pinned_to_organization_flagBOOLEAN
10user_idINTEGER
11org_idINTEGER
12personVARCHAR
13organizationVARCHAR
14idINTEGERPrimary Key
15pinned_to_lead_flagBOOLEAN
16deal_idINTEGER
17add_timeVARCHAR
18userVARCHAR
19lead_idINTEGER
20person_idINTEGER

Table: roles

NoColumn NameTypeNotes
1levelINTEGER
2nameVARCHAR
3descriptionVARCHAR
4parent_role_idINTEGER
5active_flagBOOLEAN
6idINTEGERPrimary Key
7assignment_countVARCHAR
8sub_role_countVARCHAR

Table: product_fields

NoColumn NameTypeNotes
1bulk_edit_allowedBOOLEAN
2edit_flagBOOLEAN
3add_visible_flagBOOLEAN
4order_nrINTEGER
5linkVARCHAR
6active_flagBOOLEAN
7json_column_flagBOOLEAN
8use_fieldVARCHAR
9index_visible_flagBOOLEAN
10filtering_allowedBOOLEAN
11mandatory_flagBOOLEAN
12update_timeVARCHAR
13details_visible_flagBOOLEAN
14sortable_flagBOOLEAN
15searchable_flagBOOLEAN
16nameVARCHAR
17optionsVARCHAR
18last_updated_by_user_idINTEGER
19idINTEGERPrimary Key
20field_typeVARCHAR
21add_timeVARCHAR
22keyVARCHAR
23important_flagBOOLEAN

Table: filters

NoColumn NameTypeNotes
1update_timeVARCHARIncremental sync key
2custom_view_idINTEGER
3user_idINTEGER
4visible_toVARCHAR
5nameVARCHAR
6active_flagBOOLEAN
7idINTEGERPrimary Key
8temporary_flagVARCHAR
9typeVARCHAR
10add_timeVARCHAR

Table: users

NoColumn NameTypeNotes
1icon_urlVARCHAR
2signup_flow_variationVARCHAR
3is_youBOOLEAN
4last_loginVARCHAR
5createdVARCHAR
6timezone_offsetVARCHAR
7active_flagBOOLEAN
8localeVARCHAR
9is_adminINTEGER
10phoneVARCHAR
11role_idINTEGER
12nameVARCHAR
13timezone_nameVARCHAR
14modifiedVARCHARIncremental sync key
15idINTEGER
16has_created_companyBOOLEAN
17default_currencyVARCHAR
18langINTEGER
19emailVARCHAR
20activatedBOOLEAN

Table: deal_products

NoColumn NameTypeNotes
1sum_formattedVARCHAR
2quantityINTEGER
3commentsVARCHAR
4sum_no_discountINTEGER
5item_priceINTEGER
6order_nrINTEGER
7product_variation_idINTEGER
8sumINTEGER
9active_flagBOOLEAN
10last_editVARCHAR
11taxDOUBLE
12discount_percentageINTEGER
13quantity_formattedVARCHAR
14duration_unitVARCHAR
15enabled_flagBOOLEAN
16durationINTEGER
17product_idINTEGER
18nameVARCHAR
19currencyVARCHAR
20idINTEGERPrimary Key
21deal_idINTEGER
22add_timeVARCHAR

Table: products

NoColumn NameTypeNotes
1codeVARCHAR
2files_countINTEGER
3owner_nameVARCHAR
4owner_idINTEGER
5selectableBOOLEAN
6first_charVARCHAR
7descriptionVARCHAR
8taxINTEGER
9active_flagBOOLEAN
10unitVARCHAR
11update_timeVARCHARIncremental sync key
12visible_toVARCHAR
13followers_countINTEGER
14nameVARCHAR
15idINTEGERPrimary Key
16categoryVARCHAR
17pricesVARCHAR
18add_timeVARCHAR

Table: persons

NoColumn NameTypeNotes
1related_closed_deals_countINTEGER
2email_messages_countINTEGER
3owner_idINTEGER
4open_deals_countINTEGER
5cc_emailVARCHAR
6last_outgoing_mail_timeVARCHAR
7active_flagBOOLEAN
8picture_idVARCHAR
9last_activity_idINTEGER
10next_activity_dateVARCHAR
11update_timeVARCHARIncremental sync key
12participant_open_deals_countINTEGER
13activities_countINTEGER
14idINTEGER
15org_nameVARCHAR
16first_nameVARCHAR
17emailVARCHAR
18won_deals_countINTEGER
19files_countINTEGER
20owner_nameVARCHAR
21company_idINTEGER
22related_won_deals_countINTEGER
23last_incoming_mail_timeVARCHAR
24undone_activities_countINTEGER
25first_charVARCHAR
26closed_deals_countINTEGER
27last_nameVARCHAR
28last_activity_dateVARCHAR
29labelINTEGER
30related_open_deals_countINTEGER
31related_lost_deals_countINTEGER
32next_activity_idINTEGER
33phoneVARCHAR
34visible_toVARCHAR
35org_idINTEGER
36notes_countINTEGER
37followers_countINTEGER
38nameVARCHAR
39participant_closed_deals_countINTEGER
40lost_deals_countINTEGER
41next_activity_timeVARCHAR
42add_timeVARCHAR
43done_activities_countINTEGER

Table: organization_fields

NoColumn NameTypeNotes
1bulk_edit_allowedBOOLEAN
2edit_flagBOOLEAN
3add_visible_flagBOOLEAN
4order_nrINTEGER
5active_flagBOOLEAN
6index_visible_flagBOOLEAN
7filtering_allowedBOOLEAN
8mandatory_flagBOOLEAN
9update_timeVARCHARIncremental sync key
10details_visible_flagBOOLEAN
11sortable_flagBOOLEAN
12searchable_flagBOOLEAN
13nameVARCHAR
14optionsVARCHAR
15last_updated_by_user_idINTEGER
16idINTEGER
17field_typeVARCHAR
18add_timeVARCHAR
19keyVARCHAR
20important_flagBOOLEAN

Table: pipelines

NoColumn NameTypeNotes
1update_timeVARCHARIncremental sync key
2url_titleVARCHAR
3order_nrINTEGER
4nameVARCHAR
5activeBOOLEAN
6deal_probabilityBOOLEAN
7idINTEGER
8add_timeVARCHAR
9selectedBOOLEAN

Table: leads

NoColumn NameTypeNotes
1expected_close_dateVARCHAR
2owner_idINTEGER
3label_idsVARCHAR
4was_seenBOOLEAN
5titleVARCHAR
6next_activity_idINTEGER
7update_timeVARCHAR
8is_archivedBOOLEAN
9organization_idINTEGER
10creator_idINTEGER
11idVARCHAR
12valueVARCHAR
13add_timeVARCHAR
14source_nameVARCHAR
15person_idINTEGER

Table: activities

NoColumn NameTypeNotes
1last_notification_timeVARCHAR
2location_street_numberVARCHAR
3type_nameVARCHAR
4reference_idINTEGER
5public_descriptionVARCHAR
6location_routeVARCHAR
7notification_language_idINTEGER
8subjectVARCHAR
9typeVARCHAR
10google_calendar_etagVARCHAR
11google_calendar_idVARCHAR
12deal_titleVARCHAR
13idINTEGER
14deal_idINTEGER
15gcal_event_idVARCHAR
16location_latDOUBLE
17busy_flagBOOLEAN
18person_idINTEGER
19location_longDOUBLE
20owner_nameVARCHAR
21attendeesVARCHAR
22person_nameVARCHAR
23rec_rule_extensionVARCHAR
24doneBOOLEAN
25created_by_user_idINTEGER
26location_sublocalityVARCHAR
27rec_ruleVARCHAR
28location_admin_area_level_2VARCHAR
29user_idINTEGER
30location_admin_area_level_1VARCHAR
31org_idINTEGER
32conference_meeting_clientVARCHAR
33due_timeVARCHAR
34rec_master_activity_idINTEGER
35noteVARCHAR
36location_countryVARCHAR
37active_flagBOOLEAN
38durationVARCHAR
39location_postal_codeVARCHAR
40update_timeVARCHARIncremental sync key
41fileVARCHAR
42update_user_idINTEGER
43source_timezoneVARCHAR
44conference_meeting_idVARCHAR
45person_dropbox_bccVARCHAR
46location_localityVARCHAR
47org_nameVARCHAR
48assigned_to_user_idINTEGER
49lead_idVARCHAR
50participantsVARCHAR
51location_subpremiseVARCHAR
52company_idINTEGER
53due_dateVARCHAR
54reference_typeVARCHAR
55last_notification_user_idINTEGER
56calendar_sync_include_contextBOOLEAN
57marked_as_done_timeVARCHAR
58location_formatted_addressVARCHAR
59conference_meeting_urlVARCHAR
60seriesVARCHAR
61locationVARCHAR
62deal_dropbox_bccVARCHAR
63add_timeVARCHAR

Table: activity_types

NoColumn NameTypeNotes
1icon_keyVARCHAR
2update_timeVARCHARIncremental sync key
3is_custom_flagBOOLEAN
4key_stringVARCHAR
5colorVARCHAR
6order_nrINTEGER
7nameVARCHAR
8active_flagBOOLEAN
9idINTEGERPrimary Key
10add_timeVARCHAR

Table: deals

NoColumn NameTypeNotes
1email_messages_countINTEGER
2cc_emailVARCHAR
3products_countINTEGER
4next_activity_dateVARCHAR
5next_activity_typeVARCHAR
6next_activity_durationVARCHAR
7idINTEGER
8person_idINTEGER
9creator_user_idINTEGER
10expected_close_dateVARCHAR
11participants_countINTEGER
12owner_nameVARCHAR
13stage_idINTEGER
14probabilityDOUBLE
15undone_activities_countINTEGER
16activeBOOLEAN
17last_activity_dateVARCHAR
18person_nameVARCHAR
19close_timeVARCHAR
20next_activity_idINTEGER
21weighted_value_currencyVARCHAR
22org_hiddenBOOLEAN
23stage_order_nrINTEGER
24next_activity_subjectVARCHAR
25rotten_timeVARCHAR
26user_idINTEGER
27visible_toVARCHAR
28org_idINTEGER
29notes_countINTEGER
30next_activity_timeVARCHAR
31formatted_valueVARCHAR
32statusVARCHAR
33formatted_weighted_valueVARCHAR
34first_won_timeVARCHAR
35last_outgoing_mail_timeVARCHAR
36titleVARCHAR
37last_activity_idINTEGER
38update_timeVARCHARIncremental sync key
39activities_countINTEGER
40pipeline_idINTEGER
41lost_timeVARCHAR
42currencyVARCHAR
43weighted_valueDOUBLE
44org_nameVARCHAR
45valueDOUBLE
46next_activity_noteVARCHAR
47person_hiddenBOOLEAN
48files_countINTEGER
49last_incoming_mail_timeVARCHAR
50labelVARCHAR
51lost_reasonVARCHAR
52deletedBOOLEAN
53won_timeVARCHAR
54followers_countINTEGER
55stage_change_timeVARCHAR
56add_timeVARCHAR
57done_activities_countINTEGER

Table: organizations

NoColumn NameTypeNotes
1related_closed_deals_countDOUBLE
2address_routeVARCHAR
3email_messages_countDOUBLE
4owner_idVARCHAR
5open_deals_countDOUBLE
6cc_emailVARCHAR
7active_flagBOOLEAN
8picture_idVARCHAR
9people_countDOUBLE
10last_activity_idDOUBLE
11next_activity_dateVARCHAR
12update_timeVARCHARIncremental sync key
13activities_countDOUBLE
14idDOUBLE
15address_admin_area_level_2VARCHAR
16won_deals_countDOUBLE
17address_admin_area_level_1VARCHAR
18address_street_numberVARCHAR
19files_countDOUBLE
20addressVARCHAR
21owner_nameVARCHAR
22company_idDOUBLE
23address_formatted_addressVARCHAR
24related_won_deals_countDOUBLE
25address_postal_codeVARCHAR
26address_countryVARCHAR
27undone_activities_countDOUBLE
28first_charVARCHAR
29closed_deals_countDOUBLE
30last_activity_dateVARCHAR
31address_subpremiseVARCHAR
32labelDOUBLE
33related_open_deals_countDOUBLE
34related_lost_deals_countDOUBLE
35next_activity_idDOUBLE
36country_codeVARCHAR
37visible_toDOUBLE
38notes_countDOUBLE
39followers_countDOUBLE
40nameVARCHAR
41address_sublocalityVARCHAR
42address_localityVARCHAR
43lost_deals_countDOUBLE
44next_activity_timeVARCHAR
45add_timeVARCHAR
46done_activities_countDOUBLE

Table: permission_sets

NoColumn NameTypeNotes
1appVARCHAR
2nameVARCHAR
3idVARCHARPrimary Key
4typeVARCHAR
5assignment_countINTEGER

Table: stages

NoColumn NameTypeNotes
1update_timeVARCHARIncremental sync key
2pipeline_deal_probabilityBOOLEAN
3order_nrINTEGER
4nameVARCHAR
5pipeline_idINTEGER
6deal_probabilityINTEGER
7active_flagBOOLEAN
8rotten_flagBOOLEAN
9idINTEGER
10add_timeVARCHAR
11rotten_daysINTEGER
12pipeline_nameVARCHAR

Table: files

NoColumn NameTypeNotes
1descriptionVARCHAR
2active_flagBOOLEAN
3lead_nameVARCHAR
4s3_bucketVARCHAR
5update_timeVARCHARIncremental sync key
6inline_flagBOOLEAN
7file_typeVARCHAR
8product_idINTEGER
9activity_idINTEGER
10idINTEGERPrimary Key
11remote_locationVARCHAR
12people_nameVARCHAR
13deal_idINTEGER
14org_nameVARCHAR
15mail_template_idINTEGER
16lead_idINTEGER
17person_idINTEGER
18log_idINTEGER
19file_nameVARCHAR
20mail_message_idINTEGER
21remote_idVARCHAR
22person_nameVARCHAR
23product_nameVARCHAR
24file_sizeINTEGER
25urlVARCHAR
26user_idINTEGER
27org_idINTEGER
28deal_nameVARCHAR
29nameVARCHAR
30add_timeVARCHAR
31cidINTEGER

Table: activity_fields

NoColumn NameTypeNotes
1bulk_edit_allowedBOOLEAN
2edit_flagBOOLEAN
3add_visible_flagBOOLEAN
4order_nrINTEGER
5active_flagBOOLEAN
6index_visible_flagBOOLEAN
7filtering_allowedBOOLEAN
8mandatory_flagBOOLEAN
9update_timeVARCHAR
10details_visible_flagBOOLEAN
11sortable_flagBOOLEAN
12searchable_flagBOOLEAN
13nameVARCHAR
14optionsVARCHAR
15last_updated_by_user_idINTEGER
16idINTEGER
17field_typeVARCHAR
18add_timeVARCHAR
19keyVARCHAR
20important_flagBOOLEAN

Table: lead_labels

NoColumn NameTypeNotes
1update_timeVARCHAR
2colorVARCHAR
3nameVARCHAR
4idVARCHARPrimary Key
5add_timeVARCHAR

Table: deal_fields

NoColumn NameTypeNotes
1bulk_edit_allowedBOOLEAN
2edit_flagBOOLEAN
3add_visible_flagBOOLEAN
4order_nrINTEGER
5active_flagBOOLEAN
6index_visible_flagBOOLEAN
7filtering_allowedBOOLEAN
8mandatory_flagVARCHAR
9update_timeVARCHARIncremental sync key
10details_visible_flagBOOLEAN
11sortable_flagBOOLEAN
12searchable_flagBOOLEAN
13nameVARCHAR
14optionsVARCHAR
15last_updated_by_user_idINTEGER
16idINTEGER
17field_typeVARCHAR
18add_timeVARCHAR
19keyVARCHAR
20important_flagBOOLEAN

Table: currencies

NoColumn NameTypeNotes
1symbolVARCHAR
2decimal_pointsINTEGER
3codeVARCHAR
4is_custom_flagBOOLEAN
5nameVARCHAR
6active_flagBOOLEAN
7idINTEGERPrimary Key

External Resources

Zipstack Cloud features a powerful SQL querying engine on top of many types of connectors, including those from Trino, some custom connectors and connectors from the open source Airbyte project. Some Zipstack cloud connectors are designed to utilize and expand upon Airbyte's connector protocol, but they do not use Airbyte's EL core. Additionally, some parts of the documentation for these connectors have been adapted from the connector documentation found in Airbyte's open source project.