Generate Medical Reports from Emails with Gemini AI & Google Workspace
๐ Description: This template is designed for healthcare providers, sales reps, and medical tourism companies who need to process diagnosis emails efficiently. It automates the full flow from email to report delivery.
When a new diagnosis email arrives:
The email content is captured and parsed by an AI agent (Gemini or any customizable LLM).
Patient and medical data is extracted into structured fields (e.g., name, phone, diagnosis).
Data is logged into a Google Sheet for records.
A Google Docs medical report is generated using a predefined template.
The report is exported as PDF and emailed to stakeholders (e.g., managers or sales team).
This template supports custom AI models, customizable Google Docs templates, and flexible filtering based on sender email.
๐ ๏ธ Features Gmail email trigger (customizable sender filter)
AI-powered diagnosis parsing using Gemini (easily switchable to OpenAI or others)
Google Sheets log
Google Docs templated report (auto-filled)
PDF export and email sending
Full flexibility & customization
๐ง Requirements Before using this template, you'll need:
A connected Gmail account (to receive diagnosis emails)
A valid Google Sheets integration (create your own sheet with the desired columns)
A Google Docs template document that includes placeholder tags like {{patient_name}}, {{date}}, etc.
A Gemini or OpenAI API connection for the AI agent (fully customizable)
Note: You must replace all Google Drive, Docs, and Sheets references with your own documents. This template does not grant access to the original creator's files.
โ๏ธ Customization Tips In the Gmail Trigger node, change the sender filter to match the doctorโs email you want to process.
Modify the AI prompt if your use case needs different extracted fields.
Replace the Google Docs template link with your own file and customize its structure and variables.
Change recipient email addresses in the final Gmail node to notify the correct team members.
Optional: Add fallback flows or error branches for when AI fails or input is malformed.
๐ง Use Case Examples Medical tourism agencies auto-generating patient reports for incoming diagnosis summaries
Clinics storing structured data from messy email inputs
Sales teams instantly notified of new leads with completed medical summaries
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
๐ธ Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments