Back to Integrations
integrationOpenAI node
integrationPipedrive node

OpenAI and Pipedrive integration

Save yourself the work of writing custom integrations for OpenAI and Pipedrive and use n8n instead. Build adaptable and scalable AI, Langchain, and Sales workflows that work with your technology stack. All within a building experience you will love.

How to connect OpenAI and Pipedrive

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

OpenAI and Pipedrive integration: Create a new workflow and add the first step

Step 2: Add and configure OpenAI and Pipedrive nodes

You can find OpenAI and Pipedrive in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure OpenAI and Pipedrive nodes one by one: input data on the left, parameters in the middle, and output data on the right.

OpenAI and Pipedrive integration: Add and configure OpenAI and Pipedrive nodes

Step 3: Connect OpenAI and Pipedrive

A connection establishes a link between OpenAI and Pipedrive (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

OpenAI and Pipedrive integration: Connect OpenAI and Pipedrive

Step 4: Customize and extend your OpenAI and Pipedrive integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect OpenAI and Pipedrive with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

OpenAI and Pipedrive integration: Customize and extend your OpenAI and Pipedrive integration

Step 5: Test and activate your OpenAI and Pipedrive workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from OpenAI to Pipedrive or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

OpenAI and Pipedrive integration: Test and activate your OpenAI and Pipedrive workflow

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.

Nodes used in this workflow

Popular OpenAI and Pipedrive workflows

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.

Build your own OpenAI and Pipedrive integration

Create custom OpenAI and Pipedrive workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

OpenAI supported actions

Message a Model
Generate a model response with GPT 3, 4, 5, etc. using Responses API
Classify Text for Violations
Check whether content complies with usage policies
Analyze Image
Take in images and answer questions about them
Generate an Image
Creates an image from a text prompt
Edit Image
Edit an image
Generate Audio
Creates audio from a text prompt
Transcribe a Recording
Transcribes audio into text
Translate a Recording
Translates audio into text in English
Delete a File
Delete a file from the server
List Files
Returns a list of files that belong to the user's organization
Upload a File
Upload a file that can be used across various endpoints
Create
Create a conversation
Get
Get a conversation
Remove
Remove a conversation
Update
Update a conversation
Generate
Creates a video from a text prompt

Pipedrive supported actions

Create
Create an activity
Delete
Delete an activity
Get
Get data of an activity
Get Many
Get data of many activities
Update
Update an activity
Create
Create a deal
Delete
Delete a deal
Duplicate
Duplicate a deal
Get
Get data of a deal
Get Many
Get data of many deals
Search
Search a deal
Update
Update a deal
Get Many
Get many activities of a deal
Add
Add a product to a deal
Get Many
Get many products in a deal
Remove
Remove a product from a deal
Update
Update a product in a deal
Create
Create a file
Delete
Delete a file
Download
Download a file
Get
Get data of a file
Update
Update file details
Create
Create a lead
Delete
Delete a lead
Get
Get data of a lead
Get Many
Get data of many leads
Update
Update a lead
Create
Create a note
Delete
Delete a note
Get
Get data of a note
Get Many
Get data of many notes
Update
Update a note
Create
Create an organization
Delete
Delete an organization
Get
Get data of an organization
Get Many
Get data of many organizations
Search
Search organizations
Update
Update an organization
Create
Create a person
Delete
Delete a person
Get
Get data of a person
Get Many
Get data of many persons
Search
Search all persons
Update
Update a person
Get Many
Get data of many products

OpenAI and Pipedrive integration details

Use case

Supercharge your CRM

Need a more powerful integration with your CRM? n8n lets you go beyond standard integrations offered by popular CRMs!

Learn more

FAQs

  • Can OpenAI connect with Pipedrive?

  • Can I use OpenAI’s API with n8n?

  • Can I use Pipedrive’s API with n8n?

  • Is n8n secure for integrating OpenAI and Pipedrive?

  • How to get started with OpenAI and Pipedrive integration in n8n.io?

Need help setting up your OpenAI and Pipedrive integration?

Discover our latest community's recommendations and join the discussions about OpenAI and Pipedrive integration.
Artem
sérgio eduardo floresta filho
Andrew adawdad
PinkFloyd
Steve Warburton

Looking to integrate OpenAI and Pipedrive in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate OpenAI with Pipedrive

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon