1
0
mirror of synced 2025-12-25 02:09:19 -05:00

Source Pipedrive: Update documentation to follow the new format (#20738)

* Update Pipedrive documentation to follow the new format

* Minor modifications to the text

* Minor modifications to the text

---------

Co-authored-by: Amruta Ranade <11484018+Amruta-Ranade@users.noreply.github.com>
Co-authored-by: Sunny <6833405+sh4sh@users.noreply.github.com>
This commit is contained in:
sarafonseca
2023-02-14 16:42:33 -03:00
committed by GitHub
parent 140e0964c8
commit fb6e135a5f

View File

@@ -1,42 +1,49 @@
# Pipedrive
## Overview
This page contains the setup guide and reference information for the Pipedrive connector.
The Pipedrive connector can be used to sync your Pipedrive data. It supports full refresh sync for Deals, Leads, Activities, ActivityFields, Persons, Pipelines, Stages, Users streams and incremental sync for Activities, Deals, Persons, Pipelines, Stages, Users streams.
## Prerequisites
There was a priority to include at least a single stream of each stream type which is present on Pipedrive, so the list of the supported streams is meant to be easily extendable. By the way, we can only support incremental stream support for the streams listed [there](https://developers.pipedrive.com/docs/api/v1/Recents#getRecents).
* A Pipedrive account;
* An `API token`;
* A `client_id`, `client_secret`, and `refresh_token`.
### Output schema
## Setup guide
Several output streams are available from this source:
The Pipedrive connector accepts two authentication flows:
* [Activities](https://developers.pipedrive.com/docs/api/v1/Activities#getActivities),
### Via API Token Authentication
retrieved by [getRecents](https://developers.pipedrive.com/docs/api/v1/Recents#getRecents) \(incremental\)
Step 1 - Enable API Token:
* [ActivityFields](https://developers.pipedrive.com/docs/api/v1/ActivityFields#getActivityFields)
* [Deals](https://developers.pipedrive.com/docs/api/v1/Deals#getDeals),
If you don't see API next to the `Your companies` section, it's due to the permission sets handled by the company's admin. The company's admin can give you access to your API token by enabling it for you from the Settings in Pipedrive web app.
retrieved by [getRecents](https://developers.pipedrive.com/docs/api/v1/Recents#getRecents) \(incremental\)
For more information, access [enabling API for company users](https://pipedrive.readme.io/docs/enabling-api-for-company-users).
* [Leads](https://developers.pipedrive.com/docs/api/v1/Leads#getLeads)
* [Persons](https://developers.pipedrive.com/docs/api/v1/Persons#getPersons),
retrieved by [getRecents](https://developers.pipedrive.com/docs/api/v1/Recents#getRecents) \(incremental\)
Step 2 - Find the API Token:
* [Pipelines](https://developers.pipedrive.com/docs/api/v1/Pipelines#getPipelines),
You can get the API Token manually from the Pipedrive web app by going to account name (on the top right) > Company settings > Personal preferences > API.
retrieved by [getRecents](https://developers.pipedrive.com/docs/api/v1/Recents#getRecents) \(incremental\)
See [How to find the API Token](https://pipedrive.readme.io/docs/how-to-find-the-api-token) for detailed information.
* [Stages](https://developers.pipedrive.com/docs/api/v1/Stages#getStages),
### Via OAuth
retrieved by [getRecents](https://developers.pipedrive.com/docs/api/v1/Recents#getRecents) \(incremental\)
Step 1 - Register a Pipedrive app:
* [Users](https://developers.pipedrive.com/docs/api/v1/Users#getUsers),
Pipedrive allows integrations with its API through **registered apps**. So, to authenticate Airbyte, first you need to create a Pipedrive private app in the marketplace. Follow these [instructions](https://pipedrive.readme.io/docs/marketplace-registering-the-app) to register your integration.
retrieved by [getRecents](https://developers.pipedrive.com/docs/api/v1/Recents#getRecents) \(incremental\)
Step 2 - Follow the Oauth Authorization flow:
### Features
With the registered app, you can follow the authorization flow to obtain the `client_id`, `client_secret`, and `refresh_token` secrets. Pipedrive has documentation about it: https://pipedrive.readme.io/docs/marketplace-oauth-authorization.
Step 3 - Configure Airbyte:
Now you can fill the fields Client ID, Client Secret, and Refresh Token. Your Pipedrive connector is set up to work with the OAuth authentication.
## Supported sync modes
The Pipedrive connector supports the following sync modes:
| Feature | Supported? |
| :---------------------------- | :--------- |
@@ -46,43 +53,39 @@ Several output streams are available from this source:
| SSL connection | Yes |
| Namespaces | No |
### Performance considerations
## Supported Streams
Apart from `Fields` streams, all other streams support incremental.
* [Activities](https://developers.pipedrive.com/docs/api/v1/Activities#getActivities)
* [ActivityFields](https://developers.pipedrive.com/docs/api/v1/ActivityFields#getActivityFields)
* [DealFields](https://developers.pipedrive.com/docs/api/v1/DealFields#getDealFields)
* [Deals](https://developers.pipedrive.com/docs/api/v1/Deals#getDeals)
* [Leads](https://developers.pipedrive.com/docs/api/v1/Leads#getLeads)
* [OrganizationFields](https://developers.pipedrive.com/docs/api/v1/OrganizationFields#getOrganizationFields)
* [Organizations](https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizations)
* [PersonFields](https://developers.pipedrive.com/docs/api/v1/PersonFields#getPersonFields)
* [Persons](https://developers.pipedrive.com/docs/api/v1/Persons#getPersons)
* [Pipelines](https://developers.pipedrive.com/docs/api/v1/Pipelines#getPipelines)
* [Stages](https://developers.pipedrive.com/docs/api/v1/Stages#getStages)
* [Users](https://developers.pipedrive.com/docs/api/v1/Users#getUsers)
## Performance considerations
The Pipedrive connector will gracefully handle rate limits. For more information, see [the Pipedrive docs for rate limitations](https://pipedrive.readme.io/docs/core-api-concepts-rate-limiting).
## Getting started
### Requirements
* Pipedrive Account with wright to generate API Token
### Setup guide
This connector supports only authentication with API Token. To obtain API Token follow the instructions below:
#### Enable API:
1. Click Manage users from the left-side menu.
2. Click on the Permission sets tab.
3. Choose the set where the user \(who needs the API enabled\) belongs to.
4. Lastly, click on "use API" on the right-hand side section \(you need to scroll down a bit\).
Now all users who belong in the set that has the API enabled can find their API token under
Settings &gt; Personal Preferences &gt; API in their Pipedrive web app.
See [Enabling API for company users](https://pipedrive.readme.io/docs/enabling-api-for-company-users) for more info.
#### How to find the API token:
1. Account name \(on the top right\)
2. Company settings
3. Personal preferences
4. API
5. Copy API Token
See [How to find the API token](https://pipedrive.readme.io/docs/how-to-find-the-api-token) for more info.
## Changelog
| Version | Date | Pull Request | Subject |
@@ -99,4 +102,4 @@ See [How to find the API token](https://pipedrive.readme.io/docs/how-to-find-the
| 0.1.3 | 2021-08-26 | [5642](https://github.com/airbytehq/airbyte/pull/5642) | Remove date-time from deals stream |
| 0.1.2 | 2021-07-23 | [4912](https://github.com/airbytehq/airbyte/pull/4912) | Update money type to support floating point |
| 0.1.1 | 2021-07-19 | [4686](https://github.com/airbytehq/airbyte/pull/4686) | Update spec.json |
| 0.1.0 | 2021-07-19 | [4686](https://github.com/airbytehq/airbyte/pull/4686) | Release Pipedrive connector! |
| 0.1.0 | 2021-07-19 | [4686](https://github.com/airbytehq/airbyte/pull/4686) | 🎉 New source: Pipedrive connector |