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.
Apipheny is an API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to unlimited API data sources, make unlimited API requests, and more. There is a 30 day free trial included.
1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install
2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.
In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.
Tip: you can open a new Google Sheet by entering this URL in your browser:
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.
Another example endpoint is the GET All Deals endpoint, which returns all deals from an account. Here is an example URL for this endpoint:
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.
Make a GET request
Make a POST request
PUT, PATCH, & DELETE Requests
Save requests for later
Schedule requests for automatic updates
Reference cell values in requests
=APIPHENY custom function
Stack multiple URLs in a single request
Run all saved requests at once
Modify your request settings
Import & export saved API settings
Alpha Vantage API
Constant Contact API
Facebook Graph API
Facebook Ads API
Google SERP API
Linkedin Ads API
Product Hunt API
Reddit Ads API
Riot Games API