Sales & CRM

Sync Postgres Database Changes to Google Sheets Automatically

9 nodes 132 99 Automatic trigger
Download

Workflow Description

Monitor your Postgres database for new and updated records, filter them based on custom business rules, and automatically add or update corresponding rows in Google Sheets. Keep your spreadsheets in sync with your database without manual intervention.

How it works

  1. 1.Continuously monitor Postgres table for data changes and new records
  2. 2.Apply custom filters to select only relevant rows based on your criteria
  3. 3.Append or update matching rows in Google Sheets instantly

Use cases

  • Keep a customer contact list in Google Sheets synced with your Postgres CRM database
  • Track new sales orders and automatically update their status in a shared spreadsheet
  • Export filtered transaction records to Google Sheets for accounting and reporting

Requirements

  • Active Google account with permission to create and edit spreadsheets
  • Direct access to Postgres database with source data tables

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Postgres Google Sheets

Details

Trigger Automatic trigger
Nodes 9
Apps 2
Views 132
Downloads 99

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (9)

Postgres Trigger

Postgres Trigger

#1

Filter

Filter

#2

Sticky Note1

Sticky Note

#3

Sticky Note

Sticky Note

#4

Sticky Note6

Sticky Note

#5

Sticky Note2

Sticky Note

#6

On clicking "Execute Node"

Manual Trigger

#7

Code

Code

#8

Google Sheets

Google Sheets

#9