The Pipedrive integration gives you the possibility to easily sync all your customers to Retently, and automatically import new contacts. But the real power of the integration lays in the ability to segment your Pipedrive audience and assign it to NPS campaigns.
Follow the tutorial below to learn how to set up the integration.
Generate Pipedrive API token
When connecting the integration you will be asked to provide your Pipedrive API token. The token can be found under Settings > Customize > Personal > Other > API.
If you can't find your API token here, it may be that the permission set you are in does not have that permission enabled. For more information on permission sets, click here.
Integration main page
Once you have successfully connected your Pipedrive account, you will be redirected on the integration's main page where you will see all your available lists and segments:
Main list;
Pipedrive segments;
Custom segments created in Retently using Pipedrive properties.
Each list or segment shows the following:
Name: When a name is too long to fit, hover over it to see it in full. You can edit the name of custom segments only.
Contacts and auto-sync: The line under the name shows how many contacts the list has in Pipedrive and whether auto-sync is on, for example "135 contacts · Auto-sync: On". The icon next to the name is green while auto-sync is on and grey while it is off. Auto-sync is off by default, and you can switch it on from the menu next to the Sync now button.
Setup: Small labels that summarize how the list is set up. See "Segment setup at a glance" below.
Sync status: When the list last synced, for example "Synced 10 hours ago". Hover over it to see the exact date and time. A list that has not synced yet shows "Never synced". If a sync fails, the message shows in amber.
Next sync: While auto-sync is on, a second line shows when the next sync runs, for example "Next sync in 14 hours". Hover over it to see the exact date and time.
Sync report: Once a list has synced, hover over the (?) icon next to the sync status to see the report of the last sync, with its exact date and how many contacts were synced. If the number of contacts in the segment differs from the number synced, the report also shows the segment count. Filters, duplicates and API limits can all cause that difference. See Integration sync results for what each number means.
Sync now button: Import your contacts from Pipedrive and update them manually by clicking Sync now.
Menu: Click the arrow next to the Sync now button to switch auto-sync on or off, open the segment's settings, or delete a custom segment.
In the menu bar above the first list, you have the following options:
Filters: Filter your segments by type, or by sync status (finished, pending, failed, started or scheduled).
Sorting: Sort your lists and segments by type, number of contacts, auto-sync status, and last sync date.
Page controls: When you have more lists than fit on one page, the page range (for example "1-25 of 48") and the arrows sit next to the Create new segment button.
Create new segment button: Create a custom segment using properties from Pipedrive and additional filters.
Segment setup at a glance
Next to each list's name, a set of labels shows how the list is set up, so you don't need to open each list to check it. Click any label to go straight to the tab where you change that setting.
The first line shows mapping and filters for every list:
Mapping: "8 fields mapped" when you have chosen which Pipedrive properties to sync. A list you have not mapped yet shows an amber "Default mapping" label: it syncs Pipedrive's default fields only. Hover over it to see how many, and click it to map more. Opens the Mapping tab.
Filters: "2 filters", "1 filter" or "No filters". Hover over the label to see each filter rule, for example "Plan is Pro" or "Country is United States". Opens the Filters tab.
The second line only appears when a list uses a setting other than the default:
Duplicates: "Duplicates: Skip" or "Duplicates: Append". Lists that use the default, Update, show no duplicates label.
Tags: "+2 tags" when the list adds tags to the contacts it imports. Hover over it to see the tag names.
Re-adds deleted: shown when the list adds back contacts you deleted in Retently.
These three open the Settings tab.
In the header of the page you have the following elements:
Last sync stats: It dis
the last sync happened, in any list or segment;
Refresh data button: Getting hold of lists and segments information, such as the number of contacts in Pipedrive, may take some time to load. That’s why Retently caches some data in your account that is being updated automatically once in a while. But you can force this process by clicking on the Refresh data button and have all the information updated with Pipedrive;
Menu button: By clicking on the arrow icon next to the Refresh data button, you will open the menu, which allows you to access the integration Settings page, and disconnect the integration.
Integration Settings page
Here, you can adjust the integration settings, which will apply to all your lists and segments.
Overwrite contact data in Retently: Choose what customer data shall be overwritten in Retently based on data updates in Pipedrive.
When a customer is deleted in Pipedrive: Decide what should Retently do with a customer if deleted in Pipedrive.
See whether Pipedrive is in use
On the Integrations page (Settings > Integrations), the Pipedrive card shows a status next to its name, followed by what the integration does and when it last did it:
In use (green): a sync, an export or a trigger happened in the last 30 days. For example: "In use • Exporting from 4 campaigns, last 10 minutes ago • Last sync 3 hours ago".
Set up, no recent activity (amber): exports or triggers are set up on your campaigns, but none ran in the last 30 days.
Connected, not in use (grey): Pipedrive is connected, but nothing is set up and nothing ran recently. For example: "Connected, not in use • No exports, no triggers • Last sync 4 months ago".
Disconnected: the red Disconnected label, followed by what is affected, for example "2 campaign exports are not being sent".
If no sync from Pipedrive has finished yet, the card shows "No sync recorded".
List and Segment settings page
You can access the Settings page from the menu next to each segment’s Sync now button on the main integration page.
The segments Settings page consists of three sections:
1. Map data
Your contacts have a list of properties in Pipedrive, such as name, email address, country etc. Retently will map some of these properties automatically, whilst others will have to be mapped manually.
If you have a property in Pipedrive that is not listed in Retently’s default list, for instance: “Signup date”, you can create a custom property and map it to the existing one in Pipedrive.
When creating a custom property, you will be asked to give it a name, and choose its type:
Text
Number
Date (will be formatted in our app as mm/dd/yyyy)
Collection (recommended with properties that host multiple values)
Mapping a property means that you select it to be imported to Retently and applied to customers.
Mapping also helps our system understand what is this property, and how should it be named in your account.
You will be using these properties when creating custom Pipedrive segments, or when filtering the audience for your NPS campaigns.
2. Filter data
Once you have mapped customer properties and helped Retently understand what they are, you can create additional filters and decide what contacts will match this segment or list that you are currently configuring.
For instance, you can add the following filter:
Status -> is -> Customer AND Country -> is -> USA
If you don’t create additional filters, then all your contacts from this list or segment will be synced with Retently, together with the mapped properties.
3. Segment settings
On this tab, you choose what happens to contacts that already exist in Retently when this list syncs, and which tags to add to the contacts it imports.
Manage duplicates
Skip: leave existing contacts unchanged. Contacts that already exist in Retently are not changed by this list. Only new contacts are added.
Update (default): replace all properties with this list. On every sync, each existing contact is rebuilt from this list: all of its custom properties are replaced with the ones mapped here. A property that is not mapped in this list, or is empty in Pipedrive, is removed from the contact, even if it was added manually, by CSV import, by API or by another list. Tags are removed too when this list adds none.
Append: update only the mapped properties. On every sync, only the properties mapped in this list are updated on existing contacts. Their other properties and tags are kept. A property that is empty in Pipedrive keeps its current value in Retently.
If your contacts get properties from more than one source, such as another list, a CSV import or the API, choose Append so those properties are kept.
A note under the option you pick describes what it does, so you can check the effect before you save.
Tag every contact from this list
Select existing tags or create new ones. Every contact this list imports gets these tags, which you can later use to filter your customers or survey responses.
The customer was deleted in Retently
Do not add (default): a contact you deleted in Retently stays deleted, even if it is still in this list in Pipedrive.
Re-add: a contact you deleted in Retently is restored on the next sync if it is still in this list in Pipedrive. Contacts removed by a privacy request are never restored, and nothing is restored while Manage duplicates is set to Skip.
Create a custom segment
To create a custom segment, you have to click on the + Create new segment button on your main integration page.
A pop-up will ask you to give the segment a name (which you can rename later if needed) and choose what main list should be used as the source of your contacts.
Defining the contacts source is important because each segment is created based on the customers and properties from a specific main list.
Next, you will be asked to configure the new custom segment, which means to map the properties, create additional filters, and adjust the segment settings. Basically, all the steps that we have covered in the previous chapter, “Lists and segments settings page”.
Syncing a list or segment
You can sync lists and segments, individually, from the main integration page. This can be done automatically, by clicking on the Sync now button, or you can activate the auto-sync option and let Retently sync them automatically, on a regular basis. You can have the auto-sync activated for a specific number of segments, which is proportional to the number of NPS campaigns you can create in your account.
When you try to sync a list for the first time, you will be given two options: to continue the sync with the default properties mapped automatically, or you can choose to map data and select what properties will be imported to Retently (this option is highly recommended).
Match Pipedrive audience with NPS campaigns
After you have synced your contacts, you can create an NPS campaign, or access an existing one, and go to the Audience section to choose the customers that will be surveyed in the campaign.
All the data that you have mapped before syncing a list or segment will be available in the properties menu. Next, choose an operator and set a value to establish a filter.
You can also select the “Pipedrive segment” property, which will give you the possibility to select one of the segments you have already synced.
You can find more details about the campaign audience segmentation here https://help.retently.com/campaigns/improved-audience-segmentation.










