Skip to main content
Pipedrive is a CRM that lets you track your sales pipeline, optimize leads, manage deals with AI and automate your entire sales process so you can focus on selling. This article provides an overview to get started with the Pipedrive connector in Peliqan. Please contact support if you have any additional questions or remarks.

Connect Pipedrive

In Peliqan, go to Connections > Add Connection > Select Pipedrive in the list > Enter the details of your Pipedrive instance. Steps to fetch your API Key in Pipedrive:
  1. Login to your Pipedrive Instance
  2. Navigate to MyAccount > Personal Preference
  3. Click on “API” tab.
  4. Copy the Personal API Token.

Example queries

Below are two example queries that show how to get the the timelines from deal stages from Pipedrive (number of days that deals were in a specific deal stage).

Writeback to Pipedrive from Python scripts

Basic writeback functions

Example to add a Person to Pipedrive:

Working with custom fields in Pipedrive

Read data from Pipedrive

Example function to convert custom fields from a Pipedrive object to readable field names:
Example person from Pipedrive, before mapping custom fields to readable field names:
Example after applying the above function:

Writing to Pipedrive

Example function to convert field names to the actual custom field keys from Pipedrive, when writing to Pipedrive (e.g. Adding or Updating a Contact or Organization):
Example contact to add/update in Pipedrive, before mapping field names to custom field keys:
Example after applying the above function (object ready to be sent to Pipedrive):