> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsales.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up the Pipedrive integration

> Connect a Pipedrive company to GetSales, choose what syncs, send people from your tables, read saved filters into tables, and disconnect or uninstall the app.

The Pipedrive integration keeps a Pipedrive company and your GetSales workspace in step:

* **Saved filters become table sources.** A saved filter of persons fills a table with the persons it matches, keeps them in sync on a schedule, and brings the person fields you choose as columns of their own.
* **People and organizations go to Pipedrive.** A Send to CRM column creates or updates a Pipedrive person or organization for every row, with the fields you map.
* **Outreach lands on the person.** LinkedIn messages and connection requests, emails and AI SDR hand-offs are logged as notes on the person as they happen, with their words and the sender profile that sent them, at the time they happened.
* **A status moves with the conversation.** A person field of yours, such as a status field or the person's labels, moves forward as a request is sent, accepted, a message goes out or the lead replies, and the AI SDR's class of a reply can land on a field too.

Everything is set up from GetSales. Nothing is installed in Pipedrive by hand.

## Before you start

* A GetSales workspace, and a role that can manage integrations in it.
* A Pipedrive company where your user may install apps from the Marketplace.
* To find leads by their LinkedIn profile: a person field that holds the LinkedIn link, such as a custom text field named LinkedIn. Pipedrive persons have no LinkedIn field of their own.

## Connect a Pipedrive company

