Automate post-surgery check-ins and triage with Gemini and Telegram

The system checks in on recovering patients daily by Telegram and alerts the doctor if symptoms sound serious.

How the work actually flows

It branches. Exactly one path is taken; runs once per each patient in follow up window; a person is alerted when a step fails.

Pattern: Multiple Instances without Synchronization (12) · Exclusive Choice (4)

flowchart TD trig(["daily check-in schedule"]):::trigtime s0[["summarize patient reply"]]:::mi s1["classify concern level"]:::task trig --> s0 s0 --> s1 gx{"× how concerning is the reply"}:::gate s1 --> gx p00["send supportive reply"]:::task gx -->|"low concern"| p00 p10["send guidance"]:::task gx -->|"moderate concern"| p10 p11["schedule follow up"]:::task p10 --> p11 p20["alert doctor by email"]:::task gx -->|"high concern"| p20 p00 --> out p11 --> out p20 --> out out[/"triaged patient follow up"/]:::out pay{{"catches worsening patients early"}}:::pay out --> pay esc(("Alerts a person")):::human s1 -. "if it fails" .-> esc esc -.-> out classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
Starts itA stepRuns once per itemA personOne path onlyResultPayoff
Build size
Advanced

A larger build with multiple systems, AI reasoning, and custom rules.

Business functions
AI Agents & Autonomous SystemsVoice & PhoneMessaging & NotificationsSpreadsheet & Database Ops
Connects
TelegramGeminiGmailGoogle CalendarGoogle Sheets

The problem it solves

Following up with every patient after surgery takes real staff time, and it is easy for a patient with worsening symptoms to go unnoticed between scheduled appointments. Your team can't call every patient every day, so early warning signs sometimes get missed.

Who it fits

Clinics, hospitals, and telemedicine providers managing post-surgery patient recovery.

How it works

  1. Each day, the system sends a check-in message by Telegram to every patient in their follow-up window
  2. When a patient replies, AI reads and summarizes their response
  3. AI classifies the reply as low, moderate, or high concern
  4. Low concern gets a supportive reply, moderate concern gets guidance plus a follow-up on Google Calendar, and high concern triggers an alert email to the doctor
What you get

Patients who get help before things get serious

You send recovering patients a daily Telegram check-in and get concerning symptoms flagged to the doctor right away.

What you get

Automatic patient check-ins, triaged responses, calendar follow-ups for moderate cases, and urgent email alerts to the doctor for serious symptoms.

What you need

A Google Workspace account, Gmail, Google Calendar, Google Sheets, a Telegram bot, and Gemini API access.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook