1. Home
  2. Docs
  3. Packages
  4. Appointments Package

Appointments Package

Convoworks provides a specialized package to manage appointment scheduling scenarios seamlessly within your conversational workflows. The Appointments package is designed for the Convoworks framework, maintaining a focus on voice and conversational design needs. This package is not tied to any particular booking plugin or third-party service provider, making it versatile and adaptable to a wide range of applications.

One of the core features of the Appointments package is its Appointments Context Interface. This interface acts as a bridge between Convoworks workflow elements and your actual appointment system. The package also includes workflow elements that can be used in the conversation workflow with the real business logic delegated to the concrete implementation via the Appointments Context Interface.

Whether you're using a WordPress schedule appointment plugin or another system, Convoworks makes it simple to enable compatibility by implementing the IAppointmentsContext interface.

Convoworks also offers a dummy implementation called DummyAppointmentsContext, which can be used for testing voice applications or as an example when creating your own IAppointmentsContext implementation.

The package consists of several workflow elements such as:

  • CheckAppointmentTimeElement checks if a desired time slot is available and offers suggestions if not.
  • CreateAppointmentElement creates an appointment for a given time slot.
  • UpdateAppointmentElement updates an existing appointment time.
  • CancelAppointmentElement cancels an existing appointment.
  • LoadAppointmentsElement loads existing appointments for the current user.
  • LoadAppointmentElement returns single appointment data.

In addition, Convoworks Appointments package also includes a ready-to-use service template – Schedule Appointments. This template allows your users to create, reschedule, or cancel appointments through a rich user interface, providing an engaging user experience.

If you're interested in diving deeper into how the Appointments package can be used, take a look at our blog post on Appointment scheduling on your WordPress website – Now with Amazon Alexa skill. This guide demonstrates how to utilize the Appointments package for Alexa skills, but the same principles can be applied for web chat, Viber, or Facebook Messenger.

For more detailed information, please visit the GitHub repository for the Appointments package.