Pipedrive + Clearbit: enriched leads, Slack alerts
New leads hit Pipedrive, and then… they sit. Or worse, they get “quickly reviewed” (skipped) because nobody has time to open every record, hunt for a domain, and guess if the company is even a fit.
This is where Pipedrive Slack alerts help a lot. Sales Ops feels the pain first, but a marketing manager routing MQLs and an agency owner managing multiple pipelines deal with the same mess. You want clean data and fast follow-up, without turning lead review into a daily chore.
This workflow enriches every new lead with Clearbit, marks it as processed, and only pings Slack when the lead matches your ideal criteria (like B2B + 100+ employees). You’ll see what it automates, what results to expect, and what you need to run it.
How This Automation Works
The full n8n workflow, from trigger to final output:
n8n Workflow Template: Pipedrive + Clearbit: enriched leads, Slack alerts
flowchart LR
subgraph sg0["Trigger every 5 minutes Flow"]
direction LR
n0["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/clearbit.svg' width='40' height='40' /></div><br/>Enrich company"]
n1["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/pipedrive.svg' width='40' height='40' /></div><br/>Get all leads"]
n2@{ icon: "mdi:swap-vertical", form: "rounded", label: "Add Organization ID to data", pos: "b", h: 48 }
n3@{ icon: "mdi:swap-horizontal", form: "rounded", label: "Keep leads that match the cr..", pos: "b", h: 48 }
n4@{ icon: "mdi:play-circle", form: "rounded", label: "Trigger every 5 minutes", pos: "b", h: 48 }
n5@{ icon: "mdi:swap-vertical", form: "rounded", label: "Setup", pos: "b", h: 48 }
n6["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/slack.svg' width='40' height='40' /></div><br/>Send alert to Slack"]
n7["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/merge.svg' width='40' height='40' /></div><br/>Merge data"]
n8["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/pipedrive.svg' width='40' height='40' /></div><br/>Get organization details"]
n15["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/httprequest.dark.svg' width='40' height='40' /></div><br/>Mark lead as enriched in Pip.."]
n5 --> n1
n7 --> n15
n1 --> n8
n1 --> n7
n0 --> n2
n4 --> n5
n8 --> n0
n2 --> n7
n3 --> n6
n15 --> n3
end
subgraph sg1["Flow 2"]
direction LR
n9["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/httprequest.dark.svg' width='40' height='40' /></div><br/>Get all organization keys"]
n12@{ icon: "mdi:swap-vertical", form: "rounded", label: "Split out organization field", pos: "b", h: 48 }
n14@{ icon: "mdi:swap-horizontal", form: "rounded", label: "Show only custom organizatio..", pos: "b", h: 48 }
n9 --> n12
n12 --> n14
end
subgraph sg2["Flow 3"]
direction LR
n10["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/httprequest.dark.svg' width='40' height='40' /></div><br/>Get all lead keys"]
n11@{ icon: "mdi:swap-vertical", form: "rounded", label: "Split out lead field data", pos: "b", h: 48 }
n13@{ icon: "mdi:swap-horizontal", form: "rounded", label: "Show only custom lead fields", pos: "b", h: 48 }
n10 --> n11
n11 --> n13
end
%% Styling
classDef trigger fill:#e8f5e9,stroke:#388e3c,stroke-width:2px
classDef ai fill:#e3f2fd,stroke:#1976d2,stroke-width:2px
classDef aiModel fill:#e8eaf6,stroke:#3f51b5,stroke-width:2px
classDef decision fill:#fff8e1,stroke:#f9a825,stroke-width:2px
classDef database fill:#fce4ec,stroke:#c2185b,stroke-width:2px
classDef api fill:#fff3e0,stroke:#e65100,stroke-width:2px
classDef code fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px
classDef disabled stroke-dasharray: 5 5,opacity: 0.5
class n4 trigger
class n3,n14,n13 decision
class n15,n9,n10 api
classDef customIcon fill:none,stroke:none
class n0,n1,n6,n7,n8,n15,n9,n10 customIcon
The Problem: New leads pile up without qualification
When every new lead looks the same in your CRM, you’re forced into manual triage. Someone checks the lead, clicks into the org, Googles the company, tries to find a domain, and then makes a judgment call with half the context. Do that 20 times a day and it quietly eats a couple hours. And because it’s repetitive, it’s inconsistent. One rep is strict, another is optimistic, and the follow-up timing depends on who happened to be online.
The friction compounds. Here’s where it breaks down in real teams.
- Leads get contacted in the wrong order because nothing signals which ones are high intent or high value.
- Your team spends time enriching records that were never a fit in the first place.
- Missing or messy company data leads to awkward outreach and lower reply rates.
- Without a clear “processed” marker, the same leads get reviewed twice (or not at all).
The Solution: Enrich every Pipedrive lead, then alert Slack only for the good ones
This n8n workflow runs on a simple schedule (every 5 minutes) and acts like a gatekeeper for your pipeline. It pulls in new leads from Pipedrive, grabs the related organization details, and uses Clearbit to enrich the company profile so you’re not guessing. After enrichment, it updates the lead to mark it as “enriched” using a custom date field, which prevents repeat processing. Then it applies your qualification rules (for example, “B2B” and “more than 100 employees”). Only the leads that pass get sent to Slack, which means your team gets fewer notifications, but the right ones.
The workflow starts with scheduled checks of Pipedrive leads. Clearbit fills in the missing business context, and n8n merges that data back into a single lead payload. Finally, Slack gets a message only when the lead matches your ideal customer profile.
What You Get: Automation vs. Results
| What This Workflow Automates | Results You’ll Get |
|---|---|
|
|
Example: What This Looks Like
Say your team adds 20 new leads a day to Pipedrive. If manual review takes maybe 10 minutes per lead (open record, find domain, check size, decide), that’s about 3 hours a day. With this workflow, the “work” is basically waiting: it runs every 5 minutes, enriches in the background, and only posts the matches to Slack. You’ll still review the good ones, but you’re no longer spending hours to discover who to ignore.
What You’ll Need
- n8n instance (try n8n Cloud free)
- Self-hosting option if you prefer (Hostinger works well)
- Pipedrive to source leads and update custom fields.
- Clearbit for company enrichment and firmographic data.
- Slack to notify your team in real time.
Skill level: Intermediate. You’ll configure credentials and map two Pipedrive custom fields (Domain and Enriched at).
Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).
How It Works
A 5-minute scheduled run checks for new leads. n8n starts on a timer, then pulls recent leads from Pipedrive so nothing relies on someone remembering to “check later.”
Organization details get pulled in and cleaned up. The workflow fetches the org record for each lead, then sets a few key fields so Clearbit has what it needs (usually the domain or identifying info).
Clearbit enrichment adds the context you actually need. Firmographics like company type (B2B) and employee count come back, and n8n merges them into one usable lead object.
Pipedrive gets updated, then Slack only sees qualified leads. The workflow flags the lead with an “Enriched at” date, runs your filter (B2B + 100+ employees in the provided example), and posts a Slack message for each match.
You can easily modify the qualification rules to match your ICP, so the Slack channel reflects your current go-to-market focus. See the full implementation guide below for customization options.
Step-by-Step Implementation Guide
Step 1: Configure the Scheduled Trigger
Set the workflow to run automatically every few minutes to pull and enrich fresh leads.
- Add and open Scheduled 5-Minute Trigger.
- Set the schedule rule to run every minutes interval (this node is already configured for 5-minute intervals).
- Connect Scheduled 5-Minute Trigger to Configuration Mapper.
Step 2: Connect Pipedrive and Map Configuration Values
Define configuration values and pull leads from Pipedrive as the primary data source.
- Open Configuration Mapper and set the following values: slackChannel to
#yourChannel, domainCustomFieldId to<Run "Show only custom organization fields" and copy the key>, and enrichedAtCustomFieldId to<Run "Show only custom lead fields" and copy the key>. - Replace domainCustomFieldId2 and enrichedAtCustomFieldId2 in Configuration Mapper with your actual custom field IDs (currently
[CONFIGURE_YOUR_API_KEY]placeholders). - Open Retrieve All Leads and confirm Resource is
leadand Operation isgetAll. - Credential Required: Connect your
pipedriveApicredentials to Retrieve All Leads.
Step 3: Set Up Enrichment and Merge Logic
Fetch organization data, enrich the company profile, and merge it back into the lead record.
- Open Fetch Organization Details and set Organization ID to
{{ $json.organization_id }}. - Credential Required: Connect your
pipedriveApicredentials to Fetch Organization Details. - Open Enrich Company Profile and set Domain to
{{ $json[$('Configuration Mapper').first().json.domainCustomFieldId2]}}. - Credential Required: Connect your
clearbitApicredentials to Enrich Company Profile. - Open Append Org ID Field and add organization_id with value
{{ $('Fetch Organization Details').item.json.id }}; keep Include Other Fields enabled. - Open Combine Lead Details and set Mode to
combine, Join Mode toenrichInput2, and merge byorganization_idon both inputs.
organization_id matching across inputs. Ensure Append Org ID Field runs after Fetch Organization Details and before Combine Lead Details.Step 4: Configure Parallel Execution and Enrichment Updates
Ensure the lead retrieval fan-out is correctly wired and update the lead with the enriched timestamp.
- Connect Retrieve All Leads so it outputs to both Fetch Organization Details and Combine Lead Details in parallel.
- Open Flag Lead as Enriched and set URL to
https://api.pipedrive.com/v1/leads/{{ $json.id }}, Method toPATCH, and enable Send Body. - In Flag Lead as Enriched body parameters, set Name to
{{ $('Configuration Mapper').first().json.enrichedAtCustomFieldId2 }}and Value to{{ $now.format('yyyy-MM-dd') }}. - Credential Required: Connect your
pipedriveApicredentials to Flag Lead as Enriched.
Step 5: Filter and Notify Qualified Leads
Apply qualification logic and send a Slack alert for high-quality leads.
- Open Filter Qualified Leads and confirm the conditions are:
{{ $json.tags.includes("B2B") }}is true and{{ $json.metrics.employees }}is greater than100. - Open Post Slack Notification and set Text to
New high-quality lead 🤑 *Company Name*: {{ $json.name }} *Website*: {{ "https://" + $json.domain }} *Revenue*: {{ $json.metrics.estimatedAnnualRevenue}} *Number of employees*: {{ $json.metrics.employees }}. - Set Channel to
{{ $('Configuration Mapper').item.json.slackChannel }}. - Credential Required: Connect your
slackApicredentials to Post Slack Notification.
tags and metrics.employees.Step 6: (Optional) Retrieve and Filter Custom Field Keys
Use the utility nodes to discover custom field keys needed in Configuration Mapper.
- Open Utility: Retrieve Org Field Keys and confirm URL is
https://api.pipedrive.com/v1/organizationFields. - Credential Required: Connect your
pipedriveApicredentials to Utility: Retrieve Org Field Keys and Utility: Retrieve Lead Field Keys. - Open Utility: Expand Org Field Records and set Field to Split Out to
data, then filter with Utility: Filter Custom Org Fields using{{ $json.edit_flag }}. - Open Utility: Expand Lead Field Records and set Field to Split Out to
data, then filter with Utility: Filter Custom Lead Fields using{{ $json.edit_flag }}.
Step 7: Test and Activate Your Workflow
Validate the full flow end-to-end before enabling scheduled runs.
- Click Execute Workflow to run a manual test.
- Confirm Retrieve All Leads outputs leads and Enrich Company Profile returns enrichment data.
- Verify Flag Lead as Enriched updates the lead with today’s date, and Post Slack Notification posts to your channel for qualified leads.
- Toggle the workflow to Active to enable the 5-minute schedule.
Common Gotchas
- Pipedrive custom fields must be mapped correctly, or the Domain / Enriched at updates won’t stick. If results look wrong, check Company Settings → Data fields and confirm you copied the right field keys.
- If you’re enriching lots of leads at once, Clearbit calls can take longer than expected. Processing times vary, so extend any wait/timeout handling if downstream steps fail on empty responses.
- Slack alerts can become noisy if your filter is too broad. Honestly, tighten the criteria first, then loosen it once you trust the data quality.
Frequently Asked Questions
About an hour if your Pipedrive custom fields are ready.
No. You’ll connect Pipedrive, Clearbit, and Slack, then paste in the right field IDs. The only “technical” part is testing with a few sample leads to confirm the filter works.
Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Clearbit API costs (varies by plan and enrichment volume).
Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.
Yes, and you should. Update the “Filter Qualified Leads” step to match your ICP, then adjust the Slack message to include the fields your reps actually scan (industry, employee count, location, and website are common). You can also change the schedule so it runs every few minutes during business hours and less often overnight. If you want to keep Pipedrive cleaner, a common tweak is archiving or labeling non-matches after enrichment so they stop distracting your team. Finally, you can swap Clearbit for another enrichment provider by replacing the “Enrich Company Profile” request and keeping the rest of the logic intact.
Usually it’s expired credentials or missing permissions on the Pipedrive token. Reconnect the Pipedrive credential in n8n, then re-check that your custom field keys for Domain and Enriched at are correct, because wrong keys can look like “nothing happened.” If it fails only on some leads, it can also be missing organization links (a lead without an org won’t enrich the same way).
A lot, but the real limit is your Clearbit quota and how often you run the schedule.
Often, yes, because the logic here is a bit more than “if new lead, then send message.” You’re enriching, merging org + lead data, writing back to Pipedrive, and filtering based on multiple fields. n8n handles branching and data shaping without pushing you into expensive task pricing, and self-hosting means you can run frequent checks without worrying about per-task costs. Zapier and Make can still work if you keep it very simple, but the “mark as enriched so it won’t re-run” pattern is where n8n tends to feel cleaner. Talk to an automation expert if you want help choosing based on your lead volume.
Once this is running, your team stops scanning every lead and starts responding to the ones that actually match. Set it up, tune the filter, and let Slack do the tapping on the shoulder.
Need Help Setting This Up?
Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.