Skip to main content

Qualify B2B prospects with ProspectPro, Web RAG and GPT-4

Workflow preview

Workflow preview
100%
Qualify B2B prospects with ProspectPro, Web RAG and GPT-4 preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This template qualifies and segments B2B prospects in ProspectPro using live web data and AI. It retrieves website content and search snippets, processes them with an LLM, and updates the prospect ...

Best for

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

Tools used

n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, @bedrijfsdatanl/n8n-nodes-bedrijfsdata.bedrijfsdata, @bedrijfsdatanl/n8n-nodes-prospectpro.prospectpro, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Qualify B2B prospects with ProspectPro, Web RAG and GPT-4
Workflow name
Qualify B2B prospects with ProspectPro, Web RAG and GPT-4

This template qualifies and segments B2B prospects in ProspectPro using live web data and AI. It retrieves website content and search snippets, processes them with an LLM, and updates the prospect record in ProspectPro with qualification labels and tags. The workflow ensures each prospect is processed once and can be reused as a sub-flow or direct trigger.

✨ Features

  • Automatically qualify B2B companies based on website and search content

  • Flexible business logic: qualify and segment prospects by your own criteria

  • Updates ProspectPro records with labels and tags

  • Live data retrieval via Bedrijfsdata.nl RAG API nodes

  • Easy customization through flexible AI setup

  • Extendable and modular: use as a trigger workflow or callable sub-flow

⚙ Requirements

  • n8n instance or cloud workspace

  • Install the Bedrijfsdata.nl Verified Community Node

  • Bedrijfsdata.nl developer account (14-day free trial, 500 credits)

  • Install the ProspectPro Verified Community Node

  • ProspectPro account & API credentials (14-day free trial)

  • OpenAI API credentials (or another LLM)

🔧 Setup Instructions

  • Import the template and set your credentials (Bedrijfsdata.nl, ProspectPro, OpenAI).

  • Connect to a trigger (e.g., ProspectPro "New website visitor") or call as a sub-workflow.

  • Adjust qualification logic in the Qualify & Tag Prospect node to match your ICP.

  • Optional: extend tags, integrate with Slack/CRM, or add error logging.

🔐 Security Notes

  • Prevents re-processing of the same prospect using tags

  • Error branches included for invalid input or API failures

  • LLM output validated via a structured parser

🧪 Testing

  • Run with a ProspectPro ID of a company with a known domain

  • Check execution history and ProspectPro for enrichment results

  • Verify updated tags and qualification label in ProspectPro

📌 About Bedrijfsdata.nl

Bedrijfsdata.nl operates the most comprehensive company database in the Netherlands. With real-time data on 3.7M+ businesses and AI-ready APIs, they help Dutch SMEs enrich CRM, workflows, and marketing automation.

Website: https://www.bedrijfsdata.nl Developer Platform: https://developers.bedrijfsdata.nl API docs: docs.bedrijfsdata.nl Support: https://www.bedrijfsdata.nl/klantenservice

Support hours: Monday–Friday, 09:00–17:00 CET

📌 About ProspectPro

ProspectPro is a B2B Prospecting Platform for Dutch B2B SMEs. It helps sales teams identify prospects, identify website visitors and more.

Website: https://www.prospectpro.nl Platform: https://mijn.prospectpro.nl API docs: https://www.docs.bedrijfsdata.nl Support: https://www.prospectpro.nl/klantenservice

Support hours: Monday–Friday, 09:00–17:00 CET

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 - Process live web content

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

Block 2 - Content available to proceed?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 3 - Basic LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 4 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 5 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 6 - Get RAG domain

Type / Role
@bedrijfsdatanl/n8n-nodes-bedrijfsdata.bedrijfsdata - bedrijfsdata
Config choices
Version 1

Block 7 - Valid results?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - Qualify & Tag Prospect

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

Block 9 - Update Prospect in ProspectPro

Type / Role
@bedrijfsdatanl/n8n-nodes-prospectpro.prospectpro - prospectpro
Config choices
Version 1

Block 10 - Update prospect

Type / Role
@bedrijfsdatanl/n8n-nodes-prospectpro.prospectpro - prospectpro
Config choices
Version 1

Block 11 - return { result: false };

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

Block 12 - Set Tag: ManualQualification

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

Block 13 - Sticky Note4

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

Block 14 - Sticky Note5

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

Block 15 - Sticky Note7

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

Block 16 - Sticky Note8

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

Block 17 - Sticky Note6

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

Block 18 - Sticky Note9

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

Block 19 - Sticky Note10

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

Block 20 - Continue?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 21 - return { result: prospect.label === 1 };

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

Block 22 - Sticky Note

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

Block 23 - Not Processed Before?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 24 - Is Qualified?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Qualify B2B prospects with ProspectPro, Web RAG and GPT-4
Complexity advanced
Nodes 29
Categories Lead Generation, AI RAG
Author Olivier
Published 11 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8470/8470.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 Qualify B2B prospects with ProspectPro, Web RAG and GPT-4 do?

This template qualifies and segments B2B prospects in ProspectPro using live web data and AI. It retrieves website content and search snippets, processes them with an LLM, and updates the prospect ...

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, AI RAG use case.