Import data from MySQL into Google Sheets

Automates weekly queries from a MySQL table (e.g., books) and appends results to Google Sheets for easy analysis.

n8n
Import data from MySQL into Google Sheets

This workflow uses a Cron node to trigger every week at 5 AM, executing a SELECT query on a MySQL database table named 'books'. The retrieved data is then appended to a specified Google Sheet using OAuth2 authentication. It's ideal for automating data exports without manual intervention, ensuring your spreadsheets stay updated with fresh database records.

Benefits include significant time savings by eliminating CSV exports and manual uploads, reducing errors, and enabling real-time analytics in tools like Google Sheets. Perfect for marketing teams tracking sales, inventory, or customer data stored in MySQL, allowing seamless integration between backend databases and frontend reporting tools.

Use cases: Weekly reporting dashboards for book sales analytics, inventory tracking for e-commerce, or lead data synchronization for campaigns. Customize the query, schedule, or sheet for broader applications like CRM data pulls or financial summaries.

$5.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Marketing workflows

More from Omar Karlsson

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.