Skip to main content

Enrich new leads in Pipedrive and send an alert to Slack for high-quality ones

Workflow preview

Workflow preview
100%
Enrich new leads in Pipedrive and send an alert to Slack for high-quality ones preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Use Case This workflow is beneficial when you're automatically adding new leads to your Pipedrive CRM. Usually, you'd have to manually review each lead to determine if they're a good fit. This proc...

Best for

  • Lead Generation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.clearbit, n8n-nodes-base.pipedrive, n8n-nodes-base.set, n8n-nodes-base.filter, n8n-nodes-base.scheduletrigger, n8n-nodes-base.slack, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Niklas Hatje.

Original n8n.io source

1.1 Workflow description

Title
Enrich new leads in Pipedrive and send an alert to Slack for high-quality ones
Workflow name
Enrich new leads in Pipedrive and send an alert to Slack for high-quality ones

Use Case

This workflow is beneficial when you're automatically adding new leads to your Pipedrive CRM. Usually, you'd have to manually review each lead to determine if they're a good fit. This process is time-consuming and increases the chances of missing important leads. This workflow ensures every new lead is promptly evaluated upon addition.

What this workflow does

The workflow runs every 5 minutes. On every run, it checks your new Pipedrive leads and enriches them with Clearbit. It then marks items as enriched and checks if the company of the new lead matches certain criteria (in this case if they are B2B and have more than 100 employees) and sends a Slack alert to a channel for every match.

Pre Conditions

You must have Pipedrive, Clearbit, and Slack accounts. You also need to set up the custom fields Domain and Enriched at in Pipedrive.

Setup

  1. Go to Company Settings -> Data fields -> Organization and add Domain as a custom field
  2. Go to Company Settings -> Data fields -> Leads and add Enriched at as a custom date field
  3. Add your Pipedrive, Clearbit and Slack credentials.
  4. Fill the setup node below. To get the ID of your custom domain fields, simply run the Show only custom organization fields and Show only custom lead fields nodes below and copy the keys of your domain, and enriched at fields.

How to adjust this workflow to your needs

  • Modify the criteria to suit your definition of an interesting lead.
  • If you only want to focus on interesting leads in Pipedrive, add a node that archives all others.

This workflow was built using n8n version 1.29.1

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Enrich company

Type / Role
n8n-nodes-base.clearbit - clearbit
Config choices
Version 1

Block 4 - Get all leads

Type / Role
n8n-nodes-base.pipedrive - pipedrive
Config choices
Version 1

Block 5 - Add Organization ID to data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 6 - Keep leads that match the criteria

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 7 - Trigger every 5 minutes

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.1

Block 8 - Setup

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 9 - Send alert to Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 10 - Merge data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 11 - Get organization details

Type / Role
n8n-nodes-base.pipedrive - pipedrive
Config choices
Version 1

Block 12 - Get all organization keys

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 13 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Get all lead keys

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 16 - Split out lead field data

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 17 - Split out organization field

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 18 - Show only custom lead fields

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 19 - Show only custom organization fields

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 20 - Mark lead as enriched in Pipedrive

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

3. Summary Table

Workflow Enrich new leads in Pipedrive and send an alert to Slack for high-quality ones
Complexity advanced
Nodes 20
Categories Lead Generation
Author Niklas Hatje
Published 28 Feb 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2135/2135.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Enrich new leads in Pipedrive and send an alert to Slack for high-quality ones do?

Use Case This workflow is beneficial when you're automatically adding new leads to your Pipedrive CRM. Usually, you'd have to manually review each lead to determine if they're a good fit. This proc...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation use case.