Reference
Article MarkdownReport an error

Action check_schedule

System ID: action_check_schedule

Description

Compares the current time with the morning_timeevening_time window, optionally excludes days in weekends, and applies timezone. Typically used before connecting to an operator.

Time format: hour number (9) or string "H-M" ("9-30"). Days: 0 = Sunday … 6 = Saturday.

Events (scenario branches)

Event When it occurs
success Now within working hours and not a weekend (if configured)
error Outside hours, weekend, or time before morning_time

Parameters

Parameter Type Required Default Description
morning_time number / string no Start of the working day (9 or "9-30")
evening_time number / string no End of the working day (18 or "18-00")
weekends array no Exclusion days ([0, 6] = Sun, Sat)
timezone string no Europe/Kyiv Timezone (moment-timezone name)

Configuration example

{
  "morning_time": 9,
  "evening_time": 18,
  "weekends": [0, 6],
  "timezone": "Europe/Kyiv"
}
Using your own AI agent?Install the open skill so your AI agent can work with current official ConnectiveOne documentation.Get the skillNeed support?Couldn’t find the answer or need help from the ConnectiveOne team? Create a request in Client Portal.Create a request