RSVP V2: Sample Use Cases & Flows

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.

Automatically remove guests from a waitlist when additional spots are available

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:

  1. On an ongoing basis, listen for Event Updated.

  2. 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.

  3. 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:

    • If the numbers match, update the RSVP status to YES using the Update RSVP method.
    • If they do not match, wait for additional spots to become available.
  4. On an ongoing basis, listen for the RSVP Updated event.

  5. When the event is triggered for your RSVP, send an email to a guest from your marketing tool.

Did this help?