# Groups

Client Admins can manage business divisions by creating **Groups** and **Teams** within each group. They can view a tabular format of groups with the number of teams and group admins within each group.

![](https://files.readme.io/df1ce17-Groups.JPG "Groups.JPG")

# **Groups**

Client admins can perform the following actions in a group:

## **View Group Admins List**

Follow these steps to view the group admins list:

1. Go to Client Admin Console > Groups.\
   The following screen appears.

![](https://files.readme.io/eff1063-Groups.JPG "Groups.JPG")

2. Click a **Group** under the groups column to view information related to that group.
3. Click the information icon (**i**) in the **Number of Group Admins** column (of a specific group) to view the list of group admins assigned to each group.

![](https://files.readme.io/e31747a-group_admins_list.jpg "group admins list.jpg")

## **Add a Group**

Follow these steps to add a group:

1. Click **+ - Floating Action Button** on the bottom-right corner of the Admin Console.\
   The following pop-up window appears.

![](https://files.readme.io/54acf33-Floating_button.JPG "Floating button.JPG")

2. Click the **Add Group** icon.\
   The following pop-up window appears.

![](https://files.readme.io/c6d6535-Create_New_Group.JPG "Create New Group.JPG")

3. Enter the **Name** and **Department**.
4. Click **ADD**.\
   The success message appears on the screen. The newly added group will be listed on the Groups screen.

## **Edit a Group**

Follow these steps to edit a group:

1. Click the **Edit** icon in the actions column of a specific group.

![](https://files.readme.io/03f4aeb-Groups.JPG "Groups.JPG")

The following pop-up window appears.

![](https://files.readme.io/62e0f0b-Edit_Group.JPG "Edit Group.JPG")

2. Modify the required fields and click **Save**.\
   The success message appears on the screen.

## **Delete a Group**

To delete a group, click the **Delete** icon in the actions column of a specific group. A confirmation message appears on the screen. Click the **Delete** button to remove the group.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/70d26e4-Groups.JPG",
        "Groups.JPG",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

> 📘 Note:
>
> Client admin can delete only those groups that do not have teams associated with them.

# **Team**

The client admin can perform the following actions on a team:

## **Add a Team**

A client admin can add a team to any group within a tenant.

Follow these steps to add a team:

1. Click **+ - Floating Action Button** on the bottom-right corner of the Admin Console.\
   The following pop-up window appears.

![](https://files.readme.io/4a81315-Floating_button.JPG "Floating button.JPG")

The following pop-up window appears.

![](https://files.readme.io/ffbd567-Create_New_Team.png "Create New Team.png")

3. Enter the **Team Name**.
4. Select the channels you want to activate for this team by cli'kin\*\*'he '\*\*+\*\*' icon beside each channel in the inactive channel list. All those channels will be moved to the active list.

![](https://files.readme.io/ff35879-Create_new_team.JPG "Create new team.JPG")

5. Click **Add** to save the settings. The success message appears on the screen.\
   You will be redirected to the **Teams** tab, and the newly added team will be listed under the **Teams** tab.

![](https://files.readme.io/dc66c74-Teams_screen.JPG "Teams screen.JPG")

> 📘 Note:
>
> Once a channel is added/made active it cannot be made inactive.

Further, the client admin can view users, manage general settings and skills, and configure events and rules for a team.

![](https://files.readme.io/aca6ebb-Team_settingss.JPG "Team settingss.JPG")

## **Edit a Team**

Follow these steps to edit a team:

1. Go to Client Admin > Groups.

![](https://files.readme.io/0465905-Groups.JPG "Groups.JPG")

2. Under the Groups list, select the group within which the team is.\
   You will navigate to the following screen.

![](https://files.readme.io/848d453-Teams_screen.JPG "Teams screen.JPG")

3. Click the **Edit** icon in the actions column of a specific team.\
   The following screen appears.

![](https://files.readme.io/d36e416-Edit_team.JPG "Edit team.JPG")

4. Modify the required fields and click **Save**.\
   The success message appears on the screen.

## **Delete a Team**

Follow these steps to delete a team:

1. Go to Client Admin > Groups.

![](https://files.readme.io/52a0831-Groups.JPG "Groups.JPG")

2. Under the Groups list, select the group within which the team has to be deleted.

![](https://files.readme.io/4ba0f5a-Teams_screen.JPG "Teams screen.JPG")

A pop-up with all the implications of deleting a team will appear on the screen.

![](https://files.readme.io/b61d14f-Delete_team_pop-up.JPG "Delete team pop-up.JPG")

3. Click **Yes**.\
   The success message appears on the screen.

> 📘 Note:
>
> * Team deletion request is an offline process that will be completed within a couple of minutes after the client admin deletes the team.
>
> * Any team that has been set as a default team for an asset cannot be deleted.
>
> * All chats along with any reports will be deleted from the system and cannot be accessed once the action is performed.
>
> * Channel assets linked to the team will be de-linked.
>
> * All users will be de-linked from the team.

# **General Settings**

A client admin can manage team-level settings by a drill-down approach to reach a particular team from the groups list.

## **Customer Profile Masking**

Webex Engage allows client admins to maintain customer’s privacy by masking their personal information on Webex Engage. This is a team-level feature that the client admin can enable. The client admin can choose to mask any of the below-mentioned customer data:

* Mobile Number
* Email ID
* Customer Name
* Gender
* Locale
* Facebook Profile Picture

![](https://files.readme.io/042e099-General_settings_groups.JPG "General settings groups.JPG")

Once the client admin enables profile masking, the respective fields are masked on the Agent Console.

> 📘 Note:
>
> The client admins have to logout of the Webex Engage application and login again to view the applied customer profile masking settings on the chat console.

## **SMS Outbound Geographies**

Webex Engage allows client admins to restrict the geographies where their agents can initiate chats.\
The client admin should select at least one location to save the outbound geographies settings.

![](https://files.readme.io/9db2919-SMS_Outbound_Geographies.JPG "SMS Outbound Geographies.JPG")

Agents can view the configured outbound geography settings on the initiate new chats screen while creating a chat.

![](https://files.readme.io/6582d21-Initiate_a_new_chat_screen_displaying_configured_geographies.JPG "Initiate a new chat screen displaying configured geographies.JPG")

# **Skills**

Webex Engage allows client admins to categorize the agents based on skills-based and the attributes assigned to them.

![](https://files.readme.io/ba85855-Skill.JPG "Skill.JPG")

## **Add a Skill**

Follow these steps to add a skill:

1. Go to Admin Console > Groups > Teams > Skills.\
   The following screen appears.

![](https://files.readme.io/3562cff-Skills.jpg "Skills.jpg")

2. Click **Add Skill** on the top-right corner of the screen.\
   The following screen appears.

![](https://files.readme.io/319ef9c-Add_a_Skill.png "Add a Skill.png")

3. Enter **Skill Name** and **Description**.
4. Select the **Mapping Attribute** and **Add Condition**.

![](https://files.readme.io/bfa3e04-Skill_Conditions.JPG "Skill Conditions.JPG")

5. Click **Save**.\
   The success message appears on the screen.

## **Edit a Skill**

To edit a skill, click the **Edit** icon in the actions column of a specific skill. Edit the required fields and click **Save**. The success message appears on the screen.

![](https://files.readme.io/7fc7875-Edit_skill.JPG "Edit skill.JPG")

## **Delete a Skill**

To delete a skill, click the **Delete** icon in the actions column of a specific skill. The success message appears on the screen.

> 📘 Note:
>
> The users will not be able to delete the skills that are used in the IR rules.

# **Events and Rules**

This feature enables client admins to configure events and rules through an easy-to-use interface. The admins can also use events and rules to submit conversation-specific data to external systems. Events are triggered manually by an agent at any point of time during the chat, whereas a Rule will trigger automatically based on the configured conditions.

## **Add New Event**

To add a new event, follow these steps:

1. Go to Client Admin console > Groups > Teams > Events and Rules.

![](https://files.readme.io/99b32fd-Events_and_Rules.JPG "Events and Rules.JPG")

2. Click **Add New Event** on the top-right corner of the Events and Rules screen.

.The following screen appears.

![](https://files.readme.io/e0bea3f-Add_event.JPG "Add event.JPG")

3. Enter the **Name** of the event and the **URL** in the given fields that need to be called when the event is triggered.
4. Select the method as GET/PUT/POST/PATCH/DELETE.
5. Select the type of response format in the **Expected Response Format** field as JSON/XML/Plain text.
6. Select the checkbox **Wait for Response**, which will disable re-triggering the same event until a response is received from the target system.
7. Select the checkbox **Display Response on Chat Console**, which will display the response from the target system to the agent within the chat console.
8. You can pass the payload via **Key Value Pair** or **Custom Payload**.
9. Select the **Key Value Pair** radio button. The following options appear.

![](https://files.readme.io/43c624b-Events_payload.JPG "Events payload.JPG")

10. You can form encode the parameters passed in the request body by enabling the **Form Encode Request Body** checkbox. Otherwise, you can configure the parameters and pass them in the API requests.
11. Click **Add Param**. The **Add Parameter** pop-up window appears.

![](https://files.readme.io/dfe69ec-Add_parameter.JPG "Add parameter.JPG")

a. Select **Header/Query Param/Request Body** from the **Pass Through** drop-down list.

> 📘 Note:
>
> When initiating a request from Webex Engage to Webex Connect, ensure to pass **content-type:"application/json"** in the header to consider the request payload in json format. Otherwise, it will be considered as XML format by Webex Connect.

b. Enter the **Parameter Name**.\
c. Select the checkbox **Mandatory Parameter** if this parameter must be selected while triggering an event.\
d. Select the **Value** from the drop-down list.\
The following options appear when you select **Custom Param** from the list.

![](https://files.readme.io/6e071e9-Add_parameters.JPG "Add parameters.JPG")

* **Allow agent to enter value manually**: This will allow the agent to enter the values manually before calling an external URL to post the data.
* **Allow agent to choose from a set of predefined values**: This will allow the agent to select the pre-configured values before calling an external URL to post the data.

![](https://files.readme.io/b6d6bea-Add_parameter_additional_settings.JPG "Add parameter additional settings.JPG")

e. Select the respective radio button and click **Add** to save the parameters. The parameters are listed under the parameters field.\
f. Use the **Edit**  and **Delete** icons to edit and delete the parameters.

11. Select the **Custom Payload** radio button to pass the payload in JSON format.

![](https://files.readme.io/f3e93bd-EVENT_CUSTOM_PAYLOAD.JPG "EVENT CUSTOM PAYLOAD.JPG")

12. The parameters should be surrounded by **@@** and closed in curly **{}** braces in the data field.
13. Enter **Key** and **Value** details to pass them in the header.
14. Click **Save Changes** to save the configured event, and a confirmation message is displayed upon successful addition.

## **Add New Rule**

To add a new rule, follow these steps:

1. Go to Client Admin console > Groups > Teams > Events and Rules.

![](https://files.readme.io/875e1c7-Events_and_Rules.JPG "Events and Rules.JPG")

2. Click **Add New Rule** on the top-right corner of the screen.\
   The following screen appears.

![](https://files.readme.io/e8e8b12-Configure_Rule.JPG "Configure Rule.JPG")

3. Enter the **Rule Name**.

![](https://files.readme.io/bcbbe44-image.png)

4. Select the condition from the **Fire When** drop-down list. The rules will trigger automatically based on a specific pre-configured condition.\
   The list includes the following conditions to be allowed in a Rule:

* **Message arrives**: Rule is triggered for an inbound message.
* **Inbound message contains**: Rule is triggered when an inbound message contains a configured word. On selection of this condition, a text box is displayed.

![](https://files.readme.io/48bf34e-inbound_message_contains.JPG "inbound message contains.JPG")

Enter the word (max 30 characters) in the given text field

* **Outbound message contains**: Rule is triggered when an outbound message contains a configured word. On selection of this condition, a text box is displayed\
  Enter the word (max 30 characters) in the given text field.

![](https://files.readme.io/67e010c-Outbound_message_contains.JPG "Outbound message contains.JPG")

* **Chat is Put On-Hold**: Rule is triggered when the chat is put on hold. Select whether to trigger the rule Manually, By API, or By System.

![](https://files.readme.io/ab3c95a-chat_is_put_on-hold.JPG "chat is put on-hold.JPG")

* **Chat off-hold:**: Rule is triggered when a conversation is of the On-hold status. Select whether to trigger the rule Manually, By API, or By System.

![](https://files.readme.io/09ed317-Chat_off-hold.JPG "Chat off-hold.JPG")

* **Chat is Closed**: Rule is triggered when the conversation is closed. Select whether to trigger the rule Manually, By API, or By System.
* **Chat assigned**: Rule is triggered when a conversation is assigned to an agent. Select whether to trigger the rule Manually, By API, or By System.

![](https://files.readme.io/eaf79e0-chat_assigned.JPG "chat assigned.JPG")

* **Chat is Flagged**: Rule is triggered when the chat is flagged. When selecting this condition, a drop-down list is displayed with the description text (set of the five colors) configured on the system. Select an option, whether to trigger the rule Manually or By API.

![](https://files.readme.io/0676691-Chat_is_flagged.JPG "Chat is flagged.JPG")

* **Customer Not Attended**: Rule is triggered when the chat is idle for a pre-configured duration. On selection of this condition, a drop-down list with time values such as 5/10/15/20/30/60/90 minutes is displayed. Select the time duration from the drop-down list.

![](https://files.readme.io/22ac675-customer_not_attended.JPG "customer not attended.JPG")

* **Logout by User**: Rule is triggered when the agent logs out of the chat console manually.
* **Logout by System**: Rule is triggered when the agent logs out of the chat console automatically.
* **Chat is Accepted**: Rule is triggered when the agent accepts a chat.
* **Agent is Idle**: Rule is triggered when the agent is idle (not handling any chat).
* **Chat Created**: Rule is triggered automatically when a chat is created. A post request (third-party URL) can be made whenever a chat is created on Webex Engage.
* **Chat Idle**: Rule is triggered automatically when a chat is Idle. On selection of this condition, a drop-down list with time values such as 5/10/15/20/30/60/90 minutes is displayed.

![](https://files.readme.io/b120aad-Chat_is_idle.JPG "Chat is idle.JPG")

* **Chat Resume**: Rule is triggered automatically when a chat is resumed.
* **Chat is picked up from Queue**: Rule is triggered automatically when a chat is picked from the queue.
* **Chat Reopened**: Rule is triggered when a chat is reopened. Select a checkbox, whether to trigger an event Manually, By API, or By System.

![](https://files.readme.io/b7efddc-chat_reopened.JPG "chat reopened.JPG")

* **Message Sent**: Rule is triggered when a message is sent.

**Chat Transfer Initiated**: Rule is triggered when the conversation is transferred from one team to another and one skill to another. Select a checkbox to trigger an event manually or by API.

![](https://files.readme.io/93ea8d2-image.png)

5. Select the method as GET/POST/PUT/PATCH/DELETE.
6. Enter the **URL** in the given field that needs to be called when the event is triggered.
7. Select the type of response format in the **Expected Response Format** field as JSON/XML/Plain Text.
8. You can pass the payload via **Key Value Pair** or **Custom Payload**.
9. Select the **Key Value Pair** radio button, and the following options appear.

![](https://files.readme.io/f2e783a-Events_payload.JPG "Events payload.JPG")

10. You can encode the parameters passed in the request body by enabling the **Form Encode Request Body** checkbox.
11. Click **Add Param**. The **Add Parameter** pop-up window appears.

![](https://files.readme.io/7f744bf-Add_parameter.JPG "Add parameter.JPG")

a. Enter the **Parameter Name**, and **Value**.\
b. Select **Header/Query Param/Request Body** from the Pass Through drop-down list.\
c. Click **Add** to save the parameters. These parameters will be listed under the Key Value Pair Section.\
d. Team managers can **Edit** and **Delete** a key value pair by clicking **Edit** icon and **Delete** icon respectively.

![](https://files.readme.io/cf58fa9-Payload_Rule.JPG "Payload Rule.JPG")

12. Select the **Custom Payload** radio button to pass the payload in JSON format.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/0b1f683-Custom_payload_rules.JPG",
        "Custom payload rules.JPG",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

13. The parameters should be surrounded by **@@** and closed in curly **{}** braces in the data field.
14. Click **Save Rule** to save the configured rule. A confirmation message is displayed.
15. Rules can also be configured through JavaScript code on the parent window. To do this, turn ON the **On/Off JavaScript Rule** toggle on the Configure Rule page.

![](https://files.readme.io/9a9445b-javascript_rule_toggle.JPG "javascript rule toggle.JPG")

## **Additional Information**

In addition to the existing parameters that can be passed from Webex Engage, a few system parameters would be passed by default as part of every request that goes out from Webex Engage. The parameters are mentioned below:

**Parameters Appended to Events**

* event\_type : custom\_event
* id (corresponds to Event ID on our system)
* transactionid (unique trace for every request)
* chatid

**Parameters Appended to Rules**

* event\_type : {{fired\_when}}
* id (corresponds to the Rule ID on our system)
* transactionid (unique trace for every request)
* chatid

## **Search rule/event**

To search for a rule or event, enter the **Name** of the Rule or Event in the **Search** text box. The list is filtered and displayed based on the given search criteria.

![](https://files.readme.io/0a98385-Events_and_rules_search_field.JPG "Events and rules search field.JPG")

## **Edit Rule/Event**

Follow these steps to edit a rule or event:

1. Click the **Edit** icon corresponding to the Event or Rule name to display the related page. The Configure Event/Configure Rule page is displayed.

![](https://files.readme.io/cb51af6-Edit_field.JPG "Edit field.JPG")

2. Make the required modifications, and click **Save**.\
   The success message appears on the screen.

## **Delete Rule/Event**

Follow these steps to delete a rule/event,

1. Click the **Delete** icon in the actions column of an Event or Rule.

![](https://files.readme.io/37c29d4-Edit_field.JPG "Edit field.JPG")

A confirmation message appears on the screen.

2. Click **OK** to delete the Event or Rule.\
   The success message appears on the screen.