> 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/store/legacy-apps/social-inbox-2.0.md).

# Social Inbox 2.0

{% hint style="info" %}
Read this if you have Smart Apps in use that have been ordered before 21 october 2024. New Smart Apps documentation can be found within the [Marketplace](/store/marketplace-apps.md).
{% endhint %}

The Social Inbox 2.0 template enables your bot to answer incoming chat messages via the [Chatwidget](/studio/channels/chat-widget.md) and [Whatsapp](/studio/channels/whatsapp/whatsapp.md) channels. It can be used to configure any type of social messaging assistant. In the basis it is configured to forward messages to an employee (escalate) while sending an automatic response, but it can also be configured for automatic answering on recognized questions.

On other channels then Whatsapp it will deflect to Whatsapp after waiting for too long on an employee to join and respond. This way your audience is forced to continue in Whatsapp which makes them re-engageable, even when they are offline.

## Setup

At minimum you need to take care of the following:

1. Make sure your [opening hours](/settings/app-settings/opening-hours.md) are configured
2. Make sure your [Whatsapp](/studio/channels/whatsapp/whatsapp.md) channel is enable (or another chat channel)

## Playbook

Make sureto review and change the following nodes in the Playbook flow. Click on Flows (1) and then open your Playbook (2).

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2F3SfiuVlhB0xcI2iZcmaE%2Fimage.png?alt=media&amp;token=6de07a62-c470-4959-8e83-579f05aeb9f4" alt=""><figcaption></figcaption></figure>

The playbook will open the conversation on Web using a [say node](/studio/flows/nodes/say.md) and a [prompt](/studio/flows/nodes/iterate-iterate.md) in order to elicit the user intention. You can see this by inspecting the little badges at the [main](/studio/flows/triggers.md) entry point. The prompt will then try to answer the question (in case no questions are trained therefore the unknown flow will trigger the auto reply flow).

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2Fol7vcn3YxFP5CNsUTdu0%2Fimage.png?alt=media&amp;token=67eb3daf-b7c4-46ce-b78c-a8c1a7dec4c4" alt=""><figcaption></figcaption></figure>

However, on Whatsapp the conversation is never started by the bot (unless a template message is sent) but only by a Contact. Therefore, the auto\_reply will kick in directly when a message is sent that isn't automatically replied by a [dialog trigger](https://manuals.dialox.ai/studio/flows/nodes/flow-control-invoke-dialog). The auto\_reply flow is invoked by the node [Go to flow](https://manuals.dialox.ai/studio/flows/nodes/flow-control-go-to-flow).

## Auto\_reply

The auto\_reply flow is configured to escalate to a human employee. You can use this flow also to ask some more preliminary or qualifying questions before escalating to a human. To change the behaviour, go to Flows (1) and then open the Auto\_reply flow (2).

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FQMBsPAbpll20BhStyVEY%2Fimage.png?alt=media&amp;token=d35d96d0-4ee8-4400-814a-b0d73ad76abd" alt=""><figcaption></figcaption></figure>

The Auto\_reply flow will just explain the fact that the message is escalated to a human. When closed or when no agents are available it can display another message. See the [Smart Escalate node](https://manuals.dialox.ai/studio/flows/nodes/escalate-smart) for explanation about the behaviour of this node.

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FIKhfDsuRziHvhfJfenRE%2Fimage.png?alt=media&amp;token=3e23fd8c-62ed-4f2c-8bef-74763a235033" alt=""><figcaption></figcaption></figure>

By default it will continue to the Whatsapp flow when no agent is available, see next paragraph.

## Whatsapp

The Whatsapp flow will only kick off on the Web Widget or Web PWA channels, since these channels have no way to re-engage the Contact. So on Whatsapp this is flow is skipped (we are already on Whatsapp). The little badges that are displayed next to the entry point indicate this fact.

![](https://manuals.dialox.ai/~gitbook/image?url=https:%2F%2F3356808761-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEBQHGJABNTj5ISSOTRxM%252Fuploads%252FOhhKL3b6EO2WkIuqGZHx%252FScreenshot%25202024-04-04%2520at%252013.48.32.png%3Falt=media%26token=378e4eed-1d83-43eb-8670-fd0613b57f64\&width=768\&dpr=4\&quality=100\&sign=426150a208411640ad87b4b7d16599989000c9fefc6bb905e413cf1eb71b2244)![](https://manuals.dialox.ai/~gitbook/image?url=https:%2F%2F3356808761-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEBQHGJABNTj5ISSOTRxM%252Fuploads%252FdV7tqDy0WDrn3T6Cr82D%252Fimage%2520%283%292.png%3Falt=media%26token=63dd0ccb-fec3-45af-a3c5-e28d1297d84e\&width=768\&dpr=4\&quality=100\&sign=b189f9557bc83f1a24271046c4c5f3d06859e64a2883bcddf857c0b7d6888168)

The Show Whatsapp link node needs to be properly configured in order for it to work. See [Show Whatsapp node](https://manuals.dialox.ai/studio/flows/nodes/show-whatsapp-link) for more details.
