---
title: "Pipedrive Data Model"
description: "Pipedrive CRM: deals, contacts, activities, products, leads, projects, notes, files, users and their settings, for reading and writing."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/pipedrive
original: https://documentation.invantive.eu/en/datamodels/pipedrive
updated: 2026-11-01T16:22:11Z
license: https://documentation.invantive.eu/en/
---

# 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/](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 |

## Tables

### Pipedrive.Activities

- [Activities](Pipedrive.Activities.Activities): Activities
- [ActivityTypes](Pipedrive.Activities.ActivityTypes): Activity Types
- [CallLogs](Pipedrive.Activities.CallLogs): Call Logs

### Pipedrive.Contacts

- [OrganizationChangesByOrganizationId](Pipedrive.Contacts.OrganizationChangesByOrganizationId): Organization Changes by Organization
- [OrganizationFilesByOrganizationId](Pipedrive.Contacts.OrganizationFilesByOrganizationId): Organization Files by Organization
- [OrganizationFollowerChangesByOrganizationId](Pipedrive.Contacts.OrganizationFollowerChangesByOrganizationId): Organization Follower Changes by Organization
- [OrganizationFollowersByOrganizationId](Pipedrive.Contacts.OrganizationFollowersByOrganizationId): Organization Followers by Organization
- [OrganizationMailMessagesByOrganizationId](Pipedrive.Contacts.OrganizationMailMessagesByOrganizationId): Organization Mail Messages by Organization
- [OrganizationRelationshipsByOrganizationId](Pipedrive.Contacts.OrganizationRelationshipsByOrganizationId): Organization Relationships by Organization
- [OrganizationUpdatesByOrganizationId](Pipedrive.Contacts.OrganizationUpdatesByOrganizationId): Organization Updates by Organization
- [Organizations](Pipedrive.Contacts.Organizations): Organizations
- [PersonChangesByPersonId](Pipedrive.Contacts.PersonChangesByPersonId): Person Changes by Person
- [PersonFilesByPersonId](Pipedrive.Contacts.PersonFilesByPersonId): Person Files by Person
- [PersonFollowerChangesByPersonId](Pipedrive.Contacts.PersonFollowerChangesByPersonId): Person Follower Changes by Person
- [PersonFollowersByPersonId](Pipedrive.Contacts.PersonFollowersByPersonId): Person Followers by Person
- [PersonMailMessagesByPersonId](Pipedrive.Contacts.PersonMailMessagesByPersonId): Person Mail Messages by Person
- [PersonPicturesByPersonId](Pipedrive.Contacts.PersonPicturesByPersonId): Person Pictures by Person
- [PersonProductsByPersonId](Pipedrive.Contacts.PersonProductsByPersonId): Person Products by Person
- [PersonUpdatesByPersonId](Pipedrive.Contacts.PersonUpdatesByPersonId): Person Updates by Person
- [Persons](Pipedrive.Contacts.Persons): Persons

### Pipedrive.Deals

- [ArchivedDeals](Pipedrive.Deals.ArchivedDeals): Archived Deals
- [DealChangesByDealId](Pipedrive.Deals.DealChangesByDealId): Deal Changes by Deal
- [DealConversionStatusesByDealId](Pipedrive.Deals.DealConversionStatusesByDealId): Deal Conversion Statuses by Deal
- [DealDiscountsByDealId](Pipedrive.Deals.DealDiscountsByDealId): Deal Discounts by Deal
- [DealFilesByDealId](Pipedrive.Deals.DealFilesByDealId): Deal Files by Deal
- [DealFollowerChangesByDealId](Pipedrive.Deals.DealFollowerChangesByDealId): Deal Follower Changes by Deal
- [DealFollowersByDealId](Pipedrive.Deals.DealFollowersByDealId): Deal Followers by Deal
- [DealInstallmentsByDealId](Pipedrive.Deals.DealInstallmentsByDealId): Deal Installments by Deal
- [DealMailMessagesByDealId](Pipedrive.Deals.DealMailMessagesByDealId): Deal Mail Messages by Deal
- [DealParticipantChangesByDealId](Pipedrive.Deals.DealParticipantChangesByDealId): Deal Participant Changes by Deal
- [DealParticipantsByDealId](Pipedrive.Deals.DealParticipantsByDealId): Deal Participants by Deal
- [DealPermittedUsersByDealId](Pipedrive.Deals.DealPermittedUsersByDealId): Deal Permitted Users by Deal
- [DealProducts](Pipedrive.Deals.DealProducts): Deal Products
- [DealProductsByDealId](Pipedrive.Deals.DealProductsByDealId): Deal Products by Deal
- [DealUpdatesByDealId](Pipedrive.Deals.DealUpdatesByDealId): Deal Updates by Deal
- [Deals](Pipedrive.Deals.Deals): Deals

