Templates / Score PostgreSQL table data quality and send issue alerts to Slack

Score PostgreSQL table data quality and send issue alerts to Slack

Ready for 3.0

by Oneclick AI Squad ✓ · 15 views · created 2026-10-05 · Document Extraction, AI Summarization

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 18 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Postgres.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Postgres: run a query
  2. Set DQ Config (Edit Fields (Set)): sets 16 fields: tableName, pkColumn, timestampColumn…
  3. Code: runs custom JavaScript code
  4. Config Valid? (If): checks a condition and branches into true / false
  5. Postgres: run a query
  6. HTTP - Slack Config Error Alert (HTTP Request): calls an HTTP API (POST)
  7. Postgres: run a query
  8. Postgres: run a query
  9. Postgres: run a query
  10. Code: runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

Postgres

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

From the author

Quick Overview This workflow runs hourly or via a webhook to scan a PostgreSQL table for missing required values, duplicate business keys, numeric anomalies, and table health issues, then stores run history and issues in PostgreSQL and sends Slack alerts only…

Excerpt from Oneclick AI Squad'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.