Generate medical reports from emails with Gemini AI & Google Workspace
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets, Google Gemini Chat Model and Google Docs and 1 more.
How it runs
Trigger: On Gmail events.
- Edit Fields (Edit Fields (Set)): sets 1 field: content
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
- Code: runs custom JavaScript code
- Append row in sheet (Google Sheets): append
- Copy file (Google Drive): copy
- Update a document (Google Docs): update
- HTTP Request: calls an HTTP API
- Code: runs custom JavaScript code
- Send a message (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Drive + Google Sheets templates (720)
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Nodes used (10)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Google Docs
n8n-nodes-base.googleDocs - Google Drive
n8n-nodes-base.googleDrive - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest
From the author
📝 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…