# Two way sync Pipedrive and MySQL: n8n workflow template

> Started by a clock, and works across MySQL and Pipedrive. 14 steps, 2 branches: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/two-way-sync-pipedrive-and-mysql (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [CRM](https://millionrounds.com/workflows?category=CRM#library)

# Two way sync Pipedrive and MySQL

Started by a clock, and works across MySQL and Pipedrive. 14 steps, 2 branches: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftwo-way-sync-pipedrive-and-mysql)

**14 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Logic 6 Service 7

The steps in the order they run, from what starts it.

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **Pipedrive** Pipedrive *Service*
- 3 **MySQL** My Sql *Service*
- 4 **Set** Set *Logic*
- 5 **Compare Datasets** Compare Datasets *Service*
- 6 **Create Person** Pipedrive *Service*
- 7 **IF Data Changed** If *Logic*
- 8 **Create Contact** My Sql *Service*
- 9 **Date & Time** Date Time *Logic*
- 10 **IF Updated On** If *Logic*
- 11 **Set Input1** Set *Logic*
- 12 **Set Input2** Set *Logic*
- 13 **Update Person** Pipedrive *Service*
- 14 **Update Contact** My Sql *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 14, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** MySQL, Pipedrive
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own MySQL and Pipedrive accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 14 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 14 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftwo-way-sync-pipedrive-and-mysql)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[MySQL](https://millionrounds.com/workflows?service=MySQL#library)[Pipedrive](https://millionrounds.com/workflows?service=Pipedrive#library)

## Workflows like it

Also crm, with the same services where possible, closest in size first.

- [**Connect Pipedrive deal outcomes to GA4 & Google Ads** 13 steps · Pipedrive](https://millionrounds.com/workflow/connect-pipedrive-deal-outcomes-to-ga4-and-google-ads)
- [**Sync CRM contacts with Mailchimp and Pipedrive** 15 steps · Mailchimp, Pipedrive](https://millionrounds.com/workflow/sync-crm-contacts-with-mailchimp-and-pipedrive)
- [**Public transport delay tracker with Pipedrive** 11 steps · Pipedrive](https://millionrounds.com/workflow/public-transport-delay-tracker-with-pipedrive)
- [**Generate daily Pipedrive deal summaries with OpenAI** 10 steps · calls a model · Pipedrive](https://millionrounds.com/workflow/generate-daily-pipedrive-deal-summaries-with-openai)
- [**Qualify replies from Pipedrive persons with OpenAI and Gmail** 10 steps · calls a model · Gmail, Pipedrive](https://millionrounds.com/workflow/qualify-replies-from-pipedrive-persons-with-openai-and-gmail)
- [**Get daily activities from a Pipedrive user with Google Sheets** 9 steps · Google Sheets, Pipedrive](https://millionrounds.com/workflow/get-daily-activities-from-a-pipedrive-user-with-google-sheet)
