Business Hours

Understand how to leverage Business hours when managing digitals interactions within Cisco Webex Contact Center

This node calls Webex Engage's 'Business Hours' API. While configuring flows in Webex Connect, to determine whether the business is currently in working hours, holiday lists or overrides

📘

How are Business hours fetched?

Business Hours on Webex Engage are sync'd directly from Control Hub

❗️

Limitations

Existing business hours that are already configured before this feature was implemented will not show up in this node. Please create a new Business Hours object on Control Hub to make use of this feature.

Node screenshot - Business Hours

Business Hours

Business Hours

How to configure this node

  • Drag the node from the 'Node Palette' on the left by searching against the name 'Business Hours'
  • Double-click to open the node
  • Select the Method Name - Business Hours
  • Select your configured Authorization in the Node Runtime Authorization field. It is recommended that you set this to the Default Authorization screen under WxConnect's Integrations as all your nodes across flows will pick up the updated token once you regenerate one from the Integrations screen.
  • Under the Schedule Details section, Select the appropriate radio button depending on whether you intend to validate against a Static Business Hour selection (OR) a Dynamic Business Hour Variable (Looked up by id as found on Control Hub)
  • Depending on the option you choose above, either select a Business Hour from the dropdown (OR) enter a variable containing your Business Hour ID as referenced from Control Hub.

❗️

Do not see your Business hours?

If you still don't see new business hours created being reflected after carrying out the above steps, it is likely an error on our side. Please reach out to our support teams.

Output variables

VariableDescription
slotDetermines the current state of business hours. Possible values include: working_hours, holiday, override, no_matchNo match indicates the current time does not meet any of the working hours, holiday lists or overrides configured.
workingHourSlot.shiftNameDetermines the name of the shift as configured on Control Hub. Populated only when the business is currently in working hours
workingHourSlot.startTimeDetermines the start time of the shift as configured on Control Hub. Populated only when the business is currently in working hours
workingHourSlot.endTimeDetermines the end time of the shift as configured on Control Hub. Populated only when the business is currently in working hours
holiday.nameDetermines the name of the holiday as configured on Control Hub. Populated only when the business is currently on a holiday
holiday.startDateDetermines the start date of the holiday as configured on Control Hub. Populated only when the business is currently on a holiday
holiday.endDateDetermines the end date of the holiday as configured on Control Hub. Populated only when the business is currently on a holiday
override.nameDetermines the name of the override as configured on Control Hub. Populated only when the business is currently in override
override.startDateTimeDetermines the start date time of the override as configured on Control Hub. Populated only when the business is currently in override
override.endDateTimeDetermines the end date time of the override as configured on Control Hub. Populated only when the business is currently in override

Node outcomes

CategoryOutcomeDescription
SuccessinWorkingHoursIndicates that the business is currently in Working Hours
onHolidayIndicates that the business is currently on Holiday
inOverrideIndicates that the business is currently in override
onNoMatchIndicates that there was no slot that matches the current date and time as per the business hour calendar
ErrorsonErrorError in WxConnect's middleware services
onTimeoutCould not receive an API response from WxEngage within the agreed time-out
onInvalidDataInvalid data configured in the WxConnect node
onInvalidChoiceInvalid choice
onAuthorizationFailFailed to Authorize successfully. Recommend rechecking Auth details in the Authorize Integration section