Skip to main content

Natural language Q&A for Pipedrive leads using GPT-4o-mini

Workflow preview

Workflow preview
100%
Natural language Q&A for Pipedrive leads using GPT-4o-mini preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Description Ask natural language questions about your Pipedrive leads . This workflow pulls live lead data from Pipedrive and has OpenAI answer questions like “leads added this week”, “stuck lea...

Best for

  • AI RAG automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.pipedrivetool, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Natural language Q&A for Pipedrive leads using GPT-4o-mini
Workflow name
Natural language Q&A for Pipedrive leads using GPT-4o-mini

📖 Description

Ask natural-language questions about your Pipedrive leads. This workflow pulls live lead data from Pipedrive and has OpenAI answer questions like “leads added this week”, “stuck leads by owner”, or “next activities due today.” Responses are grounded only in your Pipedrive data.


⚙️ Setup Instructions

1️⃣ Set Up OpenAI Connection

  1. Go to OpenAI Platform
  2. Navigate to OpenAI Billing
  3. Add funds to your billing account
  4. Copy your API key into the OpenAI credentials in n8n

2️⃣ Connect Pipedrive

  1. In PipedrivePersonal preferences → API → copy your API token
    • URL shortcut: https://{your-company}.pipedrive.com/settings/personal/api
  2. In n8nCredentials → New → Pipedrive API
    • Company domain: {your-company} (the subdomain in your Pipedrive URL)
    • API Token: paste the token from step 1 → Save
  3. In the Pipedrive Tool node, select your Pipedrive credential and (optionally) set filters (e.g., owner, label, created time).

🗣️ Example Questions You Can Ask

  • “Summarize leads added this week by owner.”
  • “Which leads have no upcoming activity?”
  • “Show overdue activities and who owns them.”
  • “Top 10 leads by value that are still open.”
  • “Leads created in the last 7 days with the label ‘Inbound’.”
  • “What are the next actions due today?”
  • “Which leads are stuck >14 days without updates?”
  • “Give me a one-paragraph pipeline health summary.”

📬 Contact

Need help extending this (e.g., posting summaries to Slack/Email or auto-creating activities)?

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 - OpenAI Chat Model1

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

Block 2 - Pipedrive Tool

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

Block 3 - Chat with Slack

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

Block 4 - Sticky Note5

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

Block 5 - Sticky Note51

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

Block 6 - Pipedrive Leads Chatbot

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 7 - Sticky Note

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

Block 8 - Sticky Note1

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

3. Summary Table

Workflow Natural language Q&A for Pipedrive leads using GPT-4o-mini
Complexity intermediate
Nodes 8
Categories AI RAG, Multimodal AI
Author Robert Breen
Published 20 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7670/7670.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 Natural language Q&A for Pipedrive leads using GPT-4o-mini do?

Description Ask natural language questions about your Pipedrive leads . This workflow pulls live lead data from Pipedrive and has OpenAI answer questions like “leads added this week”, “stuck lea...

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