You are helping me build the following AI agent workflow. ## Goal Predictive Health Monitoring & Alert System: Ingests wearable health data via webhook to calculate risk scores against historical patterns and triggers alerts when thresholds are... ## Specification - What it does: You receive instant health alerts on your phone or Slack when your wearable data exceeds safe risk scores based on your personal history. The system automatically analyzes your trends using AI to spot potential issues before they become critical, then schedules follow-up actions for you. - Trigger: Triggered by an event (Event ยท on new wearable data) - Autonomy: Fully hands-off - Expected setup effort: a few focused days - Tools/services involved: - HTTP Request: Ingesting real-time wearable data via webhook - Postgres: Storing health metrics and historical data - OpenAI Chat Model: Analyzing trends and calculating risk scores - Slack: Sending alert notifications - Send Email: Triggering email alerts and reports ## Known pitfalls, handle each one explicitly in your implementation 1. Wearable data formats vary widely across manufacturers, so implement robust schema validation to reject malformed payloads before processing. 2. Storing sensitive health data requires strict encryption at rest and in transit to comply with HIPAA or GDPR regulations. 3. Repeated threshold breaches may cause alert fatigue for users, so implement a cooldown period between identical notifications. ## Reference implementation https://n8n.io/workflows/10457 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/predictive-health-monitoring-alert-system/ via usecasesforagents.com