### Pipedrive.Fields

- [ActivityFields](Pipedrive.Fields.ActivityFields): Activity Fields
- [DealFieldOptions](Pipedrive.Fields.DealFieldOptions): Deal Field Options
- [DealFields](Pipedrive.Fields.DealFields): Deal Fields
- [LeadFields](Pipedrive.Fields.LeadFields): Lead Fields
- [NoteFields](Pipedrive.Fields.NoteFields): Note Fields
- [OrganizationFieldOptions](Pipedrive.Fields.OrganizationFieldOptions): Organization Field Options
- [OrganizationFields](Pipedrive.Fields.OrganizationFields): Organization Fields
- [PersonFieldOptions](Pipedrive.Fields.PersonFieldOptions): Person Field Options
- [PersonFields](Pipedrive.Fields.PersonFields): Person Fields
- [ProductFieldOptions](Pipedrive.Fields.ProductFieldOptions): Product Field Options
- [ProductFields](Pipedrive.Fields.ProductFields): Product Fields
- [ProjectFieldOptions](Pipedrive.Fields.ProjectFieldOptions): Project Field Options
- [ProjectFields](Pipedrive.Fields.ProjectFields): Project Fields

### Pipedrive.Goals

- [GoalResultsByGoalId](Pipedrive.Goals.GoalResultsByGoalId): Goal Results by Goal
- [Goals](Pipedrive.Goals.Goals): Goals

### Pipedrive.Leads

- [ArchivedLeads](Pipedrive.Leads.ArchivedLeads): Archived Leads
- [LeadConversionStatusesByLeadId](Pipedrive.Leads.LeadConversionStatusesByLeadId): Lead Conversion Statuses by Lead
- [LeadLabels](Pipedrive.Leads.LeadLabels): Lead Labels
- [LeadPermittedUsersByLeadId](Pipedrive.Leads.LeadPermittedUsersByLeadId): Lead Permitted Users by Lead
- [LeadSources](Pipedrive.Leads.LeadSources): Lead Sources
- [Leads](Pipedrive.Leads.Leads): Leads

### Pipedrive.Mail

- [MailMessagesByMailThreadId](Pipedrive.Mail.MailMessagesByMailThreadId): Mail Messages by Mail Thread
- [MailThreadsByFolder](Pipedrive.Mail.MailThreadsByFolder): Mail Threads by Folder

### Pipedrive.Native

- [NATIVEPLATFORMSCALARREQUESTS](Pipedrive.Native.NATIVEPLATFORMSCALARREQUESTS): Native Platform Scalar Requests

### Pipedrive.Notes

- [Files](Pipedrive.Notes.Files): Files
- [NoteCommentsByNoteId](Pipedrive.Notes.NoteCommentsByNoteId): Note Comments by Note
- [Notes](Pipedrive.Notes.Notes): Notes

### Pipedrive.Pipelines

- [PipelineConversionStatisticsByPipelineId](Pipedrive.Pipelines.PipelineConversionStatisticsByPipelineId): Pipeline Conversion Statistics by Pipeline
- [PipelineMovementStatisticsByPipelineId](Pipedrive.Pipelines.PipelineMovementStatisticsByPipelineId): Pipeline Movement Statistics by Pipeline
- [Pipelines](Pipedrive.Pipelines.Pipelines): Pipelines
- [Stages](Pipedrive.Pipelines.Stages): Stages

### Pipedrive.Products

- [ProductDealsByProductId](Pipedrive.Products.ProductDealsByProductId): Product Deals by Product
- [ProductFilesByProductId](Pipedrive.Products.ProductFilesByProductId): Product Files by Product
- [ProductFollowerChangesByProductId](Pipedrive.Products.ProductFollowerChangesByProductId): Product Follower Changes by Product
- [ProductFollowersByProductId](Pipedrive.Products.ProductFollowersByProductId): Product Followers by Product
- [ProductImagesByProductId](Pipedrive.Products.ProductImagesByProductId): Product Images by Product
- [ProductVariationsByProductId](Pipedrive.Products.ProductVariationsByProductId): Product Variations by Product
- [Products](Pipedrive.Products.Products): Products

### Pipedrive.Projects

