Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

High level use case

This example provides a starting point for integrating GoMeddo's "activity registration" capabilities into your website using the Javascript SDK.

An activity has a certain capacity, a staff member and a location. Your customers can sign up for this activity.

The example demonstrates this by allowing customers to book a gym class, while focused on gym class bookings it demonstrates the process and structure needed for a range of activity booking scenarios.

Overview of User Interaction on the Frontend

The dashboard of the application lists various activities available to be taken on different dates. Users can additionally filter the activities using the filter option provided on the UI. Once a user selects an activity from available activities the 'Book' button will be visible on the UI if the capacity of the activity is not full. Users will be then prompted to input the contact information and make their reservation for the selected activity.

GoMeddo Setup

  • The activity itself is an existing reservation in GoMeddo.

  • The activity types are reservation types in GoMeddo with descriptions and images attached to them.

  • Visitors of the activity become contacts in Salesforce using reservation contacts

  • Staff are the instructors

  • Both locations and staff have availability

  • The location where the activity happens is a resource in GoMeddo with a specif resource type

    • City: Fitness Centres are categorized by their location (e.g., Amsterdam).

    • Fitness Centre : Within each city, specific fitness centres  are identified (e.g., GymNow).

    • Room (Intensity Levels): Rooms within each fitness centre are designated by intensity levels (e.g., Entry-Level Room).

  • Custom Fields Creation: To use and display information from other objects, We must introduce custom fields within the Salesforce reservation object, such as Center_Name__c, Room_Name__c, etc. These fields are essential for getting detailed information about each activity.

  • Resource Details Setting: Ensure that each resource in GoMeddo is marked as is Active and Api Visibleto be displayed and available through the API.

Ensure that resources, resources types, staff and reservation types are set up in Salesforce. For the booking system to accurately display available gym classes, each class must be created as a reservation within GoMeddo. This step is vital as the SDK relies on these existing reservations to present customers with real-time availability and booking options.

API Key Requirement

To access to the SDK’s functionalities, an API key from GoMeddo is required. For instructions on obtaining this key refer to First time Set-up. Remember to whitelist your domain as a part of the setup process and  grant privileged access to the API key.

Link to Github and Wiki

For further information on utilizing the GoMeddo Javascript SDK, visit [GoMeddo JS SDK wiki] and to test the frontend example explore the GitHub repository [GoMeddo Activity Registration and Scheduling].

Visual Overview

Similar use cases

  • Have your students sign up for sports activities.

  • Have your patients sign up to group sessions.

  • Have your student sign up for coding bootcamps.

  • Have your educators enrolled in professional development seminars.

  • Have your healthcare professionals enrolled in continuing education courses.

  • Have your students volunteer for peer mentoring programs.

  • No labels