This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.
This use case demonstrates how to automate the process of changing a guest's status from WAITLIST to YES when additional spots become available in an event. For example, when the guest limit is increased, you can use Event Updated to detect this change and access RSVP data for that event. Use the RSVP API to update the RSVP status and remove guests from the waitlist. Additionally, you can send automated emails to notify guests about the update.
To change the guest status and send update emails, follow these steps:
On an ongoing basis, use Event Updated to listen for changes to an event.
When triggered, retrieve the following values:
updatedEvent.currentEntity.registration.rsvp.limit
updatedEvent.currentEntity.registration.rsvp.waitlistEnabled
updatedEvent.currentEntity.summaries.rsvps.yesCount
If waitlistEnabled is true, calculate the number of available spots by subtracting yesCount from limit. Save this number.
Call Search RSVPs by eventId and WAITLIST status. Sort results by the createdDate field in ascending order. Compare the saved number of available spots to the totalGuests field of the RSVP:
YES with Update RSVP.On an ongoing basis, use RSVP Updated to listen for changes.
When RSVP Updated is triggered for the RSVP, send an email to the guest from your marketing tool.