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