# Pipedrive (v1)

Information note **Pipedrive extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Pipedrive tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-pipedrive).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## Pipedrive integration summary

Stitch’s Pipedrive integration replicates data using the [Pipedrive REST API](https://developers.pipedrive.com/docs/api/v1/). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#schema) section for a list of objects available for replication.

## Pipedrive feature snapshot

A high-level look at Stitch's Pipedrive (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Deprecated on July 11, 2025 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Remove icon<br><br>This version of the integration isn't available via the API.<br><br><br>Not available |
| **Singer GitHub repository** | [singer-io/tap-pipedrive](https://github.com/singer-io/tap-pipedrive) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Pipedrive

### Pipedrive setup requirements

To set up Pipedrive in Stitch, you need:

* **Admin permissions in Pipedrive.** These permissions are required to ensure Stitch can successfully replicate your Pipedrive data.

### Step 1: Create a Pipedrive user for Stitch

To ensure Stitch can access and replicate all your data, the Pipedrive credentials you use to connect to Stitch need **Admin permissions**. We recommend that you [create a separate Pipedrive Admin user for Stitch](http://support.pipedrive.com/hc/en-us/articles/207319685-How-to-add-edit-remove-a-user), but this isn’t mandatory to use the integration. Creating a user for us simply makes our activity easier to distinguish in logs and audits.

**If you don’t want to create a user for us**, simply ensure that the credentials you use to connect to Stitch have Admin permissions. If the API token associated with a non-Admin user is used to set up the integration, Stitch may be unable to access and replicate all of your data.

**Note**: Users are counted at the account-level in Pipedrive, not the company level. If you want to create a user for us and are concerned about the cost of your Pipedrive subscription, don’t worry - you won’t be charged twice.

### Step 2: Retrieve your Pipedrive API token

1. If you created a Pipedrive user for Stitch, sign into Pipedrive as the Stitch user.

   If you didn’t, sign into Pipedrive as an Admin user.

2. Click the **user menu** (where your avatar is) in the top right corner of the screen.

3. Click **Settings**.

4. In the settings menu, click **API**.

5. The user’s API Token will display:

   ![Personal API token in the Pipedrive app](https://help.qlik.com/en-US/stitch/images/integrations/pipedrive-api-token.png)Personal API token in the Pipedrive appPersonal API token in the Pipedrive app

Leave this page open for now - you’ll need it to complete the setup in Stitch.

### Step 3: Connect multiple Pipedrive companies

Information note **Note**: Skip this step if you aren’t connecting multiple Pipedrive companies.

If you want to connect more than one Pipedrive company to Stitch, you’ll have to repeat the entire process in this article for every company you want to add. Essentially, you’ll have to create a separate Pipedrive integration for each company.

Our Pipedrive integration uses an API Token to authenticate. **Pipedrive API tokens are unique not only at the user level, but the company level as well**. This means that a user’s API Token will vary from company to company, even if everything is housed in the same Pipedrive account.

### Step 4: Add Pipedrive as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Pipedrive** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Pipedrive” would create a schema called `stitch_pipedrive` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **API Token** field, paste the API token you retrieved in [Step 2](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#retrieve-pipedrive-api-token).

### Step 5: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Pipedrive integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Pipedrive’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 6: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Pipedrive integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 7: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Pipedrive integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Pipedrive, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Pipedrive table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### activities

The `activities` table contains info about recent activities - calls, tasks, lunches, etc. - recorded in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [activities schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/activities.json "Opens in new tab: activities schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/Activities#getActivities "Opens in new tab: Pipedrive API method") |

activities table foreign keys

| Join activities with | on |
| --- | --- |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>activities.id = deals.last_activity_id<br>```<br><br>```<br>activities.id = deals.next_activity_id<br>```<br><br>```<br>activities.deal_id = deals.id<br>```<br><br>```<br>activities.org_id = deals.org_id<br>```<br><br>```<br>activities.assigned_to_user_id = deals.creator_user_id<br>```<br><br>```<br>activities.created_by_user_id = deals.creator_user_id<br>```<br><br>```<br>activities.user_id = deals.creator_user_id<br>```<br><br>```<br>activities.assigned_to_user_id = deals.user_id<br>```<br><br>```<br>activities.created_by_user_id = deals.user_id<br>```<br><br>```<br>activities.user_id = deals.user_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>activities.id = files.activity_id<br>```<br><br>```<br>activities.deal_id = files.deal_id<br>```<br><br>```<br>activities.org_id = files.org_id<br>```<br><br>```<br>activities.participants.person_id = files.person_id<br>```<br><br>```<br>activities.person_id = files.person_id<br>```<br><br>```<br>activities.assigned_to_user_id = files.user_id<br>```<br><br>```<br>activities.created_by_user_id = files.user_id<br>```<br><br>```<br>activities.user_id = files.user_id<br>``` |
| [organizations](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#organizations) | ```<br>activities.id = organizations.last_activity_id<br>```<br><br>```<br>activities.id = organizations.next_activity_id<br>```<br><br>```<br>activities.org_id = organizations.id<br>``` |
| [persons](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#persons) | ```<br>activities.id = persons.last_activity_id<br>```<br><br>```<br>activities.id = persons.next_activity_id<br>```<br><br>```<br>activities.participants.person_id = persons.id<br>```<br><br>```<br>activities.person_id = persons.id<br>``` |
| [deal_products](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deal-products) | ```<br>activities.deal_id = deal_products.deal_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>activities.deal_id = notes.deal_id<br>```<br><br>```<br>activities.org_id = notes.org_id<br>```<br><br>```<br>activities.participants.person_id = notes.person_id<br>```<br><br>```<br>activities.person_id = notes.person_id<br>```<br><br>```<br>activities.assigned_to_user_id = notes.last_update_user_id<br>```<br><br>```<br>activities.created_by_user_id = notes.last_update_user_id<br>```<br><br>```<br>activities.user_id = notes.last_update_user_id<br>```<br><br>```<br>activities.assigned_to_user_id = notes.user_id<br>```<br><br>```<br>activities.created_by_user_id = notes.user_id<br>```<br><br>```<br>activities.user_id = notes.user_id<br>``` |
| [dealflow](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#dealflow) | ```<br>activities.assigned_to_user_id = dealflow.user_id<br>```<br><br>```<br>activities.created_by_user_id = dealflow.user_id<br>```<br><br>```<br>activities.user_id = dealflow.user_id<br>``` |
| [filters](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#filters) | ```<br>activities.assigned_to_user_id = filters.user_id<br>```<br><br>```<br>activities.created_by_user_id = filters.user_id<br>```<br><br>```<br>activities.user_id = filters.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#users) | ```<br>activities.assigned_to_user_id = users.id<br>```<br><br>```<br>activities.created_by_user_id = users.id<br>```<br><br>```<br>activities.user_id = users.id<br>``` |

activities table schema

| **id**<br><br><br>INTEGER |
| --- |
| **company\_id**<br><br><br>INTEGER |
| **user\_id**<br><br><br>INTEGER |
| **done**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |
| **reference\_type**<br><br><br>STRING |
| **reference\_id**<br><br><br>INTEGER |
| **due\_date**<br><br><br>STRING |
| **due\_time**<br><br><br>STRING |
| **duration**<br><br><br>STRING |
| **add\_time**<br><br><br>STRING |
| **marked\_as\_done\_time**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **deal\_id**<br><br><br>INTEGER |
| **org\_id**<br><br><br>INTEGER |
| **person\_id**<br><br><br>INTEGER |
| **is\_deleted**<br><br><br>BOOLEAN |
| **update\_time**<br><br><br>STRING |
| **note**<br><br><br>STRING |
| **participants**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand participants<br><br><table> <tr> <td> <p> <strong>								person_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								primary_flag							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **owner\_id**<br><br><br>INTEGER |
| **creator\_user\_id**<br><br><br>INTEGER |
| **location**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand location<br><br><table> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								admin_area_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								admin_area_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								route							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								street_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **attendees**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand attendees<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_organizer							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								person_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								org_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **busy**<br><br><br>BOOLEAN |
| **public\_description**<br><br><br>STRING |
| **lead\_id**<br><br><br>STRING |
| **project\_id**<br><br><br>STRING |
| **priority**<br><br><br>STRING |
| **conference\_meeting\_client**<br><br><br>STRING |
| **conference\_meeting\_url**<br><br><br>STRING |
| **conference\_meeting\_id**<br><br><br>STRING |

### activity\_types

The `activity_types` table contains info about the different kinds of activities in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [Pipedrive documentation](https://developers.pipedrive.com/docs/api/v1/#!/ActivityTypes "Opens in new tab: Pipedrive documentation")<br><br><br>[activity_types schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/activity_types.json "Opens in new tab: activity_types schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/ActivityTypes/get_activityTypes "Opens in new tab: Pipedrive API method") |

activity\_types table schema

| **active\_flag**<br><br><br>BOOLEAN |
| --- |
| **add\_time**<br><br><br>DATE-TIME |
| **color**<br><br><br>STRING |
| **icon\_key**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **is\_custom\_flag**<br><br><br>BOOLEAN |
| **key\_string**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **order\_nr**<br><br><br>INTEGER |
| **update\_time**<br><br><br>DATE-TIME |

### currency

The `currency` table contains info about the currencies listed in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [currency schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/currency.json "Opens in new tab: currency schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Currencies "Opens in new tab: Pipedrive API method") |

currency table schema

| **active\_flag**<br><br><br>BOOLEAN |
| --- |
| **code**<br><br><br>STRING |
| **decimal\_points**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **is\_custom\_flag**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **symbol**<br><br><br>STRING |

### deal\_fields

The `deal_fields` table contains info about all deal fields.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [deal_fields schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/deal_fields.json "Opens in new tab: deal_fields schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/DealFields#getDealFields "Opens in new tab: Pipedrive API method") |

deal\_fields table schema

| **id**<br><br><br>INTEGER |
| --- |
| **key**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **field\_type**<br><br><br>STRING |
| **order\_nr**<br><br><br>INTEGER |
| **add\_time**<br><br><br>STRING |
| **update\_time**<br><br><br>STRING |
| **last\_updated\_by\_user\_id**<br><br><br>INTEGER |
| **active\_flag**<br><br><br>BOOLEAN |
| **edit\_flag**<br><br><br>BOOLEAN |
| **index\_visible\_flag**<br><br><br>BOOLEAN |
| **details\_visible\_flag**<br><br><br>BOOLEAN |
| **add\_visible\_flag**<br><br><br>BOOLEAN |
| **important\_flag**<br><br><br>BOOLEAN |
| **bulk\_edit\_allowed**<br><br><br>BOOLEAN |
| **searchable\_flag**<br><br><br>BOOLEAN |
| **filtering\_allowed**<br><br><br>BOOLEAN |
| **sortable\_flag**<br><br><br>BOOLEAN |
| **mandatory\_flag**<br><br><br>BOOLEAN |
| **options**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand options<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### deal\_products

The `deal_products` table contains info about the products attached to deals.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Pipedrive documentation](https://developers.pipedrive.com/docs/api/v1/#!/Deals "Opens in new tab: Pipedrive documentation")<br><br><br>[deal_products schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/deal_products.json "Opens in new tab: deal_products schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Deals/get_deals_id_products "Opens in new tab: Pipedrive API method") |

deal\_products table foreign keys

| Join deal\_products with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>deal_products.deal_id = activities.deal_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>deal_products.deal_id = deals.id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>deal_products.deal_id = files.deal_id<br>```<br><br>```<br>deal_products.product_id = files.product_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>deal_products.deal_id = notes.deal_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#products) | ```<br>deal_products.product_id = products.id<br>``` |

deal\_products table schema

| **active\_flag**<br><br><br>BOOLEAN |
| --- |
| **add\_time**<br><br><br>DATE-TIME |
| **comments**<br><br><br>STRING |
| **currency**<br><br><br>STRING |
| **deal\_id**<br><br><br>INTEGER |
| **discount\_percentage**<br><br><br>NUMBER |
| **duration**<br><br><br>NUMBER |
| **enabled\_flag**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **item\_price**<br><br><br>NUMBER |
| **last\_edit**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **order\_nr**<br><br><br>INTEGER |
| **product\_id**<br><br><br>INTEGER |
| **product\_variation\_id**<br><br><br>INTEGER |
| **quantity**<br><br><br>INTEGER |
| **quantity\_formatted**<br><br><br>STRING |
| **sum**<br><br><br>NUMBER |
| **sum\_formatted**<br><br><br>STRING |
| **sum\_no\_discount**<br><br><br>NUMBER |

### dealflow

The `dealflow` table contains info about the updates made to a deal.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | log\_time |
| **Useful links** | [dealflow schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/dealflow.json "Opens in new tab: dealflow schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Deals/get_deals_id_flow "Opens in new tab: Pipedrive API method") |

dealflow table foreign keys

| Join dealflow with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>dealflow.user_id = activities.assigned_to_user_id<br>```<br><br>```<br>dealflow.user_id = activities.created_by_user_id<br>```<br><br>```<br>dealflow.user_id = activities.user_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>dealflow.user_id = deals.creator_user_id<br>```<br><br>```<br>dealflow.user_id = deals.user_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>dealflow.user_id = files.user_id<br>``` |
| [filters](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#filters) | ```<br>dealflow.user_id = filters.user_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>dealflow.user_id = notes.last_update_user_id<br>```<br><br>```<br>dealflow.user_id = notes.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#users) | ```<br>dealflow.user_id = users.id<br>``` |

dealflow table schema

| **additional\_data**<br><br><br>STRING |
| --- |
| **change\_source**<br><br><br>STRING |
| **field\_key**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **is\_bulk\_update\_flag**<br><br><br>BOOLEAN |
| **item\_id**<br><br><br>INTEGER |
| **log\_time**<br><br><br>DATE-TIME |
| **new\_value**<br><br><br>STRING |
| **old\_value**<br><br><br>STRING |
| **user\_id**<br><br><br>INTEGER |

### deals

The `deals` table contains info about updates made recently to the deals in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [deals schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/deals.json "Opens in new tab: deals schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/Deals "Opens in new tab: Pipedrive API method") |

deals table foreign keys

| Join deals with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>deals.last_activity_id = activities.id<br>```<br><br>```<br>deals.next_activity_id = activities.id<br>```<br><br>```<br>deals.id = activities.deal_id<br>```<br><br>```<br>deals.org_id = activities.org_id<br>```<br><br>```<br>deals.creator_user_id = activities.assigned_to_user_id<br>```<br><br>```<br>deals.user_id = activities.assigned_to_user_id<br>```<br><br>```<br>deals.creator_user_id = activities.created_by_user_id<br>```<br><br>```<br>deals.user_id = activities.created_by_user_id<br>```<br><br>```<br>deals.creator_user_id = activities.user_id<br>```<br><br>```<br>deals.user_id = activities.user_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>deals.last_activity_id = files.activity_id<br>```<br><br>```<br>deals.next_activity_id = files.activity_id<br>```<br><br>```<br>deals.id = files.deal_id<br>```<br><br>```<br>deals.org_id = files.org_id<br>```<br><br>```<br>deals.creator_user_id = files.user_id<br>```<br><br>```<br>deals.user_id = files.user_id<br>``` |
| [organizations](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#organizations) | ```<br>deals.last_activity_id = organizations.last_activity_id<br>```<br><br>```<br>deals.next_activity_id = organizations.last_activity_id<br>```<br><br>```<br>deals.last_activity_id = organizations.next_activity_id<br>```<br><br>```<br>deals.next_activity_id = organizations.next_activity_id<br>```<br><br>```<br>deals.org_id = organizations.id<br>``` |
| [persons](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#persons) | ```<br>deals.last_activity_id = persons.last_activity_id<br>```<br><br>```<br>deals.next_activity_id = persons.last_activity_id<br>```<br><br>```<br>deals.last_activity_id = persons.next_activity_id<br>```<br><br>```<br>deals.next_activity_id = persons.next_activity_id<br>``` |
| [deal_products](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deal-products) | ```<br>deals.id = deal_products.deal_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>deals.id = notes.deal_id<br>```<br><br>```<br>deals.org_id = notes.org_id<br>```<br><br>```<br>deals.creator_user_id = notes.last_update_user_id<br>```<br><br>```<br>deals.user_id = notes.last_update_user_id<br>```<br><br>```<br>deals.creator_user_id = notes.user_id<br>```<br><br>```<br>deals.user_id = notes.user_id<br>``` |
| [pipelines](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#pipelines) | ```<br>deals.pipeline_id = pipelines.id<br>``` |
| [stages](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#stages) | ```<br>deals.pipeline_id = stages.pipeline_id<br>```<br><br>```<br>deals.stage_id = stages.id<br>``` |
| [dealflow](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#dealflow) | ```<br>deals.creator_user_id = dealflow.user_id<br>```<br><br>```<br>deals.user_id = dealflow.user_id<br>``` |
| [filters](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#filters) | ```<br>deals.creator_user_id = filters.user_id<br>```<br><br>```<br>deals.user_id = filters.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#users) | ```<br>deals.creator_user_id = users.id<br>```<br><br>```<br>deals.user_id = users.id<br>``` |

deals table schema

| **id**<br><br><br>INTEGER |
| --- |
| **creator\_user\_id**<br><br><br>INTEGER |
| **owner\_id**<br><br><br>INTEGER |
| **person\_id**<br><br><br>INTEGER |
| **org\_id**<br><br><br>INTEGER |
| **stage\_id**<br><br><br>INTEGER |
| **title**<br><br><br>STRING |
| **value**<br><br><br>NUMBER |
| **currency**<br><br><br>STRING |
| **add\_time**<br><br><br>STRING |
| **update\_time**<br><br><br>STRING |
| **archive\_time**<br><br><br>STRING |
| **stage\_change\_time**<br><br><br>STRING |
| **is\_archived**<br><br><br>BOOLEAN |
| **is\_deleted**<br><br><br>BOOLEAN |
| **status**<br><br><br>STRING |
| **probability**<br><br><br>NUMBER |
| **next\_activity\_id**<br><br><br>INTEGER |
| **last\_activity\_id**<br><br><br>INTEGER |
| **origin**<br><br><br>STRING |
| **origin\_id**<br><br><br>STRING |
| **channel**<br><br><br>STRING |
| **channel\_id**<br><br><br>STRING |
| **lost\_reason**<br><br><br>STRING |
| **visible\_to**<br><br><br>STRING |
| **close\_time**<br><br><br>STRING |
| **pipeline\_id**<br><br><br>INTEGER |
| **won\_time**<br><br><br>STRING |
| **first\_won\_time**<br><br>STRING<br><br>STRING |
| **lost\_time**<br><br><br>STRING |
| **local\_won\_date**<br><br><br>STRING |
| **local\_lost\_date**<br><br><br>STRING |
| **local\_close\_date**<br><br><br>STRING |
| **acv**<br><br><br>INTEGER |
| **arr**<br><br><br>INTEGER |
| **mrr**<br><br><br>INTEGER |
| **products\_count**<br><br><br>INTEGER |
| **files\_count**<br><br><br>INTEGER |
| **notes\_count**<br><br><br>INTEGER |
| **followers\_count**<br><br><br>INTEGER |
| **email\_messages\_count**<br><br><br>INTEGER |
| **activities\_count**<br><br><br>INTEGER |
| **done\_activities\_count**<br><br><br>INTEGER |
| **undone\_activities\_count**<br><br><br>INTEGER |
| **participants\_count**<br><br><br>INTEGER |
| **expected\_close\_date**<br><br><br>STRING |
| **last\_incoming\_mail\_time**<br><br><br>STRING |
| **last\_outgoing\_mail\_time**<br><br><br>STRING |

### files

The `files` table contains info about the recently updated files in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [files schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/recents/files.json "Opens in new tab: files schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Recents "Opens in new tab: Pipedrive API method") |

files table foreign keys

| Join files with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>files.activity_id = activities.id<br>```<br><br>```<br>files.deal_id = activities.deal_id<br>```<br><br>```<br>files.org_id = activities.org_id<br>```<br><br>```<br>files.person_id = activities.participants.person_id<br>```<br><br>```<br>files.person_id = activities.person_id<br>```<br><br>```<br>files.user_id = activities.assigned_to_user_id<br>```<br><br>```<br>files.user_id = activities.created_by_user_id<br>```<br><br>```<br>files.user_id = activities.user_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>files.activity_id = deals.last_activity_id<br>```<br><br>```<br>files.activity_id = deals.next_activity_id<br>```<br><br>```<br>files.deal_id = deals.id<br>```<br><br>```<br>files.org_id = deals.org_id<br>```<br><br>```<br>files.user_id = deals.creator_user_id<br>```<br><br>```<br>files.user_id = deals.user_id<br>``` |
| [organizations](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#organizations) | ```<br>files.activity_id = organizations.last_activity_id<br>```<br><br>```<br>files.activity_id = organizations.next_activity_id<br>```<br><br>```<br>files.org_id = organizations.id<br>``` |
| [persons](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#persons) | ```<br>files.activity_id = persons.last_activity_id<br>```<br><br>```<br>files.activity_id = persons.next_activity_id<br>```<br><br>```<br>files.person_id = persons.id<br>``` |
| [deal_products](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deal-products) | ```<br>files.deal_id = deal_products.deal_id<br>```<br><br>```<br>files.product_id = deal_products.product_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>files.deal_id = notes.deal_id<br>```<br><br>```<br>files.note_id = notes.id<br>```<br><br>```<br>files.org_id = notes.org_id<br>```<br><br>```<br>files.person_id = notes.person_id<br>```<br><br>```<br>files.user_id = notes.last_update_user_id<br>```<br><br>```<br>files.user_id = notes.user_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#products) | ```<br>files.product_id = products.id<br>``` |
| [dealflow](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#dealflow) | ```<br>files.user_id = dealflow.user_id<br>``` |
| [filters](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#filters) | ```<br>files.user_id = filters.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#users) | ```<br>files.user_id = users.id<br>``` |

files table schema

| **active\_flag**<br><br><br>BOOLEAN |
| --- |
| **activity\_id**<br><br><br>INTEGER |
| **add\_time**<br><br><br>DATE-TIME |
| **cid**<br><br><br>STRING |
| **deal\_id**<br><br><br>INTEGER |
| **deal\_name**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **email\_message\_id**<br><br><br>INTEGER |
| **file\_name**<br><br><br>STRING |
| **file\_size**<br><br><br>INTEGER |
| **file\_type**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **inline\_flag**<br><br><br>BOOLEAN |
| **log\_id**<br><br><br>INTEGER |
| **mail\_message\_id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **note\_id**<br><br><br>INTEGER |
| **org\_id**<br><br><br>INTEGER |
| **org\_name**<br><br><br>STRING |
| **people\_name**<br><br><br>STRING |
| **person\_id**<br><br><br>INTEGER |
| **person\_name**<br><br><br>STRING |
| **product\_id**<br><br><br>INTEGER |
| **product\_name**<br><br><br>STRING |
| **remote\_id**<br><br><br>STRING |
| **remote\_location**<br><br><br>STRING |
| **s3\_bucket**<br><br><br>STRING |
| **update\_time**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |
| **user\_id**<br><br><br>INTEGER |

### filters

The `filters` table contains info about the filters, or data validation conditions, used in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [filters schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/filters.json "Opens in new tab: filters schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Filters "Opens in new tab: Pipedrive API method") |

filters table foreign keys

| Join filters with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>filters.user_id = activities.assigned_to_user_id<br>```<br><br>```<br>filters.user_id = activities.created_by_user_id<br>```<br><br>```<br>filters.user_id = activities.user_id<br>``` |
| [dealflow](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#dealflow) | ```<br>filters.user_id = dealflow.user_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>filters.user_id = deals.creator_user_id<br>```<br><br>```<br>filters.user_id = deals.user_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>filters.user_id = files.user_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>filters.user_id = notes.last_update_user_id<br>```<br><br>```<br>filters.user_id = notes.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#users) | ```<br>filters.user_id = users.id<br>``` |

filters table schema

| **active\_flag**<br><br><br>BOOLEAN |
| --- |
| **add\_time**<br><br><br>DATE-TIME |
| **custom\_view\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **temporary\_flag**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |
| **update\_time**<br><br><br>DATE-TIME |
| **user\_id**<br><br><br>INTEGER |
| **visible\_to**<br><br><br>STRING |

### notes

The `notes` table contains info about recent notes in your Pipedrive account. Notes are pieces of textual (HTML-formatted) information that can be attached to [`deals`](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals), [`persons`](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#persons) and [`organizations`](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#organizations).

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [notes schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/notes.json "Opens in new tab: notes schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/Notes#getNotes "Opens in new tab: Pipedrive API method") |

notes table foreign keys

| Join notes with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>notes.deal_id = activities.deal_id<br>```<br><br>```<br>notes.org_id = activities.org_id<br>```<br><br>```<br>notes.person_id = activities.participants.person_id<br>```<br><br>```<br>notes.person_id = activities.person_id<br>```<br><br>```<br>notes.last_update_user_id = activities.assigned_to_user_id<br>```<br><br>```<br>notes.user_id = activities.assigned_to_user_id<br>```<br><br>```<br>notes.last_update_user_id = activities.created_by_user_id<br>```<br><br>```<br>notes.user_id = activities.created_by_user_id<br>```<br><br>```<br>notes.last_update_user_id = activities.user_id<br>```<br><br>```<br>notes.user_id = activities.user_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>notes.deal_id = deals.id<br>```<br><br>```<br>notes.org_id = deals.org_id<br>```<br><br>```<br>notes.last_update_user_id = deals.creator_user_id<br>```<br><br>```<br>notes.user_id = deals.creator_user_id<br>```<br><br>```<br>notes.last_update_user_id = deals.user_id<br>```<br><br>```<br>notes.user_id = deals.user_id<br>``` |
| [deal_products](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deal-products) | ```<br>notes.deal_id = deal_products.deal_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>notes.deal_id = files.deal_id<br>```<br><br>```<br>notes.id = files.note_id<br>```<br><br>```<br>notes.org_id = files.org_id<br>```<br><br>```<br>notes.person_id = files.person_id<br>```<br><br>```<br>notes.last_update_user_id = files.user_id<br>```<br><br>```<br>notes.user_id = files.user_id<br>``` |
| [organizations](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#organizations) | ```<br>notes.org_id = organizations.id<br>``` |
| [persons](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#persons) | ```<br>notes.person_id = persons.id<br>``` |
| [dealflow](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#dealflow) | ```<br>notes.last_update_user_id = dealflow.user_id<br>```<br><br>```<br>notes.user_id = dealflow.user_id<br>``` |
| [filters](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#filters) | ```<br>notes.last_update_user_id = filters.user_id<br>```<br><br>```<br>notes.user_id = filters.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#users) | ```<br>notes.last_update_user_id = users.id<br>```<br><br>```<br>notes.user_id = users.id<br>``` |

notes table schema

| **active\_flag**<br><br><br>BOOLEAN |
| --- |
| **add\_time**<br><br><br>DATE-TIME |
| **content**<br><br><br>STRING |
| **deal**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand deal<br><br><table> <tr> <td> <p> <strong>								title							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **deal\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **last\_update\_user\_id**<br><br><br>INTEGER |
| **org\_id**<br><br><br>INTEGER |
| **organization**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand organization<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **person**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand person<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **person\_id**<br><br><br>INTEGER |
| **pinned\_to\_deal\_flag**<br><br><br>BOOLEAN |
| **pinned\_to\_organization\_flag**<br><br><br>BOOLEAN |
| **pinned\_to\_person\_flag**<br><br><br>BOOLEAN |
| **update\_time**<br><br><br>DATE-TIME |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand user<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								icon_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_you							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **user\_id**<br><br><br>INTEGER |

### organizations

The `organizations` table contains info about the recent organizations in your Pipedrive account. Organizations are companies and other types of organizations you are making deals with.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** |  |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [organizations schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/organizations.json "Opens in new tab: organizations schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizations "Opens in new tab: Pipedrive API method") |

organizations table foreign keys

| Join organizations with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>organizations.last_activity_id = activities.id<br>```<br><br>```<br>organizations.next_activity_id = activities.id<br>```<br><br>```<br>organizations.id = activities.org_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>organizations.last_activity_id = deals.last_activity_id<br>```<br><br>```<br>organizations.next_activity_id = deals.last_activity_id<br>```<br><br>```<br>organizations.last_activity_id = deals.next_activity_id<br>```<br><br>```<br>organizations.next_activity_id = deals.next_activity_id<br>```<br><br>```<br>organizations.id = deals.org_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>organizations.last_activity_id = files.activity_id<br>```<br><br>```<br>organizations.next_activity_id = files.activity_id<br>```<br><br>```<br>organizations.id = files.org_id<br>``` |
| [persons](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#persons) | ```<br>organizations.last_activity_id = persons.last_activity_id<br>```<br><br>```<br>organizations.next_activity_id = persons.last_activity_id<br>```<br><br>```<br>organizations.last_activity_id = persons.next_activity_id<br>```<br><br>```<br>organizations.next_activity_id = persons.next_activity_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>organizations.id = notes.org_id<br>``` |

organizations table schema

| **id**<br><br><br>INTEGER |
| --- |
| **org\_id**<br><br><br>INTEGER |
| **owner\_id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **open\_deals\_count**<br><br><br>INTEGER |
| **related\_open\_deals\_count**<br><br><br>INTEGER |
| **closed\_deals\_count**<br><br><br>INTEGER |
| **related\_closed\_deals\_count**<br><br><br>INTEGER |
| **email\_messages\_count**<br><br><br>INTEGER |
| **people\_count**<br><br><br>INTEGER |
| **activities\_count**<br><br><br>INTEGER |
| **done\_activities\_count**<br><br><br>INTEGER |
| **undone\_activities\_count**<br><br><br>INTEGER |
| **files\_count**<br><br><br>INTEGER |
| **notes\_count**<br><br><br>INTEGER |
| **followers\_count**<br><br><br>INTEGER |
| **won\_deals\_count**<br><br><br>INTEGER |
| **related\_won\_deals\_count**<br><br><br>INTEGER |
| **lost\_deals\_count**<br><br><br>INTEGER |
| **related\_lost\_deals\_count**<br><br><br>INTEGER |
| **is\_deleted**<br><br><br>BOOLEAN |
| **first\_char**<br><br><br>STRING |
| **update\_time**<br><br><br>STRING |
| **add\_time**<br><br><br>STRING |
| **visible\_to**<br><br><br>STRING |
| **next\_activity\_id**<br><br><br>INTEGER |
| **last\_activity\_id**<br><br><br>INTEGER |
| **address**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand address<br><br><table> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								admin_area_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								admin_area_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								route							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								street_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### persons

The `persons` table contains info about the recent persons in your Pipedrive account. In Pipedrive, a person represents a contact, or a customer you’re doing a deal with.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [persons schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/persons.json "Opens in new tab: persons schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/Persons "Opens in new tab: Pipedrive API method") |

persons table foreign keys

| Join persons with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>persons.last_activity_id = activities.id<br>```<br><br>```<br>persons.next_activity_id = activities.id<br>```<br><br>```<br>persons.id = activities.participants.person_id<br>```<br><br>```<br>persons.id = activities.person_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>persons.last_activity_id = deals.last_activity_id<br>```<br><br>```<br>persons.next_activity_id = deals.last_activity_id<br>```<br><br>```<br>persons.last_activity_id = deals.next_activity_id<br>```<br><br>```<br>persons.next_activity_id = deals.next_activity_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>persons.last_activity_id = files.activity_id<br>```<br><br>```<br>persons.next_activity_id = files.activity_id<br>```<br><br>```<br>persons.id = files.person_id<br>``` |
| [organizations](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#organizations) | ```<br>persons.last_activity_id = organizations.last_activity_id<br>```<br><br>```<br>persons.next_activity_id = organizations.last_activity_id<br>```<br><br>```<br>persons.last_activity_id = organizations.next_activity_id<br>```<br><br>```<br>persons.next_activity_id = organizations.next_activity_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>persons.id = notes.person_id<br>``` |

persons table schema

| **id**<br><br><br>INTEGER |
| --- |
| **owner\_id**<br><br><br>INTEGER |
| **org\_id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **last\_name**<br><br><br>STRING |
| **open\_deals\_count**<br><br><br>INTEGER |
| **related\_open\_deals\_count**<br><br><br>INTEGER |
| **closed\_deals\_count**<br><br><br>INTEGER |
| **related\_closed\_deals\_count**<br><br><br>INTEGER |
| **participant\_open\_deals\_count**<br><br><br>INTEGER |
| **participant\_closed\_deals\_count**<br><br><br>INTEGER |
| **email\_messages\_count**<br><br><br>INTEGER |
| **activities\_count**<br><br><br>INTEGER |
| **done\_activities\_count**<br><br><br>INTEGER |
| **undone\_activities\_count**<br><br><br>INTEGER |
| **reference\_activities\_count**<br><br><br>INTEGER |
| **files\_count**<br><br><br>INTEGER |
| **notes\_count**<br><br><br>INTEGER |
| **followers\_count**<br><br><br>INTEGER |
| **won\_deals\_count**<br><br><br>INTEGER |
| **related\_won\_deals\_count**<br><br><br>INTEGER |
| **lost\_deals\_count**<br><br><br>INTEGER |
| **related\_lost\_deals\_count**<br><br><br>INTEGER |
| **is\_deleted**<br><br><br>BOOLEAN |
| **phones**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand phones<br><br><table> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								primary							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **im**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand im<br><br><table> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								primary							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **emails**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand emails<br><br><table> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								primary							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **update\_time**<br><br><br>STRING |
| **add\_time**<br><br><br>STRING |
| **visible\_to**<br><br><br>STRING |
| **picture\_id**<br><br><br>INTEGER |
| **birthday**<br><br><br>STRING |
| **job\_title**<br><br><br>STRING |
| **postal\_address**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand postal\_address<br><br><table> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								admin_area_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								admin_area_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								route							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								street_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **next\_activity\_id**<br><br><br>INTEGER |
| **last\_activity\_id**<br><br><br>INTEGER |
| **last\_outgoing\_mail\_time**<br><br><br>STRING |

### pipelines

The `pipelines` table contains info about the pipelines in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [pipelines schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/pipelines.json "Opens in new tab: pipelines schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Pipelines "Opens in new tab: Pipedrive API method") |

pipelines table foreign keys

| Join pipelines with | on |
| --- | --- |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>pipelines.id = deals.pipeline_id<br>``` |
| [stages](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#stages) | ```<br>pipelines.id = stages.pipeline_id<br>``` |

pipelines table schema

| **id**<br><br><br>INTEGER |
| --- |
| **name**<br><br><br>STRING |
| **order\_nr**<br><br><br>INTEGER |
| **is\_deleted**<br><br><br>BOOLEAN |
| **is\_deal\_probability\_enabled**<br><br><br>BOOLEAN |
| **add\_time**<br><br><br>STRING |
| **update\_time**<br><br><br>STRING |
| **selected**<br><br><br>BOOLEAN |

### products

The `products` table contains info about the recent products in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [products schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/products.json "Opens in new tab: products schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/Products "Opens in new tab: Pipedrive API method") |

products table foreign keys

| Join products with | on |
| --- | --- |
| [deal_products](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deal-products) | ```<br>products.id = deal_products.product_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>products.id = files.product_id<br>``` |

products table schema

| **id**<br><br><br>INTEGER |
| --- |
| **name**<br><br><br>STRING |
| **code**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **unit**<br><br><br>STRING |
| **tax**<br><br><br>INTEGER |
| **category**<br><br><br>STRING |
| **is\_linkable**<br><br><br>BOOLEAN |
| **is\_deleted**<br><br><br>BOOLEAN |
| **visible\_to**<br><br><br>STRING |
| **owner\_id**<br><br><br>INTEGER |
| **add\_time**<br><br><br>STRING |
| **update\_time**<br><br><br>STRING |
| **prices**<br><br><br>OBJECT, ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand prices<br><br><table> <tr> <td> <p> <strong>								USD							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand USD</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cost							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								overhead_cost							</strong> </p> <p>							NUMBER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |

### stages

The `stages` table contains info about the pipeline stages in your Pipedrive account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | update\_time |
| **Useful links** | [stages schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/stages.json "Opens in new tab: stages schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Stages/get_stages "Opens in new tab: Pipedrive API method") |

stages table foreign keys

| Join stages with | on |
| --- | --- |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>stages.pipeline_id = deals.pipeline_id<br>```<br><br>```<br>stages.id = deals.stage_id<br>``` |
| [pipelines](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#pipelines) | ```<br>stages.pipeline_id = pipelines.id<br>``` |

stages table schema

| **id**<br><br><br>INTEGER |
| --- |
| **order\_nr**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **is\_deleted**<br><br><br>BOOLEAN |
| **is\_deal\_rot\_enabled**<br><br><br>BOOLEAN |
| **deal\_probability**<br><br><br>INTEGER |
| **days\_to\_rotten**<br><br><br>INTEGER |
| **pipeline\_id**<br><br><br>INTEGER |
| **add\_time**<br><br><br>STRING |
| **update\_time**<br><br><br>STRING |

### users

The `users` table contains info about the users associated with your Pipedrive account. **Note**: This table contains info about the people with access to your Pipedrive account - they should not be confused with [`persons`](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#persons).

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [users schema on GitHub](https://github.com/singer-io/tap-pipedrive/blob/master/tap_pipedrive/schemas/recents/users.json "Opens in new tab: users schema on GitHub")<br><br><br>[Pipedrive API method](https://developers.pipedrive.com/docs/api/v1/#!/Recents "Opens in new tab: Pipedrive API method") |

users table foreign keys

| Join users with | on |
| --- | --- |
| [activities](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#activities) | ```<br>users.id = activities.assigned_to_user_id<br>```<br><br>```<br>users.id = activities.created_by_user_id<br>```<br><br>```<br>users.id = activities.user_id<br>``` |
| [dealflow](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#dealflow) | ```<br>users.id = dealflow.user_id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#deals) | ```<br>users.id = deals.creator_user_id<br>```<br><br>```<br>users.id = deals.user_id<br>``` |
| [files](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#files) | ```<br>users.id = files.user_id<br>``` |
| [filters](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#filters) | ```<br>users.id = filters.user_id<br>``` |
| [notes](https://help.qlik.com/en-US/stitch/integrations/saas/pipedrive/v1#notes) | ```<br>users.id = notes.last_update_user_id<br>```<br><br>```<br>users.id = notes.user_id<br>``` |

users table schema

| **activated**<br><br><br>BOOLEAN |
| --- |
| **active\_flag**<br><br><br>BOOLEAN |
| **created**<br><br><br>DATE-TIME |
| **default\_currency**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **has\_created\_company**<br><br><br>BOOLEAN |
| **icon\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **is\_admin**<br><br><br>INTEGER |
| **is\_you**<br><br><br>BOOLEAN |
| **lang**<br><br><br>INTEGER |
| **last\_login**<br><br>DATE-TIME<br><br>STRING |
| **locale**<br><br><br>STRING |
| **modified**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **phone**<br><br><br>STRING |
| **role\_id**<br><br><br>INTEGER |
| **signup\_flow\_variation**<br><br><br>STRING |
| **timezone\_name**<br><br><br>STRING |
| **timezone\_offset**<br><br><br>STRING |