Simplify Medical Lab Reports with Ollama AI and Email Delivery System
Go to WorkflowDescription
This automated n8n workflow streamlines the process of receiving, processing, and delivering patient-friendly lab reports with precautionary advice.
π Minimal But Complete Design:
Node Flow:
π§ Email Trigger β Monitors inbox for lab reports
π PDF Extract β Processes attachments & extracts content
π€ AI Simplify β Converts medical jargon to simple language
β¨ Format Response β Creates beautiful patient-friendly layout
π€ Send Report β Delivers simplified report via email
π Key Features:
β
Automatic Processing:
Monitors email for lab report PDFs
Extracts content from attachments
No manual intervention needed
β
AI-Powered Simplification:
Converts complex medical terms to plain English
Explains what each test result means
Adds β
/β οΈ indicators for normal/abnormal results
β
Patient-Friendly Output:
Professional HTML email formatting
Clear sections: Summary, Results, Precautions
Includes next steps and follow-up advice
β
Built-in Safety:
Always includes medical disclaimers
Encourages consulting healthcare providers
Handles edge cases with fallbacks
π οΈ Setup Requirements:
APIs Needed:
IMAP Email** (Gmail, Outlook, etc.)
Ollama AI Model** (Local medical AI)
SMTP Email** (Sending service)
Quick Configuration:
Import the JSON into n8n
Set up email credentials (IMAP + SMTP)
Configure Ollama medical model
Test with a sample lab report
π Sample Output:
π©Ί Your Lab Report - Simplified
β
CHOLESTEROL: 180 mg/dL - Normal!
Good job maintaining healthy levels.
β οΈ BLOOD SUGAR: 126 mg/dL - Slightly high
Normal is under 100. Consider reducing sugar intake.
π¬ VITAMIN D: 25 ng/mL - Low
You may need supplements. Ask your doctor.
π PRECAUTIONS:
β’ Eat more fruits and vegetables
β’ Exercise 30 minutes daily
β’ Schedule follow-up in 3 months
β’ Watch for: excessive thirst, fatigue