Sync Google Sheets data with MySQL
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs on a schedule (cron */30 6-22 * * 1-5) (plus 1 other trigger). Along the way it connects Google Sheets and MySQL.
How it runs
Trigger: On a schedule (cron */30 6-22 * * 1-5) (plus 1 other trigger).
- Google Sheet Data (Google Sheets): uses Google Sheets
- SQL Get inquiries from Google (MySQL): select
- Rename GSheet variables (Edit Fields (Set)): sets or maps fields
- Compare Datasets: uses Compare Datasets
- Add MySQL records (MySQL): create or update
- No reply too long? (If): checks a condition and branches into true / false
- DB Status assigned? (If): checks a condition and branches into true / false
- DB Status in sync? (If): checks a condition and branches into true / false
- Update GSheet status (Google Sheets): update
- Sync MySQL data (MySQL): update
Services it uses
Other Google Sheets + MySQL templates (8)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Compare Datasets
n8n-nodes-base.compareDatasets - No Operation, do nothing
n8n-nodes-base.noOp - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - MySQL
n8n-nodes-base.mySql - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if
From the author
This workflow performs several data integration and synchronization tasks between Google Sheets and a MySQL database. Here is a step-by-step description of what this workflow does: 1. Manual Trigger: The workflow starts when the user clicks "Execute…