Skip to content
Developer & DevOps

Sync Google Sheets data with MySQL database

15 nodes 553 200 Automatic trigger
Download

Loading workflow…

Workflow Description

An automation that transfers data between Google Sheets and MySQL databases, compares changes, and updates records automatically when modified or on a scheduled basis. This ensures data consistency across both platforms without manual intervention.

How it works

  1. 1.Trigger workflow manually or based on a scheduled timer
  2. 2.Fetch data from the specified Google Sheets table
  3. 3.Compare new data against existing MySQL database records
  4. 4.Insert or update differing records in the MySQL database
  5. 5.Log synchronization results and any errors encountered

Use cases

  • Transfer customer data from planning sheets to production databases
  • Keep inventory and pricing tables synchronized across systems
  • Periodically update employee and payroll records

Requirements

  • Google account with full access to Google Sheets
  • MySQL connection credentials (host, user, password, database name)
  • Matching column structure between sheet and database table

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Google Sheets MySQL

Details

Trigger Automatic trigger
Nodes 15
Apps 2
Views 553
Downloads 200

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (15)

/

When clicking "Execute Workflow"

Manual Trigger

#1

Compare Datasets

Set

#2

Send Notifications

No Op

#3

Schedule Trigger

Schedule Trigger

#4

Google Sheet Data

Google Sheets

#5

SQL Get inquiries from Google

My Sql

#6

Add MySQL records

My Sql

#7

Rename GSheet variables

Set

#8

No reply too long?

If

#9

DB Status assigned?

If

#10

Update GSheet status

Google Sheets

#11

DB Status in sync?

If

#12

Sync MySQL data

My Sql

#13

Sticky Note

Sticky Note

#14

Sticky Note1

Sticky Note

#15
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime