Extract medical reports & generate AI health advice with Mistral AI & GPT-4
Ready for 3.0What 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).
- Download file (Google Drive): download
- Check if PDF or Image (If): checks a condition and branches into true / false
- Extract from PDF (Mistral AI): uses Mistral AI
- Extract from Image (Mistral AI): uses Mistral AI
- Combine page Markdown (Code): runs custom JavaScript code
- Extract Medical Data (AI) (OpenAI): uses OpenAI
- Parse AI output to one-per-row (Code): runs custom JavaScript code
- Out-of-Range Detection & Advice Fields (Code): runs custom JavaScript code
- Save All Test Results (Google Sheets): append
- General Health Advice(AI) (OpenAI): uses OpenAI
…plus 2 more steps. See the full node list below.
Services it uses
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)
- Google Drive
n8n-nodes-base.googleDrive - Code
n8n-nodes-base.code - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Mistral AI
n8n-nodes-base.mistralAi - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Sheets
n8n-nodes-base.googleSheets
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…