Skip to content

Hourly

Confirm appointments, remind clients and rebook no-shows

Clients get an email and text confirming their appointment, a reminder the day before, and a rebooking message if they don't turn up.

Runs
Hourly
Apps
Gmail, Twilio
AI
Optional
Access
Twilio; gmail.send

Send this to your assistant

Create a ClickRuntime automation: every hour, read upcoming appointments from my bookings feed; send an email and text confirmation for new ones, a reminder 24 hours before, and a rebook message for anyone marked no-show.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Clinics, salons and consultants lose income every week to forgotten appointments, and most never follow up with the people who didn't show. Each missed slot is lost revenue and often a lost client.

Confirming every booking, reminding the day before, and reaching out kindly to no-shows with a link to rebook handles the full cycle by email and text, so fewer slots go empty and fewer clients drift away.

What you get out of it

  • Fewer empty slots

    Confirmations and reminders help clients remember.

  • No-shows rebooked

    A friendly message brings many back instead of losing them.

  • Two channels

    Email for the details, text so it's seen.

  • Each message once

    Every send is recorded so nobody gets repeats.

How it works

What happens, step by step

  1. Every hour it reads upcoming and recent appointments from your bookings feed.

  2. New bookings get a confirmation by email and text.

  3. Appointments in the next 24 hours get a reminder by text.

  4. Appointments marked as no-shows get a friendly rebooking email and text.

  5. Each message is recorded so it's only sent once.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect Twilio

What you get

RunsHourly
Confirm appointments, remind clients and rebook no-showstoday, 9:00Succeeded
SMS · ClientSorry we missed you today. Rebook any time at Northwind Physio: link

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Gmail and Twilio steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
appointment_confirmations_reminders_and_no_show_recovery.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from twilio.rest import Client
import base64
from datetime import datetime, timedelta, timezone
from clickruntime import on_trigger, credentials, http, state

FEED = "https://bookings.example.com/api/appointments"
REBOOK = "https://bookings.example.com/book"
FROM = "+15005550006"

def sms(to, body):
    return Client(credentials.secret("TWILIO_ACCOUNT_SID"), credentials.secret("TWILIO_AUTH_TOKEN")).messages.create(to=to, from_=FROM, body=body)
gmail = lambda: build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).users()

def send_email(to, subject, text):
    gmail().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(f"To: {to}\r\nSubject: {subject}\r\n\r\n{text}".encode()).decode()}).execute()

@on_trigger
def run(event):
    done, now, sent = set(state.get("done") or []), datetime.now(timezone.utc), 0
    for a in http.get(FEED, headers={"Authorization": f"Bearer {credentials.secret('BOOKINGS_TOKEN')}"}).json():
        at = datetime.fromisoformat(a["start"]); when = at.strftime("%a %d %b %H:%M")
        if f"c{a['id']}" not in done:
            send_email(a["email"], "Your appointment is confirmed", f"Hi {a['name']}, see you on {when}.")
            sms(a["phone"], f"Confirmed: {when}. Reply C to cancel."); done.add(f"c{a['id']}"); sent += 1
        if f"r{a['id']}" not in done and now < at <= now + timedelta(hours=24):
            sms(a["phone"], f"Reminder: your appointment is tomorrow, {when}."); done.add(f"r{a['id']}"); sent += 1
        if a.get("status") == "no_show" and f"n{a['id']}" not in done:
            send_email(a["email"], "Sorry we missed you", f"Hi {a['name']}, no problem. Rebook here: {REBOOK}")
            sms(a["phone"], f"Sorry we missed you today. Rebook any time: {REBOOK}"); done.add(f"n{a['id']}"); sent += 1
    state.set("done", sorted(done)[-3000:])
    return {"sent": sent}

FAQ

Common questions

Where do appointments come from?
Any booking tool or sheet that can provide upcoming appointments at a web address, with name, email, phone, time and status.
How are no-shows detected?
From a status your booking tool sets, such as no_show, after the appointment time.
Can AI write the rebook message?
Optionally. A standard message works well too.
What permissions does it need?
Twilio; gmail.send. Nothing else in your accounts is used.
Does it need AI?
No, but you can ask for an AI step (for example a summary). It then uses ClickRuntime's built-in AI allowance.
How many runs does it use?
One run each time it runs (hourly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Confirm appointments, remind clients and rebook no-shows” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.