Contents
Add a Callback Service
- Modified in 8.5.207
After Callback is configured, you must create a Callback Service for each Callback scenario that you want to implement. Then, you can manage Callback interactions in the Callback UI.
- To create a Callback service, you need Administrator permissions.
- You must set up Office Hours if you want to implement Scheduled Callback.
Load the Callback Service Template
Open the Service Management UI, and navigate to Services and Tools > Tools > Service Templates. By default, callback should be part of the Service Templates list.
If not, you must load the Callback service template before you can create a Callback service. The callback.zip template is located in the <GMS installation directory>/service_templates directory.
Once the callback template has been loaded, it is available in the filter drop-down list of the Services tab.
Create a Callback Service
Navigate to the Services and Tools > Services tab. There, you can manage your services based on the templates. The services and categories can be collapsed or expanded for easier viewing.
- Click Create.
- Enter a Service Name: This name will be used as the {callback-execution-name} parameter in your Callback queries.
- Select your Common Default Configuration. These configuration scenarios are detailed in the Callback Scenarios section of this guide.
- Click Add. An information message confirms the service creation.
The new Callback service appears in the Configured Services list.
Configured Callback Services
Key parameters for the service are automatically populated with the appropriate default values. For cluster configurations, all changes made in a service will be replicated into the entire GMS cluster.
The parameters have the following characteristics:
- Mandatory parameters - are identified with a lock icon; you cannot rename them or remove them.
- Optional parameters - you can rename them by hovering your cursor over the value field (you will see a pencil icon), click, and then enter the new value. You can delete optional parameters by clicking the Delete button.
- Advanced parameters - can be displayed by selecting the Advanced button in the upper right.
- Request parameters - are identified with an Request Parameter label in the Description.
Adding your Service to Virtual Service Groups
- Introduced in 8.5.207
To add services to a given virtual group, add the _service_groups option to your service and enter a comma-separated list of group names.
- For example, let's consider adding the 'support' service group by adding _service_groups = 'support' to the callback-support and callback-blackfriday-support services.
Then, you can use this virtual group to filter the services displayed to an agent. See Setting Permissions for further details.
Accessing Callback Services and Records with the Callback API
The URLs used by the Callback API are dependent on the name of the Callback service that you have just created. Callback services are available at the following URL:
http://<host>:<port>/{base-web-application}/service/callback/{callback-execution-name}
For instance, if you create a callback service named callback-for-mobile, then {callback-execution-name} is callback-for-mobile and the callback service is available at:
http://<host>:<port>/{base-web-application}/service/callback/callback-for-mobile
For further details, see Callback API.