Skip to main content
Back to Inbuilt tools The check_hours tool checks whether the contact center is currently within business hours.

When to use

Use check_hours before you transfer to a human agent, so you can offer a callback or a message outside business hours instead of sending the caller to an unstaffed queue. The tool requires Kore SmartAssist agent transfer to be configured for the project. If it is not configured, the call fails.

Declare the tool

Parameters

Returns

A boolean: true when the contact center is open, false when it is closed. Invalid input returns the error code INVALID_INPUT.

Example

The ON_RESULT shape above is illustrative. Use the result-handling form that your flow already uses for boolean results.