Templates / Sync new data between two apps

Sync new data between two apps

Ready for 3.0

by n8n Team ✓ · 9,824 views · created 2023-07-03 · Lead Generation

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 5 nodes and runs on Postgres events (plus 1 other trigger). Along the way it connects Postgres and Google Sheets.

How it runs

Trigger: On Postgres events (plus 1 other trigger).

  1. Filter: keeps only the items that match a condition
  2. Code: runs custom JavaScript code
  3. Google Sheets: append or update

Services it uses

PostgresGoogle Sheets

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

This template shows how to sync data from one service to another. Specifically, in this example we're saving a new qualified lead from a Postgres database to a Google Sheets file. Setup instructions are located inside the workflow template.

Excerpt from n8n Team'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.