Pipedrive is a popular CRM for sales teams and a pipeline management software. You can use the Pipedrive API to export data from Pipedrive for analysis and reports.
To pull data from the Pipedrive API to Google Sheets easily and without writing any code, first install and open the Apipheny Google Sheets add-on.
Apipheny is a no-code API integrator for Google Sheets that you can use to make unlimited API requests, connect to unlimited APIs (including the Pipedrive API), save API requests, schedule API requests, and more. Click here if you want to learn more about Apipheny.
1. Install Apipheny by clicking the Install button on this page.
2. After you’ve installed Apipheny, open a Google Sheet and then click on the Add-Ons option in the top menu. In the add-ons menu, you should see Apipheny.
Click Apipheny > Import API to open the Apipheny sidebar in your Google Sheets.
Then, in the Personal section, click Personal Preferences > API:
Here is where you will find your personal Pipedrive API Token. Copy and paste this token to a safe location, because you’ll need it in the following steps.
In this section, we’ll show you how to browse the Pipedrive API documentation to find an API URL that retrieves the information you need from your Pipedrive account. If you already know your Pipedrive API URL, or you want to use the same example URL as us, just skip ahead to Step 4.
First, open the Pipedrive API documentation page: https://developers.pipedrive.com/docs/api/v1/#/
The menu on the left contains a list of all the available categories of data that you can export from Pipedrive:
Clicking on a category expands the list of it’s available endpoints in the menu and scrolls to that category’s section, on the right. Clicking on an endpoint in the menu scrolls to that specific endpoint’s section.
All API calls to Pipedrive should be made to the https://api.pipedrive.com/v1/ base domain.
Pipedrive API base/root URL: https://api.pipedrive.com/v1/
An example Pipedrive API endpoint is Get all activities assigned to a particular user, and here is what the whole URL looks like put together:
In this URL, <your_API_token> represents the API token we obtained in Step 2.
Each endpoint’s documentation contains the HTTP method used (eg. GET), the link you should append to the root API URL for querying this endpoint (eg. /activities), a short description of the endpoint’s purpose, and a list of the available parameters:
As you can see from this example, for endpoints that accept parameters, this documentation is where you would find them explained.
Each endpoint can be tested from the documentation page, by setting values for the parameters and clicking the Run endpoint button:
To run your Pipedrive API request, go back to your Google Sheet and make sure that the Apipheny add-on is open on the “Import” tab (screenshot below).
With the Import Tab open, enter these details into the add-on:
API URL: In Step 3, I explained how you can find the Pipedrive REST API endpoint that you need. Now copy your complete URL (base URL + endpoint + parameters) into the Apipheny add-on, where it says API URL Path.
For this example, we are using the Get all users endpoint, to export data about all users from our Pipedrive account. Here is the example API URL we are using:
<your_API_token> is the API token we obtained in Step 2.
Key: Accept Value: application/json
Once you have your Pipedrive API URL and headers entered into Apipheny, click the Run button at the bottom of the Apipheny add-on and then wait for the Pipedrive API data to be pulled in to your Google Sheet:
After making a successful request to the Pipedrive API, try querying a different endpoint, or try using one of the more advanced features in the Apipheny add-on, such as: