Hooks (Teams)
1. Description
They are designed to add Hooks to the Team.
It consists of the following elements:
Creation tool (Fig.1(1));
Refresh button (Fig.1(2));
Registry (Fig.1(3));
Pagination (Fig.1(4)).
1.1. Creation tool
Click the add button to add a new Hook (Fig.1(1)).
After clicking the add button, the Add hook modal window opens (Fig. 2). It consists of the Event and Flow schema fields and the Save and Close buttons.
1.1.1. Event
It is used to select an event. Clicking on the Event field opens a drop-down list from which you can choose an event.
There are such events:
Agent status changed.
1.1.2. Flow schema
Here, which Flow Schema will be processed at the specified event is indicated.
Click on the field and select the required Scheme from the drop-down list. If the desired Flow Schema is not in the drop-down list, use the field as a search field.
How to create a new Flow Schema can be found here.
The following variables are available in the Flow Schema:
agent_name
— the name of the Agent;
status
— status (online/offline/pause);
status_payload
— reason for the interruption;
agent_id
— Agent identifier;
user_id
— User identifier;
team_id
— Team identifier;
extension
— internal number.
1.2. Refresh button
1.3. Registry
The registry is a list of entries of existing objects in this partition, each of which consists of a set of fields:
Checkbox;
Event;
Flow schema;
State;
Editing tool;
Removal tool.
1.3.1. Checkbox
Used to select one or more entries. An additional removal tool appears after selecting one or more entries. Information about the number of records selected for deletion appears when you hover over this tool.
1.3.2. Event
This displays the event's name that needs to send data to another system.
1.3.3. Flow schema
It displays which Flow Schema will be processed at the specified event.
1.3.4. State
A switch that is responsible for enabling and disabling the Hook by the position:
— the Hook is enabled;
— the Hook is disabled.
1.3.5. Editing tool
The Edit hook modal window opens (Fig. 3) after clicking the edit button.
1.3.6. Removal tool
It is used to remove the Hook. After you click the remove button , the Hook is removed.
1.4. Pagination
2. Opportunities
2.1. Add a Flow schema entry to the Team
Goal | Add Flow schema entry to the Team |
---|---|
Preconditions |
|
Steps
|
|
Result | The modal window closes. Data saved. The entry has been added to the registry. |
2.2. Remove a Hook from a Team
Goal | Remove a Hook from a Team |
---|---|
Preconditions |
|
Steps
|
|
Result | The Hook has been removed from the registry. |
2.3. Edit a Hook in a Team
Goal | Edit a Hook in a Team |
---|---|
Preconditions |
|
Steps
|
|
Result | The modal window closes. Data saved. |