n8n community node v1.2.1 for Google Cloud SQL PostgreSQL, using the Cloud SQL Connector for authentication. Provides a database node (select, insert, update, upsert, delete, custom query) with batching modes and dynamic schema loading, plus a trigger node for LISTEN/NOTIFY and table row change events. Requires n8n-workflow peer dependency. Intended for self-hosted n8n only (n8n.strict = false, not eligible for n8n Cloud). Release cadence: irregular, open source. Supports IAM and password authentication via Service Account JSON or Application Default Credentials. Key differentiator: direct integration of Cloud SQL Connector for secure auth without IP whitelisting.
npm install n8n-nodes-cloudsql-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows credential setup and a basic Execute Query operation, plus trigger configuration.
Run on a self-hosted n8n instance. Cannot be submitted for n8n Cloud verification.
Ensure n8n-workflow is installed (it comes with n8n, but when developing locally, run npm install --include=dev).
Grant 'Cloud SQL Client' IAM role to the service account and enable 'Cloud SQL IAM authentication' on the database instance.
Manually drop the trigger and function when no longer needed, or use 'Advanced' mode on a pre-existing channel.
Set node version to 8 in the node's Options section.
Verify network connectivity: for PUBLIC IP type, allowlist n8n IP; for PRIVATE, use VPC peering or VPN.
Run: npm install n8n-workflow (or install inside n8n's node_modules directory).
Add "n8n": { "nodes": ["n8n-nodes-cloudsql-postgres"] } to your top-level package.json, then restart n8n.Check Cloud SQL instance connection name and IP Type. For PUBLIC, ensure network allows egress to Cloud SQL IP. For PRIVATE, use VPC.
For PASSWORD: check user/password. For IAM: ensure service account has Cloud SQL Client and DB user is set up with IAM auth (e.g., CREATE USER ... WITH AUTHENTICATION CLOUD IAM).