Now the admin will have access to _**Omnichannel Panel Settings**_ **** through a new menu called `Omnichannel` at the top left corner dropdown menu, as shown below:
The feature turns on the omnichannel toggle for the set business hours automatically. And you will be able to receive omnichannel conversations after. The toggle will be turned off during off-hours. The enterprise workspaces have an option to set up multiple business hours according to different time zones and their business needs. Community workspaces can only set up one set of business hours.
1. Enable business hours.
2. Choose multiple business hours according to your enterprise needs.
Please follow the steps given [here](https://docs.rocket.chat/guides/omnichannel/webhook).
### External Frame
If you have an app that you want to integrate with Rocket.Chat and use that app to embed an iFrame in Rocket.Chat to interact with your CRM, you can do so using External Frame.
If your organization wishes to communicate with users of Facebook, you can enable integration within Rocket.Chat to do so.
First, you will need to request an API key from Rocket.Chat Support then set it up within your Administration area.
Send an email to [omni@rocket.chat](mailto:omni@rocket.chat) to request an API key. These are processed as time allows, and may take a few days, but you should have your key and secret soon enough.
1. Enable Facebook integration.
2. Enter your _OmniChannel API Key_
3. _Enter OmniChannel API Secret_. **Save** the changes.
If you are a GDPR complaint company and want to allow your visitors to request to remove their data, Rocket.chat allows you to do that for all your incoming chats, as shown below:
This feature allows you to view the chat flow (conversation) and your livechat
agents' performance (productivity) over a span of time that you choose.
---
# Analytics
To access **Analytics** settings:
Go to Analytics in the omnichannel panel settings, as shown below:

## To view conversation history:
1. Select Conversations from the drop-down.

2. Select your desired department.

3. Select your desired start date and end date.

### Details of conversation matrices:

**Total Conversations:** It represents the total number of conversations during the selected period of time.
**Open Conversations:** It represents the total number of open conversations for your selected department during the chosen period.
**Total Messages:** It represents the total number of messages received in all the conversations during a selected period.
**Busiest Day:** It shows the day during which you received the most chats for your selected time.
**Conversation Per Day:** It shows the average count of conversations you received per day.
**Busiest Time:** It shows the hour during which you received most chats for your selected period of time.
You can also see the **percentage of conversations**, an **average of chat duration**, and **total messages handled** by each one of your agents from your selected department, as shown below:


## To view productivity history of your agents:
1. Select Productivity from the drop-down.

2. Select your desired department.

3. Select your desired start date and end date.

### Details of productivity matrices:

**Average of Response Time:** This matrix represents the average of your agent’s team’s responses to all the conversations that are automatically assigned to them during a selected time.
**Average of First Response Time:** This matrix represents the average of the team’s first response to all the chats they pick up.
**Average of Reaction Time:** This matrix represents the average of the team’s reaction to the assigned chats.
You can also see the **Average of First Response Time**, **Best First Response Time**, **Average of Response Time**, and **Average of Reaction Time** of each one of your agents from your selected department, as shown below:
Canned responses allow you to save message snippets that you can call with shortcuts \(preceded with `!`\) to communicate a quick note to your visitors in Omnichannel and for messaging in regular conversations inside your Rocket.Chat workspace.
Follow the steps to set up the canned responses:
Enable the feature under `Administration` ->`Canned Responses`.
Define which user roles should be able to view, create and delete the canned responses. Go to `Administration` ->`Permissions` and use search to filter the canned responses permissions only:
Enable `Omnichannel`. Using canned responses in regular conversations with other users of your workspace will require Omnichannel feature to be enabled.
Select the department. Canned responses can be created **per department** as shown below**,** or **per agent** right in an omnichannel conversation. ****Click on the canned responses icon \(top right corner\) to create a new canned response.
_If you want to use canned responses outside the Omnichannel, create an empty department. Note that you will need to define which user roles should be able to use the responses; by default this permission is assigned to livechat-agent, livechat-manager, livechat-monitor and admin roles_
Try using a canned response in a conversation. Start your message with `!` and a shortcut, or simply select the canned response from the drop-down list that will appear above your text field:
You can also use the same canned responses when talking to your peers outside Omnichannel.

To delete or edit a canned response, open the canned responses dialog in the respective department. Select the response that you wish to delete or edit.
Current Chats contain all the conversations that you have received. If a chat was not deleted, it appears here. You have various filters available to you to sort these conversations.
To access **Current Chats** settings:
Go to Omnichannel panel settings, as shown below:

Settings appear, as shown below:

Filters are explained below:
## 1. Sort by Visitor Name:
To sort the conversations per Guest/Visitor Name, enter the name in the field, and your conversations are sorted, as shown below:

## 2. Sort by Agent Name:
To sort the conversations per Agent Name, enter the name in the field, and your conversations are sorted, as shown below:

## 3. Sort by Department:
To sort the conversations per Department, enter the name in the field, and your conversations are sorted, as shown below:

## 4. Sort by Status:
To sort the conversations per Open/Closed Status, choose the desired status in the field, as shown below:

and your conversations are sorted, as shown below:

## 5. Sort by From and To Date:
To sort the conversations per From and To Date, enter the From and To Date in the field, and your conversations are sorted, as shown below:

## 6. Sort by Tags or Custom Fields:
You can also sort the conversations by Tags or any Custom Fields that you have added in your livechat widget user login. Enter the tag/custom field, and your conversations are sorted.
## 7. Clear Filters:
Hit **Clear filters** to clear all the filters you have set for your sort.

## 8. Delete all Closed Chats:
Hit **Delete all closed chats** to delete all the chats that are marked closed by the agents.
If you want the omnichannel conversations to be directed to different departments, you can set the departments up in your enterprise Rocket.Chat workspace. For example, you may have livechats coming from various pages of your website, and you might want them to be handled by respective departments.
To access **Departments** settings:
1. Goto the dots menu and hit **Omnichannel**. Omnichannel settings will open up.

2. Hit **Departments.**

To add a new **Department**:
1. Click **New****Department**.

The new department's settings page will appear, as shown below:

2. Enable a new department.

3. Name your new department.

3. Type in a description. It's optional.

4. Allow your visitor to have the option to choose the department they want to talk to, as shown below:

The option will appear to your customer in the livechat widget, as shown below:

5. Forward your omnichannel conversations to the email address of your choice, during the hours you are offline, as shown below: