Pipedrive
Pipedrive is a sales-focused CRM platform that helps businesses manage deals, contacts, activities, and sales pipelines. With Pipedrive, sales teams can track leads through customizable pipelines, manage customer relationships, schedule activities, and gain insights into sales performance. It's designed specifically for salespeople to keep their sales process organized and moving forward.
Authentication Types
Pipedrive supports 2 authentication methods:
-
OAuth - Secure, app-based authentication with granular permission control.
- Pros: Secure, per-user tracking, granular scope control, production-ready, supports all Pipedrive features
- Cons: Requires creating a Pipedrive app in Developer Hub, more complex setup
- Best for: Organizations wanting full control, compliance requirements, production deployments, marketplace apps
-
API Token - Simple, personal API token for quick integration.
- Pros: Very simple setup, works immediately, no app registration needed
- Cons: Full access to all user data, one token per user, less secure for shared environments, legacy method
- Best for: Personal use, testing, quick prototypes, single-user scenarios
General Settings
Before using the connector, you need to configure:
- Company Domain - Your Pipedrive company subdomain (e.g., if your Pipedrive URL is
https://mycompany.pipedrive.com, entermycompany)
You can find your company domain in your Pipedrive URL. It's the part before .pipedrive.com. For example:
- URL:
https://acmecorp.pipedrive.com→ Domain:acmecorp - URL:
https://sales-team-123.pipedrive.com→ Domain:sales-team-123
Setting up OAuth
To use Pipedrive with OAuth, you need to create a Pipedrive app and configure OAuth authentication.
1. Access Developer Hub
-
Log in to your Pipedrive account
-
Click on your profile icon in the top right corner
-
Select Developer Hub from the dropdown menu
2. Create a New App
-
In Developer Hub, click Create an app -> Create private app
-
Fill in the app details:
- App name: Enter a descriptive name (e.g., "Webrix Integration")
- Callback URL: Copy from Webrix platform
-
Click Save
3. Configure OAuth Settings
-
In your app settings, navigate to the OAuth & access scopes tab
-
Select the scopes your integration needs
-
Click Save
4. Get Client Credentials
-
In the OAuth & access scopes tab, find the Client credentials section
-
Copy the Client ID
-
Click Show next to Client secret and copy it
warningKeep your Client Secret secure! Never share it publicly or commit it to version control.
5. Configure in Webrix
-
In Webrix, go to Integrations → New → Built-in
-
Select Pipedrive and click Use
-
Under General Settings, enter your Company Domain (e.g.,
mycompany) -
Under Authentication Type, select OAuth
-
Paste your Client ID in the Client ID field
-
Paste your Client Secret in the Client Secret field
-
Review and adjust the Scopes if needed
-
Click Save Changes
6. Test the Connection
-
After saving, click Connect to test the OAuth flow
-
You'll be redirected to Pipedrive to authorize the app
-
Review the permissions requested and click Allow and Install
-
You'll be redirected back to Webrix with a successful connection
Setting up API Token
API Token authentication is simpler but less secure. Use this for personal testing or single-user scenarios.
1. Find Your API Token
-
Log in to your Pipedrive account
-
Click on your profile icon in the top right corner
-
Select Personal preferences
-
Scroll down to the API section
-
Copy your Personal API token
warningYour API token provides full access to your Pipedrive account. Keep it secure and never share it publicly.
2. Configure in Webrix
-
In Webrix, go to Integrations → New → Built-in
-
Select Pipedrive and click Use
-
Under General Settings, enter your Company Domain (e.g.,
mycompany) -
Under Authentication Type, select API Key
-
Paste your API Token in the token field
-
Click Save Changes
3. Test the Connection
-
After saving, click Connect to test the connection
-
If successful, you'll see a confirmation message
Troubleshooting
Redirect URI Mismatch Error
If you see "redirect_uri_mismatch" or "invalid_redirect_uri" error during OAuth authorization.
Cause: The redirect URL configured in your Pipedrive app doesn't match the one being used during the OAuth flow.
Solution:
- Copy the exact Redirect URI from Webrix
- Go to your Pipedrive app in Developer Hub → OAuth & access scopes
- Ensure the URI is added exactly as shown (including https:// and any trailing slashes)
- Save the changes and try connecting again
- If the issue persists, try removing and re-adding the redirect URI
Invalid Client ID or Client Secret
Authentication fails with "invalid_client" error.
Cause: The Client ID or Client Secret is incorrect or has been regenerated.
Solution:
- Go to your Pipedrive app in Developer Hub
- Verify the Client ID matches exactly
- Regenerate the Client Secret if needed (note: this will break existing connections)
- Update the credentials in Webrix
- Try connecting again
Token Refresh Failures
Users are repeatedly prompted to reconnect or get "invalid_token" errors.
Cause: The refresh token may have been revoked, or there's an issue with token storage.
Solution:
- Disconnect and reconnect the Pipedrive integration in Webrix
- Verify that the app hasn't been uninstalled or disabled in Pipedrive
- Check that your Pipedrive app's OAuth settings haven't been modified
- Ensure the
refresh_tokenscope is included (it should be by default)
"Access Denied" or "Forbidden" Errors
API requests fail with 403 errors or "access denied" messages.
Cause: The user doesn't have sufficient permissions, or required scopes are missing.
Solution:
- For OAuth: Verify that all necessary scopes are selected in your Pipedrive app
- For API Token: Check that your user account has permission to access the requested resources
- Reconnect with the correct scopes selected
- Verify that the user has the appropriate role in Pipedrive (admin, regular user, etc.)
Rate Limiting
API requests fail with 429 (Too Many Requests) errors.
Cause: Pipedrive enforces API rate limits to ensure platform stability.
Solution:
- Pipedrive typically allows:
- OAuth apps: 100 requests per 10 seconds per user
- API Token: 100 requests per 10 seconds per company
- Implement retry logic with exponential backoff in your workflows
- For batch operations, use list endpoints instead of multiple individual requests
- Consider spreading out API calls over time rather than making many simultaneous requests
Cannot Find Company Domain
Not sure what to enter for Company Domain setting.
Cause: The company domain is not immediately obvious.
Solution:
- Log in to your Pipedrive account
- Look at your browser's address bar
- Your URL will be in the format:
https://YOUR-DOMAIN.pipedrive.com - The
YOUR-DOMAINpart is your company domain - Enter only the domain part (without
https://or.pipedrive.com) - Examples:
- URL:
https://acme.pipedrive.com→ Enter:acme - URL:
https://sales-team-123.pipedrive.com→ Enter:sales-team-123
- URL:
API Token vs OAuth - Which Should I Use?
Not sure which authentication method to choose.
Use OAuth when:
- Building a production integration
- Multiple users will use the connector
- You need granular permission control
- Compliance or security policies require it
- Building a marketplace app
Use API Token when:
- Personal use or testing
- Single user scenario
- Quick prototype or proof of concept
- You want the simplest possible setup
- You trust the environment completely
Missing Custom Fields in Responses
Custom fields don't appear in API responses.
Cause: Custom fields in Pipedrive are returned with auto-generated keys like abc123def456.
Solution:
- Custom fields have dynamically generated keys in Pipedrive
- To find custom field keys:
- Use the "Get Person", "Get Deal", etc. tools to see all fields
- Or use Pipedrive's web interface: Settings → Data fields
- Custom field keys look like:
1234567890abcdef1234567890abcdef12345678 - Reference these keys when creating or updating records
- The field name (e.g., "Customer Type") is only for display; use the key for API calls