Skip to main content

Build a Pipedrive MCP server with Google Gemini AI

Workflow preview

Workflow preview
100%
Build a Pipedrive MCP server with Google Gemini AI 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 n8n workflow leverages the power of AI and automation to streamline Pipedrive's CRM operations using natural language commands. It allows you to interact with your Deals, Leads, Persons, and O...

Best for

  • CRM automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.mcpclienttool, @n8n/n8n-nodes-langchain.mcptrigger, n8n-nodes-base.stickynote, n8n-nodes-base.pipedrivetool

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Aitor | 1Node.

Original n8n.io source

1.1 Workflow description

Title
Build a Pipedrive MCP server with Google Gemini AI
Workflow name
Build a Pipedrive MCP server with Google Gemini AI

This n8n workflow leverages the power of AI and automation to streamline Pipedrive's CRM operations using natural language commands. It allows you to interact with your Deals, Leads, Persons, and Organizations simply by sending a message.

How it Works

The workflow initiates the process by sending the incoming message to an AI Agent. The AI Agent is powered by Google Gemini Chat Model and utilizing n8n's Simple Memory to maintain context, interprets the natural language command. Based on the interpreted command, the AI Agent instructs the MCP Client node to perform specific actions. The MCP Client then interacts with various nodes from Pipedrive designed to manage Deals, Leads, Persons, and Organizations within your CRM. These nodes can perform actions like creating, getting, updating, or searching for data in each category. Finally, a Gmail node sends a summary compiling the actions executed.

Set Up Steps

  • Set up your MCP Client: Paste the MCP URL from your MCP Trigger node into the MCP Client node.
  • Configure the AI Agent: Connect your Google Gemini Chat Model credentials or your desired LLM.
  • Configure Pipedrive: The individual nodes for Deals, Leads, Persons, and Organizations will need to be connected to your specific CRM. Add your Oath credentials for Pipedrive by creating a private app.
  • Configuring each specific node (Create Deal, Get Lead, Update Person, Search Organization, etc.) to perform the desired action.
  • Configure Send Summary: Set up the Gmail node to send the summary email.

Benefits

  • Significant Time Saving: Automates data entry, retrieval, and updates in your CRM, freeing up valuable time for sales teams and managers.
  • Increased Efficiency: Perform multiple CRM actions with a single natural language command.
  • Simplified CRM Interaction: Interact with your CRM using natural language instead of navigating complex interfaces.
  • Reduced Errors: Automation minimizes manual data entry errors.

Suggested Enhancements

  • Integrate More CRM Operations: Add nodes for additional CRM functionalities like logging activities, managing tasks, or working with other modules and tools.
  • Connect to Other Tools: Integrate with other sales or marketing tools to create a more comprehensive workflow.
  • Advanced AI Capabilities: Explore fine-tuning the AI model for better understanding of specific industry jargon or complex requests. Should you add more nodes and tools, you might want to insert a specific prompt to the AI agent to give more context about the tools and actions to perform.
  • User Management and Permissions: Customize the private app's permissions on your Pipedrive account to limit access.
  • Error Handling and Notifications: Add more robust error handling and notification systems to be alerted if a workflow run fails.

Need help?

Feel free to contact us at 1 Node. Get instant access to a library of free resources we created.

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 - On new message

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - AI Agent

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

Block 3 - Simple Memory

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

Block 4 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 5 - MCP Client

Type / Role
@n8n/n8n-nodes-langchain.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 6 - MCP Server Trigger

Type / Role
@n8n/n8n-nodes-langchain.mcpTrigger - mcpTrigger
Config choices
Version 1

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

Block 9 - Sticky Note2

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

Block 10 - Sticky Note3

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

Block 11 - Create Organization Deal

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

Block 12 - Create Person Deal

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

Block 13 - Update Deal

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

Block 14 - Search & Return Deals

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

Block 15 - Create Person Lead

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

Block 16 - Get Lead

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

Block 17 - Get Deal

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

Block 18 - Update Lead

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

Block 19 - Return Many Leads

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

Block 20 - Create Person

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

Block 21 - Get Person

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

Block 22 - Search Person

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

Block 23 - Update Person

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

Block 24 - Create Organization

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

Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Build a Pipedrive MCP server with Google Gemini AI
Complexity advanced
Nodes 32
Categories CRM, AI Chatbot
Author Aitor | 1Node
Published 14 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4040/4040.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 Build a Pipedrive MCP server with Google Gemini AI do?

This n8n workflow leverages the power of AI and automation to streamline Pipedrive's CRM operations using natural language commands. It allows you to interact with your Deals, Leads, Persons, and O...

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 CRM, AI Chatbot use case.