1. Open [https://app.getsales.io/settings/integrations](https://app.getsales.io/settings/integrations) and pick **Pipedrive**.
2. Click **Connect Pipedrive** (or **Connect another company** when one is already connected).
3. Pipedrive shows the access GetSales asks for (listed below). Under **This app will be added to the following company and user**, check that the company is the one you want, and click **Allow and Install**.
4. Pipedrive sends you back to GetSales, and the company appears under **Companies** with the status **On**.

Connect within 15 minutes of clicking Connect Pipedrive. A link that waited longer is refused, and you start again from step 2.

A workspace holds one connection per Pipedrive company. Pipedrive installs an app per user, so when a colleague connects the same company from their own Pipedrive user, the connection moves to that user and keeps its settings: GetSales then reads and writes what that user may.

### What GetSales can access

| Access | Why GetSales asks for it |
| - | - |
| `base` | Tells GetSales which Pipedrive company and user it is connected to. |
| `contacts:full` | Finds the person for a lead, creates or updates persons and organizations, logs notes on them, and reads your person fields and saved filters. |
| `search:read` | Finds a person by email, or by the LinkedIn link in your LinkedIn field. |

## Choose what syncs

### Activity on the person

Under **Activity sync** on the Pipedrive card in Settings, each switch starts logging from the moment it is turned on. Nothing that happened before is written.

* **Log messages to the timeline**: LinkedIn messages your sender profiles send and receive, with their words.
* **Log emails to the timeline**: emails sent and received, each with its subject and words. Leave it off when your team already syncs its mailboxes into Pipedrive, so an email is not there twice.
* **Log connection requests**: a connection request sent, with its note, and its accept.
* **Log AI SDR hand-offs**: a hand-off from the AI SDR lands as a note on the person, when GetSales already knows the lead's Pipedrive person from an earlier message or request, a Send to CRM column or a saved filter. A hand-off of a lead with no known person is skipped.

Each event is a note on the person, its first line saying who wrote to whom, then the words. A lead is matched to a person the same way as in Send to CRM below. An event of a lead who matches no person is not written, and it shows under **Recent failures**.

Pipedrive keeps at most 100 notes on a person. Past that, Pipedrive refuses a new note: the refusal shows under Recent failures, and the status and dates still move.

### Status and dates

Click **Set up** next to **Status and dates** on the Pipedrive card (the button reads **Edit** once something is mapped):

* **Status field**: the person field that follows the conversation, a single option field or the person's labels. For each event (connection request sent, connection accepted, message sent, replied) pick the value it sets, or leave it as is.
* The status only moves forward, in the order of the events. A value someone set by hand that is not one of the mapped values stays. On the labels, only the labels you mapped move, and every other label stays. **Also replace** lists the values GetSales may replace, such as New.
* **Date goes to**: a date field that takes the day of each event.
* **Reply class field**: a field that takes the AI SDR's class of a lead's reply (interested, meeting request, not now and the others), each class mapped to a value of yours.
* **LinkedIn link**: the person field where your company keeps a person's LinkedIn profile, so a lead can be found by it. When none is chosen, GetSales uses your custom field whose name contains LinkedIn.

### Send people and organizations to Pipedrive

Add a **Send to CRM** column to a table and pick the Pipedrive company under **Send to**:

* **Matching**: a person is found by the Pipedrive person id they already hold, then by their LinkedIn profile in your LinkedIn field, then by their work email or personal email. When none of these finds a person, a new one is created from the row's name or email, with the LinkedIn link written into your LinkedIn field. An organization is matched by its exact name, and its domain is written to Website.
* **Field mapping**: each Pipedrive field you add gets its value from the row, written per row. Type `/` in a value to insert a column of the table. Only mapped fields are written. For a field with options, such as a status field or the labels, write the option as Pipedrive names it (Contacted), any case; several labels go comma separated. A name the field does not have is refused in the cell with the options it has.
* **Send new rows**: when on, every row that lands in the table is sent as it arrives. When another column of the row is still filling its name or email, such as an enrichment, the send waits for it.

Run the column on the rows you choose to send them at once. The cell shows the Pipedrive record it wrote, or why Pipedrive refused it.

### Read a saved filter into a table

In a table, open **Data sources** and choose **CRM segment**:

1. Pick the Pipedrive company and type to find the saved filter of persons by name. A filter you build in Pipedrive (by a label, an owner or a field such as Campaign) is the segment.
2. Under **LinkedIn field**, keep or pick the field that holds the LinkedIn link, so each person arrives with it.
3. Under **Sync**, choose every hour, every day or every week. A person who starts matching the filter is added to the table. A person who stops matching it leaves the table's campaigns.
4. Under **Columns from Pipedrive**, add up to 25 custom person fields, each with a column name of your own. Name, email, organization, job title and the LinkedIn link always come. A mapped field's value wins over enrichment and follows Pipedrive on every sync.

**Sync now** reads the filter at once.

## Use it

* **Automated:** rows are sent as they arrive when Send new rows is on, activity is logged as it happens, statuses and dates move with each event, and filters sync on their schedule.
* **Manual:** run a Send to CRM column on chosen rows, or click Sync now on a filter source.
* **See what happened:** a lead's card shows a **CRM** section with the Pipedrive person the lead was matched to, how it was found, and the lead's recent Pipedrive calls with each failure's reason. The Pipedrive card in Settings lists the company's recent failures.

## Pipedrive's API limits

Every app and API token of a Pipedrive company shares one daily budget of API tokens, set by the company's plan and its number of users, and Pipedrive also limits how many requests arrive in any two seconds. GetSales paces its own calls to stay under the two second limit. When Pipedrive answers that the company's day is spent, GetSales stops calling that company until Pipedrive's next reset. Notes, status writes and filter reads then pick up where they stopped, and nothing is written twice. A Send to CRM cell waits out a short hold, trying again every minute for up to 15 minutes, but a cell that meets a spent day fails with Rate limit reached: run the rows with errors again after the reset. A note costs 10 tokens, a status write about 6, and a lead's first match about 50 at most (more when many persons share a LinkedIn link).

## Disconnect

On the Pipedrive card in [https://app.getsales.io/settings/integrations](https://app.getsales.io/settings/integrations), open the company's actions and click **Delete**:

* Every sync of that company stops: no more rows sent, activity logged or filters read.
* GetSales deletes its copy of the access. To remove the app from Pipedrive too, uninstall it as described below.
* What is already written stays: persons, organizations and notes in Pipedrive, and people, rows and column values in GetSales.
* Connecting the same account again after a Delete makes a new connection with no settings: turn its switches on and set Status and dates again, pick it in each Send to CRM column, and create its sources again. A source of the deleted connection stops as Failed and keeps its people.

## Uninstall from Pipedrive

In Pipedrive, open your profile menu, then **Tools and apps**, then **Installed apps**. Pick **GetSales Sync** and click **Uninstall**.

After an uninstall GetSales can no longer read or write that company. The connection shows as needing attention in Settings, and filter sources of that company stop syncing. Records already written in Pipedrive and data already in GetSales stay.

## Troubleshooting

* **"Not created: Pipedrive needs a name or an email for a new contact."**: the row matched no person and has neither a name nor an email to create one. Enrich the row or fill one of them, then run the cell again.
* **Leads are not found by their LinkedIn profile**: pick your LinkedIn field under **Status and dates**, **LinkedIn link**. Pipedrive's search matches the link as it is typed in the field, so a link typed with capital letters is found by the email instead.
* **The company needs attention**: Pipedrive refused its access, often after an uninstall, a removed user, or 60 days with no call at all. Connect it again.
* **Calls wait until tomorrow**: the company's daily API budget is spent, often by other apps or scripts on the same company. Pipedrive's admins can see the usage under Company settings, and buy more.

Questions: [support@getsales.io](mailto:support@getsales.io).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.