---
title: "Pipedrive Data Model"
description: "Pipedrive CRM: deals, contacts, activities, products, leads, projects, notes, files, users and their settings, for reading and writing."
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/pipedrive
original: https://documentation.invantive.eu/en/datamodels/pipedrive
updated: 2026-12-04T04:27:45Z
license: https://documentation.invantive.eu/fi/
---

# 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

Määritä tämä alusta Invantive Cloudissa: https://cloud.invantive.eu/pipedrive

Tällä alustalla tekstien vertailuissa otetaan huomioon kirjainkoko ja kirjainkoko.

## Alusta

- Käytetään seuraavista: Invantive Cloud sekä omalla tietokoneellasi tai palvelimellasi olevat Invantive-tuotteet.
- Tyyppi: sovellus, johon pääsee sen API:n kautta.
- Tietoja voidaan sekä lukea että kirjoittaa.
- Invantive Cloud -paketit: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.
- Alustan tila: https://status.pipedrive.com/](https://status.pipedrive.com/).

## Sanasto

- [Company](glossary/company): One Pipedrive account of an organisation, with its own web address, users, contacts, deals and settings.
- [User](glossary/user): A person of the own organisation who logs on to the company, owns records and plans activities.
- [Visibility](glossary/visibility): The setting of a deal, lead, person, organisation or product that decides which users of the company can see it.
- [Person](glossary/person): An individual a company has contact with, such as a buyer or decision maker, linked to at most one organisation.
- [Organization](glossary/organization): A company or other body that persons work for and that deals are made with.
- [Lead](glossary/lead): A potential deal that is not yet qualified, kept in the leads inbox until it is turned into a deal or archived.
- [Deal](glossary/deal): A sales opportunity with a person or organisation, which moves through the stages of a pipeline until it is won or lost.
- [Deal Status](glossary/deal-status): Whether a deal is open, won, lost or deleted; archiving a deal is a separate flag on top of its status.
- [Pipeline](glossary/pipeline): An ordered series of stages that deals pass through for one kind of sales process; a company can have several.
- [Stage](glossary/stage): One step of a pipeline, with a position, a probability of winning, and an optional number of days after which deals rot.
- [Rotting](glossary/rotting): The marking of a deal that has stayed in its stage without any update for longer than that stage allows.
- [Activity](glossary/activity): Something to do or done for a sale, such as a call, meeting or task, with a type, a due date and a done flag.
- [Product](glossary/product): A good or service the company sells, with a code, a unit, a tax percentage and prices in one or more currencies.
- [Deal Product](glossary/deal-product): A product added to a deal, with its own quantity, price, discount and tax, which together make up the value of the deal.
- [Participant](glossary/participant): A person, besides the main contact, who takes part in a deal, such as a colleague of the buyer.
- [Follower](glossary/follower): A user who follows a deal, person, organisation, product or other user, to be kept informed of its changes.
- [Label](glossary/label): A coloured marker put on deals, leads, persons, organisations or projects, used to group and filter them.
- [Note](glossary/note): A free text written on a deal, lead, person, organisation or project, shown in its history and open to comments.
- [Custom Field](glossary/custom-field): An extra field a company adds to deals, persons, organisations, products, projects or leads, with its own type and options.
- [Project](glossary/project): Work delivered after a deal is won, planned on a board through phases, with tasks, an owner and dates.
- [Filter](glossary/filter): A saved set of conditions that selects deals, leads, persons, organisations, products or activities.
- [Goal](glossary/goal): A target for a user, a team or the company, such as a number of deals won or activities done within a period.

## Luvut

| Kuva | Määrä |
|---|---:|
| Taulukot | 113 |
| Sarakkeet | 1,710 |
| Taulukot, joissa on insert-lause | 45 |
| Taulukot, joihin on tehty päivityksiä | 32 |
| Taulukot, joissa on delete-lause | 32 |
| Taulukot on dokumentoitu | 113 |

## Esimerkkihakuyrityksiä

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

## Ominaisuudet

Tämän alustan attribuutit ovat sivulla [Attribuutit](attributes).

## Taulukot

### 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
- [Kaupat](Pipedrive.Deals.Deals): Kaupat

### 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): Liidien lähteet
- [Leads](Pipedrive.Leads.Leads): Liidit

### 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): Natiivialustan skalaaripyynnöt

### Pipedrive.Notes

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

### Pipedrive.Pipelines

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

### 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): Projektit
- [Tehtävät](Pipedrive.Projects.Tasks): Tehtävät

### 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): Valuutat
- [Suodattimet](Pipedrive.Settings.Filters): Suodattimet
- [RecentChangesBySinceTimestamp](Pipedrive.Settings.RecentChangesBySinceTimestamp): Recent Changes by Since Timestamp
- [Webhookit](Pipedrive.Settings.Webhooks): Webhookit

### 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): Käyttäjäasetukset
- [Users](Pipedrive.Users.Users): Käyttäjät
