Skip to main content

Enrich Pipedrive's Organization Data with OpenAI GPT-4o & Notify it in Slack

Workflow preview

Workflow preview
100%
Enrich Pipedrive's Organization Data with OpenAI GPT-4o & Notify it in Slack 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 workflow enriches new Pipedrive organization's data by adding a note to the organization object in Pipedrive . It assumes there is a custom "website" field in your Pipedrive setup, as data wil...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.pipedrivetrigger, n8n-nodes-base.stickynote, n8n-nodes-base.pipedrive, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.markdown, n8n-nodes-base.slack, @n8n/n8n-nodes-langchain.openai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Enrich Pipedrive's Organization Data with OpenAI GPT-4o & Notify it in Slack
Workflow name
Enrich Pipedrive's Organization Data with OpenAI GPT-4o & Notify it in Slack

This workflow enriches new Pipedrive organization's data by adding a note to the organization object in Pipedrive. It assumes there is a custom "website" field in your Pipedrive setup, as data will be scraped from this website to generate a note using OpenAI. Then, a notification is sent in Slack.

⚠️ Disclaimer

This workflow uses a scraping API. Before using it, ensure you comply with the regulations regarding web scraping in your country or state.

Important Notes

  • The OpenAI model used is GPT-4o, chosen for its large input token capacity. However, it is not the cheapest model if cost is very important to you.

  • The system prompt in the OpenAI Node generates output with relevant information, but feel free to improve or modify it according to your needs.

How It Works

Node 1: Pipedrive Trigger - An Organization is Created

This is the trigger of the workflow. When an organization object is created in Pipedrive, this node is triggered and retrieves the data. Make sure you have a "website" custom field in Pipedrive (the name of the field in the n8n node will appear as a random ID and not with the Pipedrive custom field name).

Node 2: ScrapingBee - Get Organization's Website's Homepage Content

This node scrapes the content from the URL of the website associated with the Pipedrive Organization created in Node 1. The workflow uses the ScrapingBee API, but you can use any preferred API or simply the HTTP request node in n8n.

Node 3: OpenAI - Message GPT-4o with Scraped Data

This node sends HTML-scraped data from the previous node to the OpenAI GPT-4o model. The system prompt instructs the model to extract company data, such as products or services offered and competitors (if known by the model), and format it as HTML for optimal use in a Pipedrive Note.

Node 4: Pipedrive - Create a Note with OpenAI Output

This node adds a Note to the Organization created in Pipedrive using the OpenAI node output. The Note will include the company description, target market, selling products, and competitors (if GPT-4o was able to determine them).

Node 5 & 6: HTML To Markdown & Code - Markdown to Slack Markdown

These two nodes format the HTML output to Slack Markdown.

The Note created in Pipedrive is in HTML format, as specified by the System Prompt of the OpenAI Node. To send it to Slack, it needs to be converted to Markdown and then to Slack Markdown.

Node 7: Slack - Notify

This node sends a message in Slack containing the Pipedrive Organization Note created with this workflow.

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 - Pipedrive Trigger - An Organization is created

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

Block 2 - Sticky Note

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

Block 3 - Pipedrive - Create a Note with OpenAI output

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

Block 4 - Code - Markdown to Slack Markdown

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

Block 5 - Scrapingbee - Get Organization's URL content

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

Block 6 - HTML To Markdown

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

Block 7 - Slack - Notify

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

Block 8 - OpenAI - Message GPT-4o with Scraped Data

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

3. Summary Table

Workflow Enrich Pipedrive's Organization Data with OpenAI GPT-4o & Notify it in Slack
Complexity intermediate
Nodes 8
Categories Lead Generation, AI Summarization
Author Dataki
Published 06 Jul 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2318/2318.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 Pipedrive's Organization Data with OpenAI GPT-4o & Notify it in Slack do?

This workflow enriches new Pipedrive organization's data by adding a note to the organization object in Pipedrive . It assumes there is a custom "website" field in your Pipedrive setup, as data wil...

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 Summarization use case.