Templates / Synchronize your Google Sheets with Postgres

Synchronize your Google Sheets with Postgres

Ready for 3.0

by Bela ✓ · 6,886 views · created 2024-02-04 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 7 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets and Postgres.

How it runs

Trigger: On a schedule (every hour).

  1. Retrieve Sheets Data (Google Sheets): uses Google Sheets
  2. Select Rows in Postgres (Postgres): select
  3. Split Out: splits a list into separate items
  4. Compare Datasets: uses Compare Datasets
  5. Insert Rows (Postgres): uses Postgres
  6. Update Rows (Postgres): update

Services it uses

Google SheetsPostgres

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 (5)

From the author

Sync your Google Sheets Data with your Postgres database table, requiring minimal adjustments. Follow these steps: 1. Retrieve Data: Pull data from Google Sheets and PostgreSQL. 2. Compare Datasets: Identify differences, focusing on new or updated entries. 3.…

Excerpt from Bela's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.