๐ฌ Simplify medical lab reports with Ollama AI and email delivery system
โก 562 views ยท ๐ฌ Document Extraction & Analysis
Description
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
## ๐ Nodes Used
Email Trigger (IMAP), Send Email, AI Agent, Ollama Chat Model
## ๐ฅ Import
Download [`workflow.json`](workflow.json) and import into n8n:
**Workflow menu โ Import from File**
[๐ Importing guide](../../../docs/importing-templates.md) ยท [๐ Credential setup](../../../docs/credential-setup.md)