Sync Google Sheets rows to MySQL and SQL Server

Document/FileSales EnablementDatabaseMarketing

What it does

When someone adds a row to a Google Sheet, this automation checks if an ID is present. It queries SQL Server for matching rows and inserts the data into MySQL so both databases stay synchronized.

Who it's for

Data and analytics teams who need to keep MySQL and SQL Server updated from Google Sheets without manual entry.

How teams use this

Keep sales data synchronized across databases

Add employee records to Google Sheets and have them automatically sync to both SQL Server and MySQL. The team works in Sheets while both databases stay current without manual updates.

Validate data before inserting to MySQL

Check that the ID is present in the Google Sheets row before querying SQL Server and inserting to MySQL. Only valid records make it to both databases.

Sync student enrollment across systems

Use the same flow to insert course enrollment data from Google Sheets into the studentcourseview table. The automation works for any data that needs to move from Sheets to both databases.

How it works

  1. Detect a new spreadsheet row. A new row is added to a sheet in Google Sheets in real time, and this automation runs to sync the data to both databases.
  2. Find matching rows in SQL Server. Query the dbo.SalesEmployees table in SQL Server and select rows where the ID matches the new Google Sheets row so the correct records are identified.
  3. Insert the row into MySQL. Insert the row into the studentcourseview table in MySQL so the data is available in both database systems and stays in sync.