> For the complete documentation index, see [llms.txt](https://manuals.dialox.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manuals.dialox.ai/studio/flows/nodes/escalate-smart.md).

# Escalate: smart

To create a smarter experience, the **Escalate: Smart** node extends the regular [**Escalate: Default**](https://manuals.dialox.ai/studio/flows/nodes/escalate-default.md) functionality with fallback capabilities. This saves you creating additional flow steps and branching.

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FZInSXn9seRe4GUCUDTMf%2Fimage.png?alt=media&amp;token=23581faa-48df-431d-9bac-6a37a3a6214a" alt=""><figcaption></figcaption></figure>

If the conversation happens within opening hours, the system will announce the forward and escalates to the corresponding inbox.

If the conversation happens outside opening hours, the system will provide a closed message and fall back to a specified Flow.

The same thing happens if the timeout period that is configured in the node details is exceeded, or if the Alternative button is clicked (on web capable devices), assuming there is no agent present to take the conversation.

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FuFyWyHQDRj5qMzUnXeZl%2Fimage.png?alt=media&amp;token=07f8ba9e-1b9f-47e7-984d-9a53d918bc82" alt=""><figcaption></figcaption></figure>

The Web details are only relevant for web capable Bots (web widget and PWA). While waiting on web the following control is displayed:

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FF5XRc2LfG0bchDwQaeZI%2Fimage.png?alt=media&amp;token=31400413-bec8-4ea3-ac1f-0c0e427d89bd" alt=""><figcaption></figcaption></figure>

| Property                   | Description                                                                                        | Explanation                                                                                                                                                                                                                                   |
| -------------------------- | -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| To                         | Inbox tag of the inbox to escalate to.                                                             | Optional (only when [multiple inboxes](https://manuals.dialox.ai/inbox/inbox/multiple-inboxes.md) are configured)                                                                                                                             |
| Text                       | Announce the forward                                                                               |                                                                                                                                                                                                                                               |
| Opening hours              | Specify how the opening hours are determined                                                       | <p>Options:</p><ul><li>from <a href="https://manuals.dialox.ai/settings/app-settings.md">settings</a></li><li>from condition</li><li>custom</li></ul><p>See <a href="#opening-hours-from-a-condition">Opening hours from a condition</a>.</p> |
| Open When                  | The condition that decides when the conversation is escalated                                      | Only shown when Opening hours is "from condition".                                                                                                                                                                                            |
| Only escalate when online  | Will only escalate during opening hours                                                            |                                                                                                                                                                                                                                               |
| **Offline situation:**     |                                                                                                    |                                                                                                                                                                                                                                               |
| Text                       | The message to provide when closed                                                                 |                                                                                                                                                                                                                                               |
| Flow                       | The Flow to jump to if closed                                                                      |                                                                                                                                                                                                                                               |
| **Unavailable situation:** |                                                                                                    |                                                                                                                                                                                                                                               |
| Text                       | The message to provide when unavailable                                                            |                                                                                                                                                                                                                                               |
| Flow                       | The Flow to jump to if unavailable                                                                 |                                                                                                                                                                                                                                               |
| **Web details:**           |                                                                                                    | Only applicable for web capable Bots (widget or PWA)                                                                                                                                                                                          |
| Caption                    | The caption to present when waiting for an agent                                                   |                                                                                                                                                                                                                                               |
| Description                | The description to present when waiting for an agent                                               |                                                                                                                                                                                                                                               |
| Timeout (seconds)          | Amount of seconds to wait before continuing to the alternative Flow (unavailable Flow)             |                                                                                                                                                                                                                                               |
| Button                     | The text to present on the button to give users the option to continue using the unavailable Flow. |                                                                                                                                                                                                                                               |

## Opening hours from a condition

Choose **from condition** to decide yourself when the node is open. An **Open When** condition builder appears. The node is only open when the condition is true; otherwise the **Offline situation** applies.

A condition can combine several rules. Together with the [Timeplans](https://manuals.dialox.ai/store/skills/timeplans.md) skill you can, for example, only escalate when:

* **all of** `timeplan:normal` (the regular opening hours are active), and
* **none of** `timeplan:lunch` (an exception, such as the lunch break, is not active).

This way an exception timeplan takes priority over the regular opening hours. Conditions can also use other tags or variables.

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FpgTSHG9Am2DRpgwlYqbz%2Fscreenshot-1794477782008-3.png?alt=media&amp;token=de92398c-4cf3-4f8b-b106-6b682c7115b4" alt="Escalate: Smart node with Opening hours set to from condition"><figcaption><p>Escalate: Smart with Opening hours "from condition"</p></figcaption></figure>

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FJNS61R6fXEzuDsdYeftl%2Fscreenshot-1794477770248-2.png?alt=media&amp;token=4904da8f-4bb5-4811-ac97-aca244ed7204" alt="Open When condition editor"><figcaption><p>The Open When condition editor: all of Timeplan: normal and none of Timeplan: Lunch</p></figcaption></figure>

{% hint style="info" %}
If you leave the condition empty, the node treats the situation as closed.
{% endhint %}

{% hint style="warning" %}
**"from timeplan" has been replaced by "from condition"** in Chat flows 4.1.0. When you upgrade the skill, existing Escalate: smart nodes that used "from timeplan" are converted automatically: the selected timeplan tag becomes the condition **any of** `<timeplan tag>`, which works the same as before. Nodes that used "from timeplan" without a selected tag are set to "from settings".
{% endhint %}

## Continue or wait

This Escalate: smart node is able to force the user to wait for an operator to join. On web interfaces it shows a wait control with a spinner so it is clear for the user that someone is on their way to join the chat. Make sure to choose the Timeout property and provide a caption and description to present a waiting message, see explanation of the properties above.

## Resources

* [Chat flows](https://manuals.dialox.ai/store/skills/chat-flows.md)
* [Escalate: default](https://manuals.dialox.ai/studio/flows/nodes/escalate-default.md)
* [Multiple inboxes](https://manuals.dialox.ai/inbox/inbox/multiple-inboxes.md)
* [App Settings](https://manuals.dialox.ai/settings/app-settings.md)
* [Timeplans](https://manuals.dialox.ai/store/skills/timeplans.md)
