Simplify Medical Lab Reports with Ollama AI and Email Delivery System

Go to Workflow
0 views
Built by Oneclick AI Squad Oneclick AI Squad
Created on June 05, 2026

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 (4)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Ollama Chat Model
@n8n/n8n-nodes-langchain.lmChatOllama
Send Email
n8n-nodes-base.emailSend