await cancelBooking(confirmationNumber, contactInfo);await sendEmail({ to: customerEmail, subject: 'Booking Canceled', body: ` Your appointment has been canceled. Service: ${booking.service_name} Original Date: ${formatDate(booking.start_at)} Want to rebook? Visit your booking page. `});
3. Offer Alternative Options
Give customers options after canceling:
Copy
await cancelBooking(confirmationNumber, contactInfo);showOptions({ title: 'What would you like to do?', options: [ { label: 'Book a New Appointment', action: () => redirectToBooking(booking.organization_slug) }, { label: 'Browse Other Services', action: () => redirectToServices(booking.organization_slug) } ]});