Fetch Team's working hours
While configuring flows in Webex Connect, you will need to use this node to know whether a team is in working hours or out of office hours. This node calls Webex Engage's 'Fetch team's working hours' API.
Node screenshot - Fetch team working hours

Fetch team working hours
How to configure this node
- Drag the node from the 'Node Palette' on the left by searching against the name 'Fetch team working hours'
- Double-click to open the node
- Select the Method Name - Fetch team working hours
- Select your configured Authorization in the Node Authentication field. It is recommended that you set this to a Default Authentication that has been configured in WxEngage's Integrations screen under WxConnect's Integrations as all your nodes across flows will pick up the updated token once you re-authenticate from the Integrations screen.
- Select the team from the Team Name dropdown for which you need to fetch the working hours and click on the Save button.
Output variables
Variable | Description |
---|---|
inWorkingHours | Whether the team is working or not. Boolean value |
oooResponse | The out-of-office response configured for the team |
timezone | Timezone of the team |
status | Status enum - Success / Failed |
apiStatus | HTTP status code from the underlying response received from WxEngage's REST API |
description | Description received from WxEngage's API response |
responsePayload | The actual payload of the API response |
Node outcomes
Category | Outcome | Description |
---|---|---|
Success | Success | Node execution successful |
Errors | onTimeout | Could not receive an API response from WxEngage within the agreed time-out |
onInvalidData | Invalid data configured in WxConnect node | |
onError | Error in WxConnect's middleware services | |
onInvalidChoice | Invalid choice | |
onauthorizationfail | Failed to Authorize successfully. Recommend to recheck Auth details in the Authorize Integration section | |
Failure | Any other run time failures |
Updated 9 months ago
Did this page help you?