Templates / Assist hospital doctors via Telegram with OpenAI, Google Sheets, Gmail and Slack

Assist hospital doctors via Telegram with OpenAI, Google Sheets, Gmail and Slack

Ready for 3.0

by Rahul Joshi ✓ · 48 views · created 2026-07-06 · Support Chatbot, AI Chatbot

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 34 nodes and runs on a schedule (every day) (plus 3 other triggers). Along the way it connects Google Sheets, Telegram, OpenAI and Gmail and 1 more.

How it runs

Trigger: On a schedule (every day) (plus 3 other triggers).

  1. Sheets - Get All Patients (Google Sheets): uses Google Sheets
  2. If: checks a condition and branches into true / false
  3. Slack: uses Slack
  4. Sheets - Update Bed Row (Google Sheets): uses Google Sheets
  5. Filter: keeps only the items that match a condition
  6. Telegram: uses Telegram
  7. If: checks a condition and branches into true / false
  8. Loop - Over Due Patients (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Extract - Report Text (Extract from File): extracts data from a file
  10. Set - Extract Patient ID (Discharge) (Edit Fields (Set)): sets or maps fields

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

Services it uses

Google SheetsTelegramOpenAIGmailSlack

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 (15)

From the author

Quick overview This workflow combines a Telegram doctor bot, OpenAI, Google Sheets, Gmail, Slack, and a webhook to summarize PDF reports, generate and email discharge summaries, analyze lab values, report bed availability, send daily patient follow-ups, and…

Excerpt from Rahul Joshi'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.