Templates / Generate clinical guideline reports with Google Sheets, Gemini and Docs

Generate clinical guideline reports with Google Sheets, Gemini and Docs

Ready for 3.0

by Hiroyuki Yamasaki ✓ · 10 views · created 2026-07-14

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Get Pending Guideline Request (Google Sheets): uses Google Sheets
  2. Mark Request as Processing (Google Sheets): update
  3. Analyze Clinical Question (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  4. Get Trusted Sources (Google Sheets): uses Google Sheets
  5. Match Trusted Sources (Code): runs custom JavaScript code
  6. Search Trusted Sources (HTTP Request): calls api.search.brave.com
  7. Normalize Search Results (Code): runs custom JavaScript code
  8. Classify Evidence Candidates (Code): runs custom JavaScript code
  9. Select Current Guideline (Code): runs custom JavaScript code
  10. Fetch Guideline Metadata (HTTP Request): calls an HTTP API

…plus 7 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini Chat ModelGoogle Docs

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)

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…

Excerpt from Hiroyuki Yamasaki's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.