Event Type
The event type atom enables a user to create events that others can use to book them. The events can be created for an individual or a team. However, a team event type can only be created by a team admin or owner.
Individual event type
Below code snippet can be used to render the create event type atom, which is a form with all the required input fields needed to create an event type.
For a demonstration of the create event type atom, please refer to the video below.
Team event type
For creating an event type for a team, you need to provide the team id of your particular team as a prop to the create event type atom. Also note that a team event type can only be created by a team admin or owner.
Below code snippet can be used to render the create event type atom for a team.
For a demonstration of the create event type atom, please refer to the video below.
Below is a list of props that can be passed to the create event type atom
Name | Required | Description |
---|---|---|
teamId | No | Unique identifier of the team |
customClassNames | No | To pass in custom classnames from outside for styling the atom |
onSuccess | No | Callback function that handles successful creation of event type |
onError | No | Callback function to handles errors at the time of event type creation |
onCancel | No | Callback function that handles cancellation of event type form |
Along with the props, create event type atom accepts custom styles via the customClassNames prop. Below is a list of props that fall under this customClassNames prop.
Name | Description |
---|---|
atomsWrapper | Adds styling to the whole create event type atom |
buttons | Object containing classnames for the submit and cancel buttons inside the create event type atom |
Event type settings
The event type settings contains various tabs that can be used to configure or make modifications to the event type that has just been created.
Below code snippet can be used to render the event type settings atom.
For a demonstration of the event type settings atom, please refer to the video below.
Below is a list of props that can be passed to the event type settings atom.
Name | Required | Description | |
---|---|---|---|
id | Yes | The event type id obtained at the time of event type creation | |
tabs | No | The tabs you want the event type settings to display | |
onSuccess | No | Callback function that triggers when the event type is successfully updated | |
onError | No | Callback function to handles errors at the time of event type update | |
onDeleteSuccess | No | Callback function that triggers when the event type is successfully deleted | |
onDeleteError | No | Callback function that handles errors at the time of event type deletion | |
allowDelete | No | Boolean value that determines whether the delete button is displayed or not | |
disableToasts | No | Boolean value that determines whether the toasts are displayed or not | |
customClassNames | No | To pass in custom classnames from outside for styling the atom |
Along with the props, event type settings atom accepts custom styles via the customClassNames prop. Below is a list of props that fall under this customClassNames prop.
Name | Description |
---|---|
atomsWrapper | Adds styling to the whole event type settings atom |
Please ensure all custom classnames are valid Tailwind CSS classnames.
Following are the tabs that are available in the event type settings atom:
1. Event Setup
The event setup tab allows users to configure the fundamental aspects of their events. In this tab, users can define or update essential details such as the event title, description, duration, slug, location as well as the event URL.
2. Availability
The availability tab allows users to manage their scheduling preferences effectively. Within this tab, users can edit their existing availability or set new availability options based on the preferences they have previously established.
For team event types, availability for a specific event can also be configured for the entire team based on a common schedule. Otherwise each host can be assigned their own specific availability based on their schedules.
3. Assignment
The assignment tab is only available for team event types. It lets you configure what kind of scheduling you want to enable for your team event, where you can choose from a collective, round robin or managed event. You can also choose who amongst your team can or cannot attend the event.
4. Limits
The limits tab lets you configure how often you can be booked. You can add a lot of configurations via this tab, such as a buffer time before or after the event and a minimum notice period.
Also if you want to select how many time a particular event can be booked, or how far in the future the event can be booked that is also possible. Or if you want to limit the event to a specific amount of time, that can also be done via the limits tab.
Below video shows a demonstration of the limits tab.
5. Advanced
The advanced tab lets you customize your event type with a lot more options. For example, you can set a custom name for the event type that will appear in your calendar, or add questions that will appear on your booking page. Another option would be to add an email verification for the person who is booking the event.
Below video shows a demonstration of the all the options you get in the advanced tab.
6. Recurring
The recurring tab lets you set up a recurring event. You can set up recurring events such as weekly, monthly, yearly, etc for a maximun of events you want it to repeat.
7. Payments
The payments tab lets you accept payments for your events. At the moment we only support payments via Stripe.
Once you connect your Stripe account, you can set a custom price along with the currency and payment option; which will determine when to charge your customers.
Was this page helpful?