NTUH Clinic Queue Automation with n8n + Telegram
Build an n8n + Telegram workflow that pushes real-time clinic queue updates every minute — so you're never stuck waiting at the hospital.
Use the Workflow
Background
I’ve always had one problem when visiting NTUH (National Taiwan University Hospital):
It’s impossible to time your arrival accurately, leaving you stuck in the waiting room for two to three hours.
This kind of wait is genuinely frustrating. You can see from search data that it’s a widespread problem — queries around NTUH clinic wait times clock in at thousands of searches per month. I’ve felt the collective frustration firsthand from the people waiting around me.

After tracking this for a long time, I worked out a rough system: on appointment day, check the hospital’s official website or app for the current queue light number, then leave when the number gets close. In my case that means heading out around number 30 — about 40 minutes from my door to the clinic.
It was a decent improvement, but I’d still end up waiting over an hour sometimes. The pace of consultations varies. So I started thinking about how to remove the remaining friction.
Two things mattered to me on-site:
- Reduce cognitive load — stop actively watching the queue display
- Not need to be physically present — sit in a nearby coffee shop and rest until it’s actually my turn
That led me to this n8n + Telegram workflow. The steps are simple:
- Use an HTML node to scrape the current queue light number from the clinic progress page
- Push the number to my phone via Telegram
- Poll once per minute for real-time awareness (swap to every 5 minutes if your queue is far off)
n8n Implementation

The setup is straightforward: find the progress page URL for your specific clinic and drop it into an HTTP Request node; right-click the current queue number in the browser, inspect the DOM, and enter .now-number>.number as the CSS Selector in the HTML node; then pipe the result into a Telegram message.

You can refine it further by only triggering a notification when the queue number crosses a threshold, but I find per-minute pushes already eliminate the mental overhead of watching the display. You stay informed, you rest comfortably, and you won’t miss your number.
