This automated n8n workflow transforms uploaded radiology images into professional, patient-friendly PDF reports. It uses AI-powered image analysis to interpret medical scans, simplify technical terms, and produce clear explanations. The reports are formatted, converted to PDF, stored in a database, and sent directly to patients via email, ensuring both accuracy and accessibility.
🏥 Workflow Overview:
Simple Process Flow:
-
Upload Image → 2. AI Analysis → 3. Generate Report → 4. Send to Patient
đź”§ How It Works:
-
Webhook Trigger - Receives image uploads via POST request
-
Extract Image Data - Processes patient info and image data
-
AI Image Analysis - Uses GPT-4 Vision to analyze the radiology image
-
Process Analysis - Structures the AI ​​response into readable sections
-
Generate PDF Report - Creates a beautiful HTML report
-
Convert to PDF - Converts HTML to downloadable PDF
-
Save to Database - Logs all reports in Google Sheets
-
Email Patient - Sends the report via email
-
Return Response - Confirms successful processing
📊 Key Features:
-
AI-Powered Analysis using GPT-4 Vision
-
Patient-Friendly Language (no medical jargon)
-
Professional PDF Reports with clear sections
-
Email Delivery with report attachment
-
Database Logging for record keeping
-
Simple Webhook Interface for easy integration
🚀 Usage Example:
Send POST request to webhook with:
{
"patient_name": "John Smith",
"patient_id": "P12345",
"scan_type": "X-Ray",
"body_part": "Chest",
"image_url": "https://example.com/xray.jpg",
"doctor_name": "Dr. Johnson",
"patient_email": "john@email.com"
}
⚙️ Required Setup:
-
OpenAI API - For GPT-4 Vision image analysis
-
PDF Conversion Service - HTML to PDF converter
-
Gmail Account - For sending reports
-
Google Sheets - For logging reports
-
Replace
YOUR_REPORTS_SHEET_ID with your actual sheet ID
Want a tailored workflow for your business? Our experts can craft it quickly Contact our team