Back to work
n8nCase study

Specialized Medical Alert Triage

Medical alert triage workflow that receives webhook submissions, validates required fields, classifies alerts by urgency and species, routes critical standard alerts to Slack and Google Sheets, sends critical exotic alerts to Slack, Gmail (exotic specialist), and Sheets, logs routine standard alerts to Sheets, routes routine exotic alerts to Gmail and Sheets, logs incomplete submissions to Sheets with a founder Gmail alert, and catches API failures with a founder pipeline failure Gmail alert.

n8n · workflow canvasproduction build
Specialized Medical Alert Triage workflow

Context

A veterinary medical alert system needed to distinguish between standard and exotic animals, escalate critical cases immediately via Slack, route exotic specialist alerts via Gmail, and ensure founders are notified when submissions are incomplete or when pipeline failures occur.

Approach

Built a two-part n8n workflow system with a webhook medical alert submission trigger and a separate API failure error trigger. The main flow normalizes and classifies the alert, validates required fields, and branches on urgency and species combinations: critical standard goes to Slack and Sheets, critical exotic goes to Slack, Gmail, and Sheets, routine standard logs to Sheets, routine exotic goes to Gmail and Sheets, and incomplete submissions log to Sheets with a founder Gmail alert.

Architecture

Workflow 1
  1. Medical Alert Submission (Webhook)
  2. Set: Normalize & Classify Alert
  3. If: Required Fields Present?
  4. No: Google Sheets: Log Incomplete Alert to Error + Gmail: Founder - Incomplete Alert
Yes
  1. Switch: Route by Urgency x Species
  2. critical_standard: Slack: Critical Emergency Alert + Google Sheets: Log Critical Standard Alert
critical_exotic
  1. Slack: Critical Emergency Alert - Exotic + Gmail: Exotic Specialist - Critical Alert + Google Sheets: Log Critical Exotic Alert
routine_standard
  1. Google Sheets: Log Routine Standard Alert
routine_exotic
  1. Gmail: Exotic Specialist - Routine Alert + Google Sheets: Log Routine Exotic Alert. Workflow 2: Error Trigger: Catch All API Failures
  2. Gmail: Founder - Pipeline Failure Alert

Results

Under 1 minuteCritical case escalation time
~6 hrs/weekTriage time saved
0%Incomplete submissions missed