Generate clinical guideline reports with Google Sheets, Gemini and Docs
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs on a schedule (every hour). 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: On a schedule (every hour).
- Get Pending Guideline Request (Google Sheets): uses Google Sheets
- Mark Request as Processing (Google Sheets): update
- Analyze Clinical Question (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Get Trusted Sources (Google Sheets): uses Google Sheets
- Match Trusted Sources (Code): runs custom JavaScript code
- Search Trusted Sources (HTTP Request): calls api.search.brave.com
- Normalize Search Results (Code): runs custom JavaScript code
- Classify Evidence Candidates (Code): runs custom JavaScript code
- Select Current Guideline (Code): runs custom JavaScript code
- Fetch Guideline Metadata (HTTP Request): calls an HTTP API
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Gemini + Google Sheets templates (819) · Other Google Sheets + Google Docs templates (122) · Other Google Gemini + Google Docs templates (72)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Google Sheets
n8n-nodes-base.googleSheets - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - Google Docs
n8n-nodes-base.googleDocs - Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview Automatically generates structured clinical guideline reports from Google Sheets requests. The workflow analyzes clinical questions with Gemini, searches trusted guideline sources using Brave Search, identifies the most relevant official…