hubot-sample
Version:
teste de adapter
30 lines (15 loc) • 2.24 kB
Markdown
In order to user `Live Transfer` feature, it is necessary to do some steps.
The first thing to do is to set the department hash, on the file used as corpus on bot. The department hash must be placed on `department` field, in the section named `livechat-transfer`, as showed on the image below. The file being used as corpus is the one defined on field `HUBOT_CORPUS`field, at docker-compose file.

The department hash can be obtained on the URL in department `edit screen` as showed on image below.

To get to department `edit screen` close the left side menu, and click on three points icon. Select the **Livechat** option.

Now it is necessary to select the department to be used on transfer action. On the left side menu, click on **Departments**, and then click on the department name.

Once you got the department hash and placed on corpus file, restart the hubot-natural service, in order to update the container and reload `corpus` file.
Lastly is important to remember that the live transfer conversation channel will be created between any available user on department. For that, the user must be online, and must be previously added as an agent on department being used(The one defined on corpus file). For that, You must first add the user as an agent. At the right side menu, select the **User Management** option. , so search for the user you want, then click in **ADD**.

Then again on the department edit screen, add the user to department by selecting him on **Available agents**. Then click on **Save** option.
