Route critical lab results using Google Sheets, Slack, Gmail, Gemini, and Twilio
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets, Slack, Gmail and Google Gemini and 1 more. It also calls lis.example over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Read limits (Google Sheets): uses Google Sheets
- Fetch LIS results (HTTP Request): calls lis.example
- Read doctors (Google Sheets): uses Google Sheets
- Read log (Google Sheets): uses Google Sheets
- Prepare result (Code): runs custom JavaScript code
- Route (Switch): routes items into 5 branches
- Write doctor note (Google Gemini): uses Google Gemini
- Notify the lab (Slack): uses Slack
- Save to log (Google Sheets): append
- Apply doctor note (Code): runs custom JavaScript code
…plus 9 more steps. See the full node list below.
Services it uses
HTTP calls to: lis.example
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 (12)
- Webhook
n8n-nodes-base.webhook - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - Gmail
n8n-nodes-base.gmail - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Twilio
n8n-nodes-base.twilio - Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview A lab result routing workflow that notifies the ordering physician by severity, using thresholds you control. Critical results trigger an immediate Slack and SMS alert with acknowledgment tracking and automatic escalation to a backup physician…