Automate Pipedrive Organization Notes with GPT-4 & ScrapingBee

Save hours on enriching Pipedrive organization data by automatically scraping websites and summarizing with GPT-4. This workflow creates detailed notes in Pipedrive and notifies your Slack channel for real-time updates.
pipedriveTrigger
openAi
httpRequest
+4
Workflow Identifier: 1743
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 workflow does

This workflow automatically adds detailed notes about new organizations in Pipedrive. It solves the problem of manually researching company websites. The result is quicker data entry and better information in the CRM, plus real-time Slack alerts for the sales team.

When a new organization is created, it scrapes the website URL you have saved. Then it sends the website content to GPT-4o to make a summary with company info. It adds this summary as a note in Pipedrive. Finally, it sends a message with the summary to Slack in a readable format.


Who should use this workflow

This workflow is useful for sales teams or CRM managers who want to save time researching new organizations. It helps keep Pipedrive updated with richer, consistent company data without manual effort.

It’s meant for users who already use Pipedrive and get many new organizations weekly. It benefits those who want faster follow-ups and better team collaboration via Slack notifications.


Tools and services used

  • Pipedrive: Manages organizations and stores custom website URLs.
  • ScrapingBee API: Gets the HTML content of organization homepages.
  • OpenAI GPT-4o: Creates HTML summaries of website content.
  • Slack: Sends markdown-formatted notifications to a sales channel.
  • n8n: Runs the workflow and connects all nodes together.

Inputs and processing steps

Inputs

  • New organization created event in Pipedrive.
  • Organization website URL saved in a custom Pipedrive field.

Processing steps

  • Trigger: The Pipedrive Trigger node fires when a new organization is created.
  • Scrape website: HTTP Request node calls ScrapingBee API with the website URL to retrieve homepage HTML.
  • Summarize content: OpenAI node sends HTML to GPT-4o with a system prompt to create a company summary as HTML.
  • Create note: Pipedrive node adds a note linked to the organization, containing GPT-4o’s HTML summary.
  • Convert HTML to Markdown: HTML To Markdown node changes the note content from HTML to Markdown format.
  • Format Markdown for Slack: Code node runs JavaScript to replace markdown headings with bold text, lists with arrow points, and tables with bullet lists suited for Slack.
  • Send Slack message: Slack node posts the formatted summary and organization name to a specified Slack channel.

Output

  • A new HTML-formatted note linked to the organization in Pipedrive.
  • Slack channel message with a Slack-markdown formatted company summary.

Beginner step-by-step: How to run this in n8n

Import the workflow

  1. Download the workflow file using the Download button on this page.
  2. Inside your n8n editor, click to import and select “Import from File”.

Add required credentials

  1. Add your Pipedrive API key with access to organization data.
  2. Add your ScrapingBee API key in the HTTP Request node.
  3. Add your OpenAI API key with GPT-4o model access in the OpenAI node.
  4. Add your Slack OAuth2 credentials and select the Slack channel for notifications.

Update configuration

  1. Confirm the website field ID in Pipedrive matches the expression in the HTTP Request node. For example:
    {{$json.current.<custom_website_field_id>}}
  2. Check the system prompt text in the OpenAI node matches the prompt below:
You're an assistant that summarizes website content for CRM entries. The user will provide HTML content from a company's website. Your task is to analyze the HTML content and create a concise summary that includes:
1. A brief description of the company's services or products.
2. Any information about the company's target market or customer base.
3. Key points about the company's unique selling propositions or competitive advantages.
4. Based on the provided information, suggest potential competitors if you know any.

Format your response as HTML.

Test and activate

  1. Run the workflow once with a test organization that has a website URL.
  2. Check Pipedrive for the new note and Slack for the notification.
  3. When satisfied, activate the workflow with the toggle switch.

If using your own server, make sure it is accessible from the internet so Pipedrive can send webhook calls. Check self-host n8n for help with hosting.


Customization options

  • You can change the AI model in the OpenAI node to GPT-3.5 to save costs but expect shorter summaries.
  • You can swap the ScrapingBee service with another scraping API if preferred.
  • Editing the system prompt in the OpenAI node can add more company details like location or executive names.
  • The Slack message format can be changed by updating the JavaScript in the Code node.
  • This workflow can be adapted for other Pipedrive objects like Deals or Contacts by changing triggers and note links.

Common edge cases and troubleshooting

  • 401 Unauthorized error on Pipedrive Trigger node: Recheck and re-add Pipedrive API credentials. Old or wrong keys block webhook access.
  • OpenAI node gives no or invalid answer: Review system prompt and scraped HTML input. Confirm OpenAI API key and GPT-4o access are correct.
  • No Slack messages sent: Confirm Slack node OAuth2 setup and target Slack channel are correct in settings.

Summary and outcomes

✓ Saves about 20 minutes of manual research per new Pipedrive organization.
✓ Automatically creates rich, consistent notes with company descriptions.
✓ Sends clear Slack messages to keep sales teams updated.
✓ Improves CRM data quality and speeds up sales follow-up.
✓ Works with minimal setup and can be extended to other CRM objects.

Frequently Asked Questions

The Pipedrive Trigger node activates when a new organization is created in Pipedrive, sending data to start the workflow.
ScrapingBee API fetches the HTML content of the organization’s website homepage using the stored URL.
GPT-4o processes the website HTML and generates an HTML summary with company details for CRM notes.
The workflow converts notes to Slack markdown format then posts them to a chosen Slack channel using 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