Skip to main content

Sync HubSpot, Pipedrive & Salesforce to Google Sheets with OpenAI deduplication

Workflow preview

Workflow preview
100%
Sync HubSpot, Pipedrive & Salesforce to Google Sheets with OpenAI deduplication 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 contains community nodes that are only compatible with the self hosted version of n8n. How it works This workflow automatically synchronizes contact data from multiple CRM systems (Hu...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.webhook, n8n-nodes-base.merge, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.errortrigger, @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 Grace Gbadamosi.

Original n8n.io source

1.1 Workflow description

Title
Sync HubSpot, Pipedrive & Salesforce to Google Sheets with OpenAI deduplication
Workflow name
Sync HubSpot, Pipedrive & Salesforce to Google Sheets with OpenAI deduplication

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

How it works

This workflow automatically synchronizes contact data from multiple CRM systems (HubSpot, Pipedrive, and Salesforce) into a unified Google Sheets database. The system runs on a daily schedule or can be triggered manually via webhook. It uses AI-powered data processing to intelligently deduplicate records, calculate data quality scores, and merge similar contacts. The workflow generates comprehensive quality reports and sends notifications via Slack, ensuring your master database stays clean and up-to-date.

Who is this for

This template is designed for revenue operations teams, data managers, and business analysts who need to consolidate customer data from multiple CRM platforms. It's particularly valuable for organizations using multiple sales tools simultaneously or during CRM migration projects. The workflow helps maintain data integrity while providing insights into data quality across different systems.

Requirements

  • Google Sheets Account: For storing master database and quality reports
  • CRM Platform Access: API credentials for HubSpot, Pipedrive, and/or Salesforce
  • OpenAI API Key: For AI-powered data processing and deduplication
  • MCP Server: Github:marlonluo2018/pandas-mcp-server (optional - can be replaced with Code node)
  • Slack Webhook: For receiving sync completion and error notifications

How to set up

  1. Configure Environment Variables - Set up secure credential storage for all API keys: HUBSPOT_API_KEY, PIPEDRIVE_API_KEY, SALESFORCE_ACCESS_TOKEN, OPENAI_API_KEY, and SLACK_WEBHOOK_URL

  2. Create Google Sheets Structure - Create a master Google Sheet with two tabs: "Master_CRM_Data" for the unified contact database and "Quality_Reports" for tracking sync statistics and data quality metrics

  3. Set Up MCP Server - Install and configure "marlonluo2018/pandas-mcp-server"

  4. Update Configuration Center - Modify all placeholder values in the Configuration Center node with your actual Google Sheet IDs, quality thresholds, deduplication keys, and batch processing settings

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 - Daily Sync Schedule

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

Block 2 - Manual Sync Webhook

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

Block 3 - Trigger Router

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 4 - Configuration Center

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Parallel CRM Fetcher

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

Block 6 - Master Database Writer

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 7 - Quality Report Generator

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

Block 8 - Report Writer

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 9 - Error Handler

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

Block 10 - Error Processor

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

Block 11 - CRM Data Processing Agent

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

Block 12 - pandas-mcp-server

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

Block 13 - OpenAI Chat Model

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

Block 14 - Sticky Note

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

Block 15 - Sticky Note2

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

Block 16 - Sticky Note3

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

Block 17 - Sticky Note4

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

Block 18 - Sticky Note1

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

3. Summary Table

Workflow Sync HubSpot, Pipedrive & Salesforce to Google Sheets with OpenAI deduplication
Complexity advanced
Nodes 18
Categories CRM, AI Summarization
Author Grace Gbadamosi
Published 28 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6598/6598.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 Sync HubSpot, Pipedrive & Salesforce to Google Sheets with OpenAI deduplication do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. How it works This workflow automatically synchronizes contact data from multiple CRM systems (Hu...

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