- [ArchivedProjects](Pipedrive.Projects.ArchivedProjects): Archived Projects
- [Boards](Pipedrive.Projects.Boards): Boards
- [PhasesByBoardId](Pipedrive.Projects.PhasesByBoardId): Phases by Board
- [ProjectChangesByProjectId](Pipedrive.Projects.ProjectChangesByProjectId): Project Changes by Project
- [ProjectPermittedUsersByProjectId](Pipedrive.Projects.ProjectPermittedUsersByProjectId): Project Permitted Users by Project
- [ProjectTemplates](Pipedrive.Projects.ProjectTemplates): Project Templates
- [Projects](Pipedrive.Projects.Projects): Projects
- [Tasks](Pipedrive.Projects.Tasks): Tasks

### Pipedrive.Search

- [DealSearchResultsByTerm](Pipedrive.Search.DealSearchResultsByTerm): Deal Search Results by Term
- [ItemFieldSearchResultsByTerm](Pipedrive.Search.ItemFieldSearchResultsByTerm): Item Field Search Results by Term
- [ItemSearchResultsByTerm](Pipedrive.Search.ItemSearchResultsByTerm): Item Search Results by Term
- [LeadSearchResultsByTerm](Pipedrive.Search.LeadSearchResultsByTerm): Lead Search Results by Term
- [OrganizationSearchResultsByTerm](Pipedrive.Search.OrganizationSearchResultsByTerm): Organization Search Results by Term
- [PersonSearchResultsByTerm](Pipedrive.Search.PersonSearchResultsByTerm): Person Search Results by Term
- [ProductSearchResultsByTerm](Pipedrive.Search.ProductSearchResultsByTerm): Product Search Results by Term
- [ProjectSearchResultsByTerm](Pipedrive.Search.ProjectSearchResultsByTerm): Project Search Results by Term

### Pipedrive.Settings

- [Currencies](Pipedrive.Settings.Currencies): Currencies
- [Filters](Pipedrive.Settings.Filters): Filters
- [RecentChangesBySinceTimestamp](Pipedrive.Settings.RecentChangesBySinceTimestamp): Recent Changes by Since Timestamp
- [Webhooks](Pipedrive.Settings.Webhooks): Webhooks

### Pipedrive.Statistics

- [DealSummaries](Pipedrive.Statistics.DealSummaries): Deal Summaries
- [DealTimelinesByStartDate](Pipedrive.Statistics.DealTimelinesByStartDate): Deal Timelines by Start Date

### Pipedrive.Users

- [BillingAddons](Pipedrive.Users.BillingAddons): Billing Add-Ons
- [CurrentUsers](Pipedrive.Users.CurrentUsers): Current Users
- [LegacyTeamUsersByLegacyTeamId](Pipedrive.Users.LegacyTeamUsersByLegacyTeamId): Legacy Team Users by Legacy Team
- [LegacyTeams](Pipedrive.Users.LegacyTeams): Legacy Teams
- [PermissionSetAssignmentsByPermissionSetId](Pipedrive.Users.PermissionSetAssignmentsByPermissionSetId): Permission Set Assignments by Permission Set
- [PermissionSets](Pipedrive.Users.PermissionSets): Permission Sets
- [RoleAssignmentsByRoleId](Pipedrive.Users.RoleAssignmentsByRoleId): Role Assignments by Role
- [RolePipelinesByRoleId](Pipedrive.Users.RolePipelinesByRoleId): Role Pipelines by Role
- [RoleSettingsByRoleId](Pipedrive.Users.RoleSettingsByRoleId): Role Settings by Role
- [Roles](Pipedrive.Users.Roles): Roles
- [UserConnections](Pipedrive.Users.UserConnections): User Connections
- [UserFollowersByUserId](Pipedrive.Users.UserFollowersByUserId): User Followers by User
- [UserPermissionsByUserId](Pipedrive.Users.UserPermissionsByUserId): User Permissions by User
- [UserRoleAssignmentsByUserId](Pipedrive.Users.UserRoleAssignmentsByUserId): User Role Assignments by User
- [UserRoleSettingsByUserId](Pipedrive.Users.UserRoleSettingsByUserId): User Role Settings by User
- [UserSettings](Pipedrive.Users.UserSettings): User Settings
- [Users](Pipedrive.Users.Users): Users

## Sample Queries

```sql
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
```

```sql
select dls.id
,      dls.title
,      dls.update_time
from   Pipedrive.Deals.Deals dls
where  dls.update_time >= sysdateutc - 1
```

```sql
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
```

```sql
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](attributes).

