RSVP V2: Sample Use Cases & Flows

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.

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, use Event Updated to listen for changes to an event.

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

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

    • If the numbers match, update the RSVP status to YES with Update RSVP.
    • If the numbers don't match, wait for additional spots to become available.
  4. On an ongoing basis, use RSVP Updated to listen for changes.

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

Did this help?