Translate lab report PDFs for patients with Google Drive, OpenAI and Gmail
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, OpenAI, Gmail and Slack.
How it runs
Trigger: On Google Drive events (file created).
- Google Drive: download
- Extract Text: Parse PDF to Raw Text (Extract from File): extracts data from a file (pdf)
- AI: Extract Structure + Detect Language (OpenAI): uses OpenAI
- Code: runs custom JavaScript code
- Slack: uses Slack
- AI: Simplify Findings to Plain English (OpenAI): uses OpenAI
- Code: runs custom JavaScript code
- Slack: uses Slack
- AI: Translate Summary to Patient Language (OpenAI): uses OpenAI
- Code: runs custom JavaScript code
…plus 3 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 Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow watches a Google Drive folder for new lab-report PDFs, extracts their text, uses OpenAI (gpt-4o-mini) to structure and simplify results, translates the summary into the patient’s preferred language, and emails a Markdown report…