Pipedrive Data Model
Pipedrive CRM: deals, contacts, activities, products, leads, projects, notes, files, users and their settings, for reading and writing.
https://developers.pipedrive.com/docs/api/v1
Set up this platform in Invantive Cloud: https://cloud.invantive.eu/pipedrive
Text comparisons on this platform are case sensitive.
Platform
- Used from: Invantive Cloud and the Invantive products on your own computer or server.
- Kind: an application reached over its API.
- Data can be written as well as read.
- Invantive Cloud plans: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.
- Status of the platform: https://status.pipedrive.com/.
Figures
| Figure | Count |
|---|---|
| Tables | 113 |
| Columns | 1,710 |
| Tables with insert | 45 |
| Tables with update | 32 |
| Tables with delete | 32 |
| Tables documented | 113 |
Data Model Poster
On a table of the poster: plus and minus zoom, the arrow keys move, 0 fits.
The poster as text: tables per topic and their relations
Fields
DealFieldOptions, DealFields, LeadFields, OrganizationFieldOptions, OrganizationFields, PersonFieldOptions, PersonFields, ProductFieldOptions, ProductFields, ProjectFieldOptions, ProjectFields
Projects
ArchivedProjects, Boards, ProjectTemplates, Projects, Tasks
Deals
ArchivedDeals, DealParticipantsByDealId, DealProducts, Deals
Settings
Currencies, Filters, RecentChangesBySinceTimestamp, Webhooks
Users
CurrentUsers, LegacyTeams, Roles, Users
Activities
Activities, ActivityTypes, CallLogs
Contacts
Organizations, PersonPicturesByPersonId, Persons
Leads
ArchivedLeads, LeadSources, Leads
Notes
Files, NoteCommentsByNoteId, Notes
Pipelines
Goals
Products
Statistics
Fields (without relations)
Leads (without relations)
Native (without relations)
Users (without relations)
BillingAddons, PermissionSets, UserConnections, UserSettings
Relations
- Activities → ActivityTypes (key)
- Activities → Organizations (key)
- Activities → Persons (key)
- Activities → ArchivedDeals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- Activities → Deals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- Activities → ArchivedLeads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- Activities → Leads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- Activities → ArchivedProjects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Activities → Projects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Activities → Users (key, 2 keys)
- CallLogs → Activities (key)
- CallLogs → Organizations (key)
- CallLogs → Persons (key)
- CallLogs → ArchivedDeals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- CallLogs → Deals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- CallLogs → ArchivedLeads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- CallLogs → Leads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- CallLogs → Users (key)
- Organizations → Users (key)
- PersonPicturesByPersonId → Persons (described in words): The person of the picture, when item_type is 'person'.
- Persons → Organizations (key)
- Persons → Users (key)
- ArchivedDeals → Organizations (key)
- ArchivedDeals → Persons (key)
- ArchivedDeals → ArchivedLeads (described in words): The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads.
- ArchivedDeals → LeadSources (candidate): Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive.
- ArchivedDeals → Leads (described in words): The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads.
- ArchivedDeals → Pipelines (key)
- ArchivedDeals → Stages (key)
- ArchivedDeals → Currencies (key)
- ArchivedDeals → Users (key)
- DealParticipantsByDealId → Deals (described in words): The deal the participant takes part in, when related_item_type is 'deal'.
- DealProducts → Deals (key)
- DealProducts → Products (key)
- DealProducts → Currencies (key)
- Deals → Organizations (key)
- Deals → Persons (key)
- Deals → ArchivedLeads (described in words): The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads.
- Deals → LeadSources (candidate): Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive.
- Deals → Leads (described in words): The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads.
- Deals → Pipelines (key)
- Deals → Stages (key)
- Deals → Currencies (key)
- Deals → Users (key)
- DealFieldOptions → DealFields (key)
- LeadFields → Users (key, 2 keys)
- OrganizationFieldOptions → OrganizationFields (key)
- PersonFieldOptions → PersonFields (key)
- ProductFieldOptions → ProductFields (key)
- ProjectFieldOptions → ProjectFields (key)
- Goals → Users (key)
- ArchivedLeads → Organizations (key)
- ArchivedLeads → Persons (key)
- ArchivedLeads → ArchivedDeals (described in words): The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals.
- ArchivedLeads → Deals (described in words): The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals.
- ArchivedLeads → LeadSources (candidate, 2 keys): Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive.
- ArchivedLeads → Currencies (key)
- ArchivedLeads → Users (key, 2 keys)
- Leads → Activities (key)
- Leads → Organizations (key)
- Leads → Persons (key)
- Leads → ArchivedDeals (described in words): The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals.
- Leads → Deals (described in words): The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals.
- Leads → LeadSources (candidate, 2 keys): Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive.
- Leads → Currencies (key)
- Leads → Users (key, 2 keys)
- Files → Activities (key)
- Files → Organizations (key)
- Files → Persons (key)
- Files → ArchivedDeals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- Files → Deals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- Files → ArchivedLeads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- Files → Leads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- Files → Products (key)
- Files → ArchivedProjects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Files → Projects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Files → Users (key)
- NoteCommentsByNoteId → Notes (described in words): The note commented on, when object_type is 'note'.
- Notes → Organizations (key)
- Notes → Persons (key)
- Notes → ArchivedDeals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- Notes → Deals (described in words): The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
- Notes → ArchivedLeads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- Notes → Leads (described in words): The lead, in Leads or, once archived, in ArchivedLeads.
- Notes → ArchivedProjects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Notes → Projects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Notes → Tasks (key)
- Notes → Users (key, 2 keys)
- Stages → Pipelines (key)
- Products → Users (key)
- ArchivedProjects → Boards (key)
- ArchivedProjects → Users (key)
- ProjectTemplates → Boards (key)
- ProjectTemplates → Users (key)
- Projects → Boards (key)
- Projects → ProjectTemplates (key)
- Projects → Users (key)
- Tasks → ArchivedProjects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Tasks → Projects (described in words): The project, in Projects or, once archived, in ArchivedProjects.
- Tasks → Tasks (key)
- Tasks → Users (key, 2 keys)
- Filters → Users (key)
- RecentChangesBySinceTimestamp → Activities (described in words): The changed row of Activities, when item is 'activity'.
- RecentChangesBySinceTimestamp → ActivityTypes (described in words): The changed row of ActivityTypes, when item is 'activityType'.
- RecentChangesBySinceTimestamp → Organizations (described in words): The changed row of Organizations, when item is 'organization'.
- RecentChangesBySinceTimestamp → Persons (described in words): The changed row of Persons, when item is 'person'.
- RecentChangesBySinceTimestamp → Deals (described in words): The changed row of Deals, when item is 'deal'.
- RecentChangesBySinceTimestamp → Files (described in words): The changed row of Files, when item is 'file'.
- RecentChangesBySinceTimestamp → Notes (described in words): The changed row of Notes, when item is 'note'.
- RecentChangesBySinceTimestamp → Pipelines (described in words): The changed row of Pipelines, when item is 'pipeline'.
- RecentChangesBySinceTimestamp → Stages (described in words): The changed row of Stages, when item is 'stage'.
- RecentChangesBySinceTimestamp → Products (described in words): The changed row of Products, when item is 'product'.
- RecentChangesBySinceTimestamp → Filters (described in words): The changed row of Filters, when item is 'filter'.
- RecentChangesBySinceTimestamp → Users (described in words): The changed row of Users, when item is 'user'.
- Webhooks → Users (key, 2 keys)
- DealSummaries → Currencies (candidate): Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive.
- CurrentUsers → Roles (key)
- CurrentUsers → Users (key)
- LegacyTeams → Users (key, 2 keys)
- Roles → Roles (key)
- Users → Roles (key)
Tables
Pipedrive.Activities
- Activities: Activities
- ActivityTypes: Activity Types
- CallLogs: Call Logs
Pipedrive.Contacts
- OrganizationChangesByOrganizationId: Organization Changes by Organization
- OrganizationFilesByOrganizationId: Organization Files by Organization
- OrganizationFollowerChangesByOrganizationId: Organization Follower Changes by Organization
- OrganizationFollowersByOrganizationId: Organization Followers by Organization
- OrganizationMailMessagesByOrganizationId: Organization Mail Messages by Organization
- OrganizationRelationshipsByOrganizationId: Organization Relationships by Organization
- OrganizationUpdatesByOrganizationId: Organization Updates by Organization
- Organizations: Organizations
- PersonChangesByPersonId: Person Changes by Person
- PersonFilesByPersonId: Person Files by Person
- PersonFollowerChangesByPersonId: Person Follower Changes by Person
- PersonFollowersByPersonId: Person Followers by Person
- PersonMailMessagesByPersonId: Person Mail Messages by Person
- PersonPicturesByPersonId: Person Pictures by Person
- PersonProductsByPersonId: Person Products by Person
- PersonUpdatesByPersonId: Person Updates by Person
- Persons: Persons
Pipedrive.Deals
- ArchivedDeals: Archived Deals
- DealChangesByDealId: Deal Changes by Deal
- DealConversionStatusesByDealId: Deal Conversion Statuses by Deal
- DealDiscountsByDealId: Deal Discounts by Deal
- DealFilesByDealId: Deal Files by Deal
- DealFollowerChangesByDealId: Deal Follower Changes by Deal
- DealFollowersByDealId: Deal Followers by Deal
- DealInstallmentsByDealId: Deal Installments by Deal
- DealMailMessagesByDealId: Deal Mail Messages by Deal
- DealParticipantChangesByDealId: Deal Participant Changes by Deal
- DealParticipantsByDealId: Deal Participants by Deal
- DealPermittedUsersByDealId: Deal Permitted Users by Deal
- DealProducts: Deal Products
- DealProductsByDealId: Deal Products by Deal
- DealUpdatesByDealId: Deal Updates by Deal
- Deals: Deals
Pipedrive.Fields
- ActivityFields: Activity Fields
- DealFieldOptions: Deal Field Options
- DealFields: Deal Fields
- LeadFields: Lead Fields
- NoteFields: Note Fields
- OrganizationFieldOptions: Organization Field Options
- OrganizationFields: Organization Fields
- PersonFieldOptions: Person Field Options
- PersonFields: Person Fields
- ProductFieldOptions: Product Field Options
- ProductFields: Product Fields
- ProjectFieldOptions: Project Field Options
- ProjectFields: Project Fields
Pipedrive.Goals
- GoalResultsByGoalId: Goal Results by Goal
- Goals: Goals
Pipedrive.Leads
- ArchivedLeads: Archived Leads
- LeadConversionStatusesByLeadId: Lead Conversion Statuses by Lead
- LeadLabels: Lead Labels
- LeadPermittedUsersByLeadId: Lead Permitted Users by Lead
- LeadSources: Lead Sources
- Leads: Leads
Pipedrive.Mail
- MailMessagesByMailThreadId: Mail Messages by Mail Thread
- MailThreadsByFolder: Mail Threads by Folder
Pipedrive.Native
- NATIVEPLATFORMSCALARREQUESTS: Native Platform Scalar Requests
Pipedrive.Notes
- Files: Files
- NoteCommentsByNoteId: Note Comments by Note
- Notes: Notes
Pipedrive.Pipelines
- PipelineConversionStatisticsByPipelineId: Pipeline Conversion Statistics by Pipeline
- PipelineMovementStatisticsByPipelineId: Pipeline Movement Statistics by Pipeline
- Pipelines: Pipelines
- Stages: Stages
Pipedrive.Products
- ProductDealsByProductId: Product Deals by Product
- ProductFilesByProductId: Product Files by Product
- ProductFollowerChangesByProductId: Product Follower Changes by Product
- ProductFollowersByProductId: Product Followers by Product
- ProductImagesByProductId: Product Images by Product
- ProductVariationsByProductId: Product Variations by Product
- Products: Products
Pipedrive.Projects
- ArchivedProjects: Archived Projects
- Boards: Boards
- PhasesByBoardId: Phases by Board
- ProjectChangesByProjectId: Project Changes by Project
- ProjectPermittedUsersByProjectId: Project Permitted Users by Project
- ProjectTemplates: Project Templates
- Projects: Projects
- Tasks: Tasks
Pipedrive.Search
- DealSearchResultsByTerm: Deal Search Results by Term
- ItemFieldSearchResultsByTerm: Item Field Search Results by Term
- ItemSearchResultsByTerm: Item Search Results by Term
- LeadSearchResultsByTerm: Lead Search Results by Term
- OrganizationSearchResultsByTerm: Organization Search Results by Term
- PersonSearchResultsByTerm: Person Search Results by Term
- ProductSearchResultsByTerm: Product Search Results by Term
- ProjectSearchResultsByTerm: Project Search Results by Term
Pipedrive.Settings
- Currencies: Currencies
- Filters: Filters
- RecentChangesBySinceTimestamp: Recent Changes by Since Timestamp
- Webhooks: Webhooks
Pipedrive.Statistics
- DealSummaries: Deal Summaries
- DealTimelinesByStartDate: Deal Timelines by Start Date
Pipedrive.Users
- BillingAddons: Billing Add-Ons
- CurrentUsers: Current Users
- LegacyTeamUsersByLegacyTeamId: Legacy Team Users by Legacy Team
- LegacyTeams: Legacy Teams
- PermissionSetAssignmentsByPermissionSetId: Permission Set Assignments by Permission Set
- PermissionSets: Permission Sets
- RoleAssignmentsByRoleId: Role Assignments by Role
- RolePipelinesByRoleId: Role Pipelines by Role
- RoleSettingsByRoleId: Role Settings by Role
- Roles: Roles
- UserConnections: User Connections
- UserFollowersByUserId: User Followers by User
- UserPermissionsByUserId: User Permissions by User
- UserRoleAssignmentsByUserId: User Role Assignments by User
- UserRoleSettingsByUserId: User Role Settings by User
- UserSettings: User Settings
- Users: Users
Sample Queries
select act.subject
, act.type
, act.due_date
, act.due_time
from Pipedrive.Activities.Activities act
where act.done = false
and act.due_date < trunc(sysdateutc) + 7
select dls.id
, dls.title
, dls.update_time
from Pipedrive.Deals.Deals dls
where dls.update_time >= sysdateutc - 1
select org.name organization_name
, psn.name person_name
, psn.emails
from Pipedrive.Contacts.Persons psn
join Pipedrive.Contacts.Organizations org
on org.id = psn.org_id
select ppe.name pipeline_name
, stg.name stage_name
, count(*) deal_count
, sum(dls.value) deal_value
from Pipedrive.Deals.Deals dls
join Pipedrive.Pipelines.Stages stg
on stg.id = dls.stage_id
join Pipedrive.Pipelines.Pipelines ppe
on ppe.id = dls.pipeline_id
where dls.status = 'open'
group
by ppe.name
, stg.name
Attributes
The attributes of this platform are on the page Attributes.