Templates / Automated product health monitor with anomaly detection & AI root cause analysis

Automated product health monitor with anomaly detection & AI root cause analysis

Ready for 3.0

by Yassin Zehar ✓ · 184 views · created 2025-11-21 · Market Research, 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 AI workflow has 32 nodes and runs on a schedule (every day at 08:00) (plus 3 other triggers). Along the way it connects Postgres, OpenAI, Slack and Gmail and 1 more.

How it runs

Trigger: On a schedule (every day at 08:00) (plus 3 other triggers).

  1. Execute the SQL query (Postgres): run a query
  2. select open incident (Postgres): run a query
  3. daily usage metrics (Postgres): run a query
  4. Execute SQL query incident check (Postgres): run a query
  5. anomalies check (Code): runs custom JavaScript code
  6. Condition incident (If): checks a condition and branches into true / false
  7. anomalies (Code): runs custom JavaScript code
  8. sum up (Code): runs custom JavaScript code
  9. log incident (Postgres): run a query
  10. revenue by country (Postgres): run a query

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

Services it uses

PostgresOpenAISlackGmailNotion

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

From the author

Description This workflow transforms raw SaaS metrics into a fully automated Product Health Monitoring & Incident Management system. It checks key revenue and usage metrics every day (such as churn MRR and feature adoption), detects anomalies using a…

Excerpt from Yassin Zehar'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.