CRM and lead operations

Two-way Pipedrive and MySQL contact synchronisation workflow

Short answer

This deterministic n8n workflow runs on a schedule to compare Pipedrive contact records against your company MySQL database. Using dataset comparison and last-modified timestamps, it inserts new entries and writes only newer updates back to the other system. Sales and operations stay aligned without manual CSV exports or stale overwrites.

Catalogue ID
#1092
Functional nodes
14
Connections
13
Trigger
scheduleTrigger
AI layer
Deterministic
Business problem solved

Business problem solved

Sales reps update contact details in Pipedrive while delivery teams keep working from stale rows inside an internal MySQL database. Manual CSV imports waste time and frequently overwrite fresh edits with older snapshots.

Trigger

A schedule trigger runs at fixed intervals to compare and synchronise changes across both systems.

Connected systems

Connected systems

  • Pipedrive CRM
  • MySQL database
  • Self-hosted n8n

Every workflow is deployed on your own server with documentation, a run log and an error queue.

Workflow steps

Workflow steps

  1. 01

    Dual-source contact fetch

    The workflow reads contacts from Pipedrive and matching rows from MySQL in parallel, normalising key fields.

  2. 02

    Dataset comparison

    The Compare Datasets node separates Pipedrive-only records, MySQL-only records and rows that differ between the two.

  3. 03

    Timestamp-ordered updates

    For rows modified on both sides, last-updated timestamps determine which system receives the fresh values.

Error queue and human approval

Error queue and human approval

Built-in state in the catalogue workflow

The verified catalogue workflow contains zero node-level error flags across its 14 functional nodes and 13 connections.

Production layer added by ALTAI

During live deployment, ALTAI adds a conflict-review queue that pauses simultaneous edits instead of overwriting silently, plus delete protection and a run log.

Frequently asked

Two-way Pipedrive and MySQL CRM sync workflow Frequently asked questions

Production deployments detect simultaneous conflicts and send both versions to a human approval queue instead of overwriting either edit blindly.

No. Deletions are irreversible; in production, removed contacts are flagged as archived or queued for human confirmation rather than purged.

No. Because n8n runs self-hosted inside your own server or private network, MySQL stays private behind your firewall.

Yes. The comparison and timestamp logic remain identical; only the database read and write nodes swap to PostgreSQL.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

We write the proposal after we have found the problem together

In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.

30 minutes · no preparation needed

The call and the week of discovery are both free.Read the terms

Chat on WhatsApp