Pipedrive CRM API Operations

This n8n workflow automates Pipedrive CRM API operations for managing activities, deals, persons, files, organizations, and notes. Key nodes include Webhook Trigger (receives POST requests), Validate Input (checks resource and operation), Route Resource Type, Route Activity Operation, Route Deal Operation (directs actions), Create/Get/Update/Get All/Delete Activity, Create/Get/Update/Duplicate/Get All/Delete Deal (API interactions), Success Response, Error Response, and Return Response (handle outputs). Set up Requirements and Configuration: Install n8n by downloading from n8n.io for self-hosting or sign up at cloud.n8n.io for cloud setup. Follow installation prompts or create a cloud account. Obtain Pipedrive API credentials from app.pipedrive.com: log in, go to 'Settings' > 'Personal preferences' > 'API,' and copy your API token. In n8n, import the provided JSON to create the workflow. Configure Pipedrive nodes (Create/Get/Update/Get All/Delete Activity, Create/Get/Update/Duplicate/Get All/Delete Deal) with your API token under 'Credentials,' selecting 'Pipedrive API.' Set the Webhook Trigger node’s path to 'pipedrive-api,' ensure it accepts POST requests, and optionally enable header authentication with a secure key. The Validate Input node checks for valid resources (activity, deal, person, file, organization, note) and operations. Testing and Deployment Steps: Test by sending a POST request to the Webhook URL (from the Webhook Trigger node) using Postman. Example JSON body: {'resource': 'activity', 'operation': 'create', 'subject': 'Meeting', 'type': 'call'} or {'resource': 'deal', 'operation': 'get', 'dealId': '123'} with the authentication header if enabled. The 'Success Response' node returns a 200 status with operation results, or 'Error Response' (400 status) for invalid resources or operations. Monitor logs for errors like invalid API tokens or missing IDs, and verify credentials or input formats if issues occur. Activate the workflow in n8n’s interface for deployment. Validate outputs to ensure data like activity subjects or deal titles are correctly returned.

$6.99

Workflow steps: 19

Integrated apps: webhook, if, set

Pipedrive CRM API Operations preview