This article presents possible use cases and corresponding sample flows that your app can support. It provides a useful starting point as you plan your app's 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, if someone cancels their RSVP or the guest limit is increased, the RSVP API allows you 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, listen for Event Updated.
When the event is triggered, retrieve the following values from the event:
updatedEvent.currentEntityAsJson.registration.rsvp.limit
updatedEvent.currentEntityAsJson.registration.rsvp.waitlistEnabled
updatedEvent.currentEntityAsJson.summaries.rsvps.yesCount
If waitlistEnabled
is true
, calculate the number of available spots by subtracting yesCount
from limit
. Save this number.
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
using the Update RSVP method.On an ongoing basis, listen for the RSVP Updated event.
When the event is triggered for your RSVP, send an email to a guest from your marketing tool.