Workflows Office Hour 11/20 Update OnCall Group

We received a request today during the Workflows Office Hour 11/20 ( Zoom Scheduler ) about how to manage an On-Call group such that only the currently active On-Call engineer remains in the group, and all previously assigned engineers are removed.

This workflow template handles that end-to-end:

  1. Add Current On-Call Engineer
    The main flow looks up the current On-Call user, reads their Okta user profile, and adds them to the specified OnCall Group.

  2. Remove All Other Members
    The flow then streams the existing group members to a helper flow.
    The helper flow compares each streamed record with the current On-Call user.
    If the streamed user is not the active On-Call engineer, the helper flow removes them from the group.

The result:
At any point in time, the OnCall Group contains only the currently active On-Call engineer, with all others automatically removed.

Attached the template

updateOncallGroup.folder (38.5 KB)