Triage hospital FHIR observations with Google Gemini, Google Sheets, and Slack
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs on a schedule (every 15 minutes). Along the way it connects Google Sheets, Google Gemini Chat Model and Slack. It also calls api.mock.health over HTTP.
How it runs
Trigger: On a schedule (every 15 minutes).
- Retrieve Polling Cursor (Code): runs custom JavaScript code
- Fetch Health Observations (HTTP Request): calls api.mock.health
- Parse and Normalize FHIR Data (Code): runs custom JavaScript code
- Check Valid Observations (If): checks a condition and branches into true / false
- Read Observations from Sheets (Google Sheets): uses Google Sheets
- Filter New Observations (Code): runs custom JavaScript code
- LLM Clinical Evaluator (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini AI Model
- Combine and Clean Triage Data (Code): runs custom JavaScript code
- Route by Observation Severity (Switch): routes items into 2 branches
- Post Escalation to Slack (Slack): uses Slack
…plus 3 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Slack templates (309)
HTTP calls to: api.mock.health
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 (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack
From the author
Quick overview Youtube Video: https://youtu.be/hq4jZv8EZYg?si=aU0S13Zvbo30IS- This workflow runs every 15 minutes to poll FHIR Observation data from mock.health, uses Google Gemini to triage each new observation, escalates high-severity findings to Slack, and…