# Triage telehealth appointments with OpenAI and Telegram: n8n workflow

> Started by someone submitting a form, and works across Google Calendar, Slack and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/triage-telehealth-appointments-with-openai-and-telegram (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Triage telehealth appointments with OpenAI and Telegram

Started by someone submitting a form, and works across Google Calendar, Slack and Telegram. It hands the judgement calls to OpenAI. 19 steps, 2 branches, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-telehealth-appointments-with-openai-and-telegram)

**19 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**1** Loop or waits

**3** Services it connects to

## The flow

Starts it 2 Model 2 Logic 4 Service 11

The steps in the order they run, from what starts it.

- 1 **Appointment Booked (n8n Form)** Form trigger *Starts it*
- 2 **OpenAI GPT-4o-mini** Lm Chat Open Ai *Model*
- 3 **On Workflow Error** Error trigger *Starts it*
- 4 **AI: Predict No-Show Risk** Agent *Model*
- 5 **Slack: Error Alert** Slack *Service*
- 6 **Parse AI Risk Score** Code *Logic*
- 7 **High Risk? (score >= 70)** If *Logic*
- 8 **Telegram: Send Appointment Reminder** Telegram *Service*
- 9 **Telegram: Send Low-Risk Reminder** Telegram *Service*
- 10 **Telegram: High-Risk Follow-Up Alert** Telegram *Service*
- 11 **Telegram: Final Urgent Confirmation Request** Telegram *Service*
- 12 **Wait 2 Hours for Patient Response** Wait *Logic*
- 13 **Patient Cannot Attend?** If *Logic*
- 14 **Google Calendar: Create Reschedule Slot** Google Calendar *Service*
- 15 **Google Calendar: Mark Event as Confirmed** Google Calendar *Service*
- 16 **Telegram: Send Reschedule Confirmation** Telegram *Service*
- 17 **Telegram: Send Confirmed Appointment Message** Telegram *Service*
- 18 **Google Calendar: Check Waitlist Slots** Google Calendar *Service*
- 19 **Telegram: Notify Admin of Free Slot** Telegram *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 19, with 2 branches, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Google Calendar, Slack, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Calendar, Slack and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-telehealth-appointments-with-openai-and-telegram)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**AI Calling Agent with Retell AI and Google Calendar Scheduling** 19 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/ai-calling-agent-with-retell-ai-and-google-calendar-scheduli)
- [**Actioning your meeting next steps with OpenAI** 19 steps · calls a model · Google Calendar, Google Drive](https://millionrounds.com/workflow/actioning-your-meeting-next-steps-with-openai)
- [**Automate email triage & meeting scheduling with Gmail** 19 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automate-email-triage-and-meeting-scheduling-with-gmail)
- [**Automate meeting summaries & action items with Google Meet** 19 steps · calls a model · Google Calendar, Google Drive](https://millionrounds.com/workflow/automate-meeting-summaries-and-action-items-with-google-meet)
- [**Generate and schedule social media posts with OpenAI** 19 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/generate-and-schedule-social-media-posts-with-openai-2)
- [**Handle meeting no-shows with Gmail and Google Calendar** 19 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/handle-meeting-no-shows-with-gmail-and-google-calendar)
