Skip to main content

Simplify medical lab reports with Ollama AI and email delivery system

Workflow preview

Workflow preview
100%
Simplify medical lab reports with Ollama AI and email delivery system preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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: 1. ...

Best for

  • Document Extraction automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.emailreadimap, @n8n/n8n-nodes-langchain.lmchatollama, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.emailsend, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Simplify medical lab reports with Ollama AI and email delivery system
Workflow name
Simplify medical lab reports with Ollama AI and email delivery system

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:

  1. πŸ“§ Email Trigger β†’ Monitors inbox for lab reports
  2. πŸ“„ PDF Extract β†’ Processes attachments & extracts content
  3. πŸ€– AI Simplify β†’ Converts medical jargon to simple language
  4. ✨ Format Response β†’ Creates beautiful patient-friendly layout
  5. πŸ“€ 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:

  1. Import the JSON into n8n
  2. Set up email credentials (IMAP + SMTP)
  3. Configure Ollama medical model
  4. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Lab Report Email Trigger

Type / Role
n8n-nodes-base.emailReadImap - emailReadImap
Config choices
Version 2

Block 2 - Medical AI Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

Block 3 - Extract PDF Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - AI Report Simplifier

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 5 - Format Report Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Send Simplified Report

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 1

Block 7 - Workflow Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Setup Instructions

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Simplify medical lab reports with Ollama AI and email delivery system
Complexity intermediate
Nodes 8
Categories Document Extraction, Multimodal AI
Author Oneclick AI Squad
Published 12 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7274/7274.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Simplify medical lab reports with Ollama AI and email delivery system do?

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: 1. ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, Multimodal AI use case.