Sync new MySQL rows to Google Sheets in bulk

DatabaseDocument/File

What it does

When new rows are added to a MySQL table, this automation batches them and adds multiple rows to a Google Sheets spreadsheet. Someone can track database changes in a shared sheet without manual entry.

Who it's for

Data and analytics teams who need to sync MySQL records to Google Sheets for reporting and collaboration.

How teams use this

Sync sales opportunities to a shared sheet

New opportunities created in MySQL flow into Google Sheets automatically so the sales team can view and analyze them in a familiar spreadsheet. No manual copying is needed.

Track database changes for audits

Route MySQL table updates to a Google Sheet that serves as an audit log. The sheet becomes a timestamped record of all new rows added to the database.

Filter rows before syncing to the sheet

Add a condition to only sync rows that meet certain criteria, such as opportunities above a specific value. The Google Sheet then contains only the records the team needs to see.

How it works

  1. Monitor for new rows in MySQL. Watch the salesforce_opportunity table in MySQL for new rows. When multiple rows are added, this automation batches them together.
  2. Add rows to the Google Sheet. Insert all batched rows from MySQL into the spreadsheet at once. The sheet updates with the new data so the team sees current information.