Generate personalized patient education reports with Google Sheets, Gemini, Brave, and Google Docs
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Google Gemini Chat Model and Google Docs. It also calls api.search.brave.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get Pending Patient Education Request (Google Sheets): uses Google Sheets
- Validate Patient Education Input (Code): runs custom JavaScript code
- Update row in sheet (Google Sheets): update
- Prepare Workflow Context (Edit Fields (Set)): sets 9 fields: Diagnosis, Physician Plan, Physician Message…
- Search Trusted Medical Sources (HTTP Request): calls api.search.brave.com
- Evaluate Search Results (Code): runs custom JavaScript code
- Select Medical Source (Code): runs custom JavaScript code
- Download Source Page (HTTP Request): calls an HTTP API
- Extract Medical Content (Code): runs custom JavaScript code
- Generate Patient Education (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: api.search.brave.com
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 (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Docs
n8n-nodes-base.googleDocs
From the author
Quick overview Generate personalized, print-ready patient education documents from physician-provided diagnoses, treatment plans, and messages. The workflow finds relevant trusted medical information with Brave Search, uses Gemini to create patient-friendly…