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

# Pipedrive

> Push leads and companies from Pipecorn to Pipedrive as people and organizations, and create a deal for each one in the pipeline and stage you pick.

The Pipedrive integration pushes your leads from Pipecorn to Pipedrive:

* **People and organizations.** Send the leads of a search or saved list to
  Pipedrive as people, each linked to their organization.
* **Deals.** Optionally create a deal for each person, in the pipeline and
  stage you pick, with a note summing up who they are.

Pipedrive doesn't support importing lists into Pipecorn, flagging search
results already in Pipedrive, or owner mapping. See
[what each CRM supports](https://docs.pipecorn.com/integrations/overview.md#what-each-crm-supports).

## Connect Pipedrive

**1. Start from Pipecorn**

In Pipecorn, open **Settings → Integrations**, go to the **CRM** tab and
click **Connect** next to Pipedrive.

**2. Approve the access**

Sign in to Pipedrive and allow Pipecorn's access. You land back on the
Pipedrive page in Pipecorn, which loads your person and organization fields,
pipelines and stages.

**3. Map your fields**

Map Pipecorn fields to Pipedrive fields on the **Contact Mapping** and
**Company Mapping** tabs. Nothing is mapped for you.

The integration shows **Set-up your CRM integration** until these are mapped:

* Contact mapping: First Name, Last Name and Most Probable Email.
* Company mapping: Company Domain and Company Name.

## Map your fields

Pipedrive's name field is split into **First Name** and **Last Name** in the
mapping. Map any other Pipecorn field, such as job title, LinkedIn URL or
employee count, to a Pipedrive custom field.

The email always goes to the person's **Email** as their primary work email,
and phone numbers to their **Phone** as mobile numbers, whichever field you map
them to.

If you add fields, pipelines or stages in Pipedrive later, click **Re-sync
fields** to see them in Pipecorn.

## Push leads to Pipedrive

From a search or a saved list, open the **Push to** menu and pick
**Pipedrive**. Choose the leads to send and click **Start sync**. See
[Push leads](https://docs.pipecorn.com/integrations/overview.md#push-leads) for the filters.

Pipecorn creates or updates the organizations first, then the people, one at
a time, and links each person to their organization. Leads without a name are
skipped.

### Duplicate check

Before creating a person, Pipecorn looks for them in Pipedrive in this order:

1. **LinkedIn URL**, in the field you mapped the LinkedIn URL to.
2. **Email**.
3. **Name**: the same first and last name, at the same organization.

Organizations are matched by **Domain**, then **LinkedIn page**, then the same
**name in the same country**.

When several people or organizations match, Pipecorn creates nothing for that
lead and lists it in the errors.

Existing people and organizations only get their empty fields filled, and only
when **Fill missing contact data ?** or **Fill missing company data ?** is on.

## Create deals

In the push dialog, tick **Create deals in Pipedrive**, then pick a
**Pipeline** and a **Stage**. Optionally type a **Deal label**, such as
`Hot lead`. Pipedrive gets one open deal per person:

* Its title is `<person name> - <company name>`.
* It's linked to the person and their organization.
* It carries the label, if you typed one. A label that doesn't exist yet is
  added to your Pipedrive deal labels.
* A pinned note holds the person's LinkedIn profile, the company details and
  the contact details you mapped, and the import date.

Pipecorn remembers the pipeline and stage for your next push.

> [!WARNING]
>
> Every push creates new deals, including for people who were already in
> Pipedrive. Pushing the same leads twice gives them two deals. Push only the
> leads you haven't pushed yet, or leave **Create deals in Pipedrive** off.

Deals are only created from the push dialog. Pushes from an alert, and
selections pushed from a saved list's **Push** button, create people and
organizations only.

## Disconnect

Open Pipedrive in **Settings → Integrations** and click **Disconnect**.
Pipecorn deletes the connection, the field mapping and the settings. Records
and deals you already pushed stay in Pipedrive.

Disconnecting doesn't revoke Pipecorn's access in Pipedrive. To revoke it, also
uninstall Pipecorn from your installed apps in Pipedrive.


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