Custom Thank You Page
When visitors complete a booking on a Scheduling Page, you can redirect them to a custom thank you page. Create a booking flow for visitors with additional query string parameters for a streamlined experience with the
thank_you_redirect booking configuration.
For more control over the booking process, you can specify a URL for users to visit after completed with the Scheduling Page.
The code below shows how to include the URL for redirecting.
The data in the table below explains what is also included in the URL when redirecting users.
||string||A unique ID for the account|
||object||Additional fields on the booking form for key-value pairs|
||string||A unique ID for the calendar|
||unix timestamp||The start time of the event|
||unix timestamp||The end time of the event|
||string||The timezone setting on Scheduling Page for visitor using IANA time zone database|
||string||The page slug where the booking took place|
||string||The name provided when booking the event|
|string||The email provided when booking the event|
||string||The location description of the event|
||string||A unique ID for cancelling or rescheduling a booking|
||string||A Nylas Event id created for this booking|
|*custom query parameters||string||Any additional query parameters when visiting the Scheduling Page|
thank_you_redirect includes query string parameters for identifying the guest as well as the Scheduling Page. This is helpful for running business logic as well as creating customized messages for returning the user to your application.
The example URL below shows what information is also included.
To share a link that allows an attendee to cancel or reschedule a meeting, use the
edit_hash value for reference. See the URL format below.
After configuring a Scheduling Page with a custom thank you page with
thank_you_redirect, the query string parameters from the booking flow help to customize, build, and send your own booking confirmation email.
In the link example below, the reschedule and cancel booking links use the same formatting.
Save the Nylas Event ID (
event_id) associated with the booking in addition to sending your own configuration email using the data from a custom thank you redirect.