Templates / Predictive health monitoring & alert system with GPT-4o-mini

Predictive health monitoring & alert system with GPT-4o-mini

Needs changes

by Cheng Siong Chin ✓ · 1,237 views · created 2025-11-03 · Engineering, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Postgres, OpenAI Chat Model, Twilio and MongoDB and 3 more. It also calls api.pdfmonkey.io over HTTP.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Normalize Health Data (Code): runs custom JavaScript code
  2. Store in Database (Postgres): uses Postgres
  3. Get Recent History (Postgres): run a query
  4. Trigger Wearable Device Sync (HTTP Request): calls an HTTP API (POST)
  5. Log to MongoDB Health History (MongoDB): insert
  6. Analyze Health Metrics (Code): runs custom JavaScript code
  7. Check If Doctor Visit Needed (If): checks a condition and branches into true / false
  8. Calculate Health Score (Code): runs custom JavaScript code
  9. Generate Health Report (AI Agent): runs an AI agent, with model: OpenAI GPT-
  10. Compare with Previous Week (Code): runs custom JavaScript code

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

Services it uses

PostgresOpenAI Chat ModelTwilioMongoDBSlackGoogle CalendarRedis

HTTP calls to: api.pdfmonkey.io

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Generate Health Report (v1.7), AI Predictive Health Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Generate Health Report (v1.7), AI Predictive Health Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (14)

From the author

How It Works The system collects real-time wearable health data, normalizes it, and uses AI to analyze trends and risk scores. It detects anomalies by comparing with historical patterns and automatically triggers alerts and follow-up actions when thresholds…

Excerpt from Cheng Siong Chin'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.