Automated booking reminders via email and SMS

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Implementing Automatic Booking Reminders (Email/SMS)

Automatic reminders reduce no-show rates. Customers receive notifications 24 hours and 2 hours before their appointment — via email or SMS — with details and the ability to cancel or reschedule.

Reminder System Structure

Booking Created
    ↓
Schedule Reminders
    ├── 24h before → Reminder Job (queued)
    └── 2h before  → Reminder Job (queued)

Reminder Job runs at scheduled time
    ├── Check: booking still active?
    ├── Send Email (Mailgun / Postmark)
    └── Send SMS (Twilio / SMSAero)

Scheduling Reminders on Booking Creation

// Laravel Observer
class BookingObserver
{
    public function created(Booking $booking): void
    {
        $bookingTime = $booking->starts_at;

        // 24 hours before
        if ($bookingTime->diffInHours(now()) > 24) {
            SendBookingReminder::dispatch($booking->id, '24h')
                ->delay($bookingTime->subHours(24));
        }

        // 2 hours before
        if ($bookingTime->diffInHours(now()) > 2) {
            SendBookingReminder::dispatch($booking->id, '2h')
                ->delay($bookingTime->subHours(2));
        }
    }
}

Email Reminder

class SendBookingReminder implements ShouldQueue
{
    public function handle(): void
    {
        $booking = Booking::find($this->bookingId);

        // Check that booking is still active
        if (!$booking || $booking->status !== 'confirmed') {
            return;
        }

        Mail::to($booking->customer_email)->send(
            new BookingReminderMail($booking, $this->reminderType)
        );

        if ($booking->customer_phone && $booking->sms_opt_in) {
            $this->sendSms($booking);
        }
    }

    private function sendSms(Booking $booking): void
    {
        $message = "Reminder: your appointment " .
            $booking->starts_at->format('d.m at H:i') .
            ". Cancel: " . route('bookings.cancel', $booking->cancel_token);

        // Twilio
        $twilio = new TwilioClient(config('services.twilio.sid'), config('services.twilio.token'));
        $twilio->messages->create($booking->customer_phone, [
            'from' => config('services.twilio.from'),
            'body' => $message,
        ]);
    }
}

Cancelling Reminders

When a booking is cancelled, scheduled jobs must be removed from the queue. In Laravel, this is achieved through unique job IDs and status checks at the beginning of task execution (as in the code above).

SMS Providers for Russia

Provider API Features
SMSAero REST Cheap rates, good quality
MTS Kommunikator REST Direct MTS routes
Twilio REST International delivery
SMSC.ru REST Simple API

Timeline

Email + SMS reminders with cancellation on booking cancellation: 3–5 business days.