SMS & Email Prompts

All message templates used in automated notifications. Click Copy to copy any template to your clipboard.

Booking Confirmation SMS

Sent automatically when a new appointment is created.

{{client_name}}{{date}}{{start_time}}
Hi {{client_name}}, your appointment is confirmed. Date: {{date}}, Time: {{start_time}}. Details: beautybyclaire.eventify.co.nz/MyDashboard. See you then!

Appointment Update SMS

Sent automatically when an appointment is updated.

{{client_name}}{{date}}{{start_time}}
Hi {{client_name}}, your appointment has been updated. Date: {{date}}, Time: {{start_time}}. Details: beautybyclaire.eventify.co.nz/MyDashboard. See you then!

Appointment Reminder SMS

Sent ~24 hours before the appointment (scheduled automation). Requires reminder_sent = false on the appointment.

{{client_name}}{{business_name}}{{date}}{{time}}
Hi {{client_name}}, just a reminder your appointment with {{business_name}} is tomorrow, {{date}} at {{time}}. See you then!

Reminder Email Subject

Subject line for the reminder email (configurable in Settings → Notifications).

{{business_name}}
Reminder: Appointment Tomorrow - {{business_name}}

Reminder Email Body (plain text base)

Plain text body used as the base for the HTML reminder email.

{{client_name}}{{service_name}}{{date}}{{time}}
Dear {{client_name}},

This is a friendly reminder for your appointment tomorrow.

Service: {{service_name}}
Date: {{date}}
Time: {{time}}

See you soon!

Full System Recreate Prompt

Use this prompt to recreate the entire SMS & email notification system from scratch in a new app.

This app uses Twilio for SMS and Gmail (via OAuth connector) for email notifications. There are 3 SMS/notification functions:

1. sendBookingConfirmationSms — Triggered on new appointment creation (entity automation). Sends:
   "Hi {{client_name}}, your appointment is confirmed. Date: {{date}}, Time: {{start_time}}. Details: beautybyclaire.eventify.co.nz/MyDashboard. See you then!"

2. sendAppointmentUpdateSms — Triggered on appointment update (entity automation). Sends:
   "Hi {{client_name}}, your appointment has been updated. Date: {{date}}, Time: {{start_time}}. Details: beautybyclaire.eventify.co.nz/MyDashboard. See you then!"

3. sendReminders — Scheduled automation (runs hourly). For each confirmed appointment on the target date where reminder_sent = false and the appointment falls within ±1 hour of the hours_before window (from BusinessSettings.notifications.client_reminder.hours_before, default 24):
   - Sends an HTML-formatted email via Gmail API OAuth connector (sendEmailViaGmail helper using base44.asServiceRole.connectors.getAccessToken("gmail"))
   - Sends an SMS: "Hi {{client_name}}, just a reminder your appointment with {{business_name}} is tomorrow, {{date}} at {{time}}. See you then!"
   - Sets reminder_sent = true on the appointment after sending.

Phone number formatting: Strip leading 0 after country code (e.g. +64021234567 → +6421234567).
Twilio secrets required: TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_PHONE_NUMBER.
Gmail connector must be authorised with scope: https://www.googleapis.com/auth/gmail.send