Enrich Pipedrive Organization Data Using GPT-4 and ScrapingBee

This workflow automates enrichment of Pipedrive organization data by scraping the company website and using GPT-4 to generate detailed notes. It saves time spent on manual research and improves CRM information accuracy.
pipedriveTrigger
httpRequest
openAi
+4
Workflow Identifier: 1994
NODES in Use: pipedriveTrigger, httpRequest, openAi, pipedrive, markdown, code, slack

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this Automation Does

This workflow starts when a new organization is added to Pipedrive.

It gets the organization’s website from a custom field in Pipedrive.

Then it scrapes the website homepage with ScrapingBee API.

The scraped HTML is sent to OpenAI GPT-4o model.

GPT-4o analyzes and summarizes company products, target market, unique points, and competitors.

It creates a rich HTML note inside the Pipedrive organization with the AI summary.

Then the HTML note is converted to Slack markdown format.

The workflow ends by sending this summary to a Slack channel for the sales team.

This saves time from manual research and helps salespeople have better info for follow-ups.


Who Should Use This Workflow

If you work with sales data in Pipedrive and spend lots of time researching new companies, this workflow is for you.

Anyone needing consistent, detailed company info in CRM notes can benefit.

It helps teams save time and avoid missing important details.


Tools and Services Used

  • Pipedrive CRM: Detects new organizations and stores data.
  • ScrapingBee API: Gathers website HTML content.
  • OpenAI GPT-4o model: Produces detailed company summaries from HTML.
  • Slack: Sends formatted notifications to sales teams.
  • n8n: Automates the entire workflow.

Inputs, Process, and Output

Inputs

  • Trigger from Pipedrive when a new organization is created.
  • Custom website URL field from Pipedrive organization’s data.

Processing Steps

  1. HTTP Request node calls ScrapingBee to scrape HTML from the website.
  2. OpenAI node sends scraped HTML with specific prompt to GPT-4o for detailed analysis.
  3. Pipedrive node creates an HTML note for the organization with AI summary.
  4. Markdown node converts the HTML note into markdown format.
  5. Code node converts markdown to Slack-compatible markdown format.
  6. Slack node sends the formatted summary alert to a selected channel.

Output

An AI-enhanced note inside Pipedrive.

Plus a Slack message with a clean, readable company summary for the team.


Beginner Step-by-Step: How to Use This Workflow in n8n

Import Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor where you want to use the workflow.
  3. Use the “Import from File” option to upload the downloaded workflow file.

Configure Credentials

  1. Add or update Pipedrive API credentials in n8n settings.
  2. Insert your ScrapingBee API key in the HTTP Request node query parameters.
  3. Fill in the OpenAI API key to enable GPT-4o calls.
  4. Authorize the Slack bot token with permission to send messages to the chosen channel.

Update Identifiers and Fields

  1. Check and update the custom website field ID in the HTTP Request node to match the one in your Pipedrive setup.
  2. Verify that the Pipedrive organization ID is correctly mapped in the note creation node.
  3. Adjust Slack channel IDs or email addresses if needed.
  4. Review the OpenAI system prompt inside the OpenAI node to ensure it fits your preferred summary style.

Test and Activate

  1. Manually trigger the workflow or create a new organization in Pipedrive to run the flow.
  2. Watch outputs in n8n to see if notes and Slack messages are created correctly.
  3. Fix any errors using the logs, then activate the workflow by turning it on within n8n.
  4. Monitor regularly to ensure smooth operation once live.

Using this simple import and setup process lets beginner users deploy the workflow quickly without building from zero.

If running self-host n8n, consider this resource: self-host n8n to manage hosting.


Common Problems and Fixes

  • No website URL found in Pipedrive data: Check the custom website field ID for mistakes and update the HTTP Request node expression.
  • OpenAI token limit exceeded: Large HTML input may cause problems; reduce scrape size or trim content before using OpenAI.
  • Slack message formatting errors: The markdown conversion code may not cover all HTML tags; adjust the Code node’s JavaScript or simplify output HTML from OpenAI.

Customization Ideas

  • Switch ScrapingBee for another scraping API or HTTP node with needed parameters.
  • Modify OpenAI prompt to ask for additional details like leadership info or industry trends.
  • Add nodes to update more custom Pipedrive fields based on AI results.
  • Change Slack channels dynamically or add conditions to notify only for certain industries.
  • Swap GPT-4o for cheaper models like GPT-3.5 for lower cost with less detail.

Pre-Production Checklist

  • Test Pipedrive trigger to ensure fires on new organizations.
  • Confirm HTTP Request node scrapes sample web pages correctly.
  • Check OpenAI node returns detailed and well-formatted summary.
  • Ensure Pipedrive notes attach with correct org ID.
  • Validate Markdown and Code nodes correctly format Slack message.
  • Test Slack node posts messages to chosen channel.
  • Perform a full test by creating a dummy organization and reviewing logs.

Deployment Guide

After fully testing, activate the workflow by switching it on inside n8n.

Use n8n’s dashboard to watch runs and handle errors.

Set up alerting or logging for production monitoring if helpful.

This workflow runs well on either n8n cloud or self-host n8n.

Keep an eye on OpenAI usage and cost since GPT-4o is premium.


Summary

✓ Saves time by automatically enriching Pipedrive organization records with detailed company data.

✓ Removes manual research and prevents missing important business context.

✓ Gives sales teams clear, consistent notes and instant Slack alerts on new companies.

✓ Easy to deploy for beginners with clear import and configuration instructions.

→ Results in faster, smarter sales follow-ups and better deals closed.


Frequently Asked Questions

The workflow uses a wrong or missing custom website field ID in Pipedrive. The HTTP Request node must reference the correct field ID.
Reduce the size of scraped HTML by limiting scraping scope or trimming content. Alternatively, pre-process content before sending to OpenAI.
Yes. A free tool can be used if it reliably returns structured HTML and fits n8n’s HTTP Request setup. Legal compliance is important.
Modify the JavaScript code inside the Code node that converts Markdown to Slack markdown. Also adjust the message template in the Slack node.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free