Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oration.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Time Check node evaluates the current time against business hours, custom time ranges, or holiday calendars and routes the call accordingly.

Behavior

  • Checks the current time in the configured timezone
  • Compares against business hours, custom ranges, or a holiday calendar
  • Routes to Open, Closed, or Holiday based on the result

Configuration

ParameterTypeDefaultOptions / RangeDescription
timezonestring"UTC"IANA timezone (e.g., America/New_York, Asia/Kolkata)
checkTypeenum"business_hours"business_hours, custom, holidayType of time check to perform
businessHoursStartstring"09:00"HH:mmBusiness open time
businessHoursEndstring"17:00"HH:mmBusiness close time
businessDaysstring[]["mon","tue","wed","thu","fri"]monsunDays the business is open
customRangesarray[]Custom time ranges (see below)
holidayCalendarstring""Holiday calendar identifier
closedMessagestring"We are currently closed..."Message to play when closed

Custom time range

Each entry in customRanges:
FieldTypeDescription
idstringUnique range identifier
labelstringDisplay label
startTimestringStart time (HH:mm)
endTimestringEnd time (HH:mm)
daysstring[]Days of week (monsun)

Output handles

HandleDescription
OpenCurrent time is within business hours / custom range
ClosedCurrent time is outside business hours / custom range
HolidayCurrent date is a holiday

Use cases

Start → Time Check → (Open) Transfer to queue, (Closed) TTS closed message → Voicemail → End Call.
Use custom check type with ranges for weekday 9–17 and weekend 10–14 to handle different schedules.
Configure a holiday calendar. On holidays, play a special message and offer voicemail instead of transferring.