How would I write a expression in Architect that can check a active schedule for a on call rotation

Building an Inbound Call Flow for On-Call Rotation

I'm working on creating a voice inbound call flow that checks an on-call rotation schedule and routes calls to the active engineer’s cell phone based on the schedule.

Parameters

  • 5 engineers rotate on-call duty.
  • Each shift runs from Monday 6 AM EST to the following Monday 6 AM EST.
  • Calls should automatically transfer to the correct on-call engineer.

Steps Taken So Far:

  1. Created individual schedules for each engineer.
  2. Built an inbound call flow in Architect.
  3. Added an audio prompt "You have reached the on-call engineer line."*
  4. Used a Decision Action to check if a specific schedule is open:
  • If (ScheduleIsOpen("Engineer Schedule 1"))
    If true → Transfer call to the assigned number.

Question:

Would it be more efficient to use a schedule group to determine who is on call, or should I use a data table instead? I'm looking for the best approach to dynamically route calls based on the rotation.

add all the individual schedules to a schedule group then in your Inbound Flow, use Evaluate Schedule Group block to get active schedule via "Output Active Schedules" output. Use that output to build the transfer logic.

1 Like

Hi Zubair,
ty. I will try that method.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.