pipedrive

N8N module for interacting with the Pipedrive API (v1 and v2)

Package Information

Released: 11/24/2025
Downloads: 7 weekly / 352 monthly
Latest Version: 1.2.0
Author: Jacob Thomas/The Arinex Group

Documentation

n8n-nodes-pipedrive

npm version
License: MIT

An n8n community node for interacting with the Pipedrive API v1 and v2.

Features

  • Complete coverage of all Pipedrive API endpoints for both v1 and v2
  • Support for all CRUD operations (Create, Read, Update, Delete)
  • Pagination support for list operations
  • Proper error handling and type safety
  • Full TypeScript implementation

Installation

npm install n8n-nodes-pipedrive

Credentials

To use this node, you need to configure your Pipedrive API credentials:

  1. API Token: Generate from Pipedrive application: Settings → Personal → API → Your personal API token
  2. Base URL: Optional, defaults to the appropriate Pipedrive API endpoint

Usage

  1. Add the Pipedrive node (v1 or v2) to your workflow
  2. Configure your credentials
  3. Select a resource (e.g., Deals, Persons, Organizations)
  4. Choose an operation (Get, Get Many, Create, Update, Delete)
  5. Configure the operation-specific parameters

Supported Resources

This node supports all Pipedrive API resources including:

v1 API

  • Activities
  • Deals
  • Persons
  • Organizations
  • Products
  • Leads
  • Notes
  • Files
  • Webhooks
  • And many more...

v2 API

  • Activities
  • Deals
  • Persons
  • Organizations
  • Products
  • Leads
  • Stages
  • Pipelines
  • Users
  • And more...

Development

Prerequisites

  • Node.js >= 18.17.0
  • npm
  • Python 3 (for generation script)

Setup

npm install

Build

npm run build

Generate from OpenAPI Specs

First, download the OpenAPI specifications:

curl -s https://developers.pipedrive.com/docs/api/v1/openapi.yaml -o /tmp/pipedrive-v1.yaml
curl -s https://developers.pipedrive.com/docs/api/v1/openapi-v2.yaml -o /tmp/pipedrive-v2.yaml

Then run the generation script:

python3 scripts/generate-from-openapi.py

Or use npm:

npm run generate

This will:

  1. Parse the OpenAPI specifications
  2. Generate action modules for both v1 and v2 APIs
  3. Update the node files with imports

The script will create action modules in:

  • nodes/PipedriveV1/actions/ for v1 API
  • nodes/PipedriveV2/actions/ for v2 API

Lint

npm run lint

Test

npm test

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Discussion