Templates / Extract medical reports & generate AI health advice with Mistral AI & GPT-4

Extract medical reports & generate AI health advice with Mistral AI & GPT-4

Ready for 3.0

by Sridevi Edupuganti ✓ · 1,115 views · created 2025-10-17 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, OpenAI and Google Sheets.

How it runs

Trigger: On Google Drive events (file created).

  1. Download file (Google Drive): download
  2. Check if PDF or Image (If): checks a condition and branches into true / false
  3. Extract from PDF (Mistral AI): uses Mistral AI
  4. Extract from Image (Mistral AI): uses Mistral AI
  5. Combine page Markdown (Code): runs custom JavaScript code
  6. Extract Medical Data (AI) (OpenAI): uses OpenAI
  7. Parse AI output to one-per-row (Code): runs custom JavaScript code
  8. Out-of-Range Detection & Advice Fields (Code): runs custom JavaScript code
  9. Save All Test Results (Google Sheets): append
  10. General Health Advice(AI) (OpenAI): uses OpenAI

…plus 2 more steps. See the full node list below.

Services it uses

Google DriveOpenAIGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Try It Out! Use n8n to extract medical test data from diagnostic reports uploaded to Google Drive, automatically detect abnormal values, and generate personalized health advice. How it works 1. Upload a medical report (PDF or image) to a monitored Google…

Excerpt from Sridevi Edupuganti's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.