This article shares some possible use cases your app could support, as well as a sample flow that could support each use case. This can be a helpful jumping off point as you plan your app's implementation.
When a customer makes a new reservation, notify the Wix site owner with the customer name, room type, and the day of the week.
To notify a Wix site owner:
For example:
Title: New {{roomType}} reservation.
Message: {{customerName}} just made a new {{roomType}} reservation for {{dayOfWeek}}.
Save the given notification template ID and note the dynamic values.
A customer makes a new room reservation. For example, Sally Jones reserves the studio for Friday.
Pass the given notification template ID and the dynamic values to the notify()
method to trigger the notification based on the notification template.
The Wix site owner receives the notification defined in the Wix Dev Center:
Title: New studio reservation.
Message: Sally Jones just made a new studio reservation for Friday.