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.
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
Every hour it reads upcoming and recent appointments from your bookings feed.
New bookings get a confirmation by email and text.
Appointments in the next 24 hours get a reminder by text.
Appointments marked as no-shows get a friendly rebooking email and text.
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
Build your own
Need it to work differently?
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
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?
How are no-shows detected?
Can AI write the rebook message?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a text and an email when a value crosses your limit
When a value you watch, like a price, temperature or reading, crosses your threshold, you get a text and an email once, not every check.
See how it worksSend polite payment reminders by email and text
Customers or tenants with overdue payments get polite reminders by email and text, stepping up gently over time.
See how it worksReply to new leads by text and email within seconds
Every new lead, from a form, a missed call or a voicemail, gets a text and an email within seconds, and you're told about it.
See how it worksKeep exploring
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.