Integrate ServiceNow voice assistant with Genesys Cloud service \(Audio Connector\)
On this page
Integrate ServiceNow voice assistant with Genesys Cloud service (Audio Connector)
Enable users to get support from AI voice agents by integrating a ServiceNow AI voice assistant with Genesys Cloud service using the Audio Connector integration.
Before you begin
-
Be aware of Genesys Audio Connector limits and throttling policies. See Organization rate limits and Platform API rate limits for more information.
-
Be sure to host the ServiceNow instance in a region the same as or closer to the region where the Genesys Cloud service is hosted to minimize latency.
-
If you want to route live agent transfer via Advanced Work Assignment (AWA), download and install the Unified Experience from Genesys - Core and Unified Experience from Genesys Store apps.
Role required: sn_aia.admin
About this task
Connect your Genesys Cloud contact center to a ServiceNow voice assistant using the Audio Connector integration and the WebSocket communication channel. After the integration is configured, Genesys Cloud routes calls to the ServiceNow voice assistant through the Audio Connector. When call handling is complete, the integration supports transferring the caller to a live agent queue.
Procedure
-
Navigate to All > Conversational Interfaces > Assistant Designer > Assistants.
-
Find the voice assistant that you want to connect to Genesys Cloud service and select Edit.
-
Select Communication channels from the guided setup navigation.
-
In the Provider application field, select the provider application to deploy the voice assistant to.
-
Select the Telephony provider tab.
-
From the Communication channel dropdown, select WebSocket.
-
From the CCaaS provider dropdown, select Genesys.
The following fields are generated. Copy these values to configure the Audio Connector integration in your Genesys Cloud account.
<table id=“table_ewv_vxr_pfc”><thead><tr><th>
Field
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Base connection URI
</td><td>
Read-only. Autogenerated WebSocket URL to connect your Genesys Cloud Audio Connector to the ServiceNow voice assistant. Copy the URL for use in the Audio Connector configuration.If you do not see the URL, make sure an endpoint is associated with the sys_service record for AIVoiceAgents. This endpoint is used to generate the URL required for your integration. If no endpoint is present in the record, click Refresh Connections to populate it.
</td></tr><tr><td>
Connector ID
</td><td>
Read-only. Autogenerated identifier for the Genesys Cloud Audio Connector. Copy the value for use in the Audio Connector configuration.
</td></tr><tr><td>
Client secret
</td><td>
Read-only. Base64-encoded client secret used to provide secure access to the required resources. Copy the value for use in the Audio Connector configuration.For more information on Client secret and API key, see Client Authentication.
</td></tr><tr><td>
API key
</td><td>
Read-only. API key to authenticate your Genesys Cloud service to the ServiceNow voice assistant. Copy the value for use in the Audio Connector configuration.
</td></tr></tbody> </table> [Omitted image “voice-agents-genesys-integration.png”] Alt text: Genesys Cloud service integration configuration.
-
Enable context data persistence for the voice service.
-
Navigate to
sys_now_assist_deployment_config_attributes.listand check whether apersist_context_dataattribute exists for your voice service. -
If the attribute exists, open it and set Value to
true.[Omitted image "voice-agents-persist-context-data.png"] Alt text: The persist_context_data configuration attribute record for the voice service with its value set to true.
-
If the attribute does not exist, navigate to
sys_now_assist_deployment_config.list, open your voice assistant's deployment configuration record, and copy itssys_id.To copy the
sys_id, right-click the record header bar and select Copy sys_id. -
Navigate to
sys_now_assist_deployment_config_attributes.list, click New, set Deployment Configuration to thesys_idyou copied, Name topersist_context_data, and Value totrue, then click Submit.
When
persist_context_datais enabled, the voice assistant saves the session context as aninteraction_contextrecord namedbot_context_dataafter each call. For details about the stored fields, see Bot context data. -
-
Create Audio Connector integration.
-
Navigate to Menu > IT and Integrations > Integrations and select Add new integration.
-
Select Audio Connector as the integration type and select Install.
-
In the Details tab, name the integration, for example, Audio Connector - Voice.
-
In the Configuration tab, select Properties, and add the Base connection URI from your ServiceNow voice assistant integration for Genesys Cloud in the Base connection URI field.
.[Omitted image "voice-agents-genesys-integrations-config.png"] Alt text: Audio Connector integration setup in Genesys Cloud service.
-
Select Credentials, and add the API key and Client secret obtained from ServiceNow voice assistant integration for Genesys Cloud.
-
Select Save.
-
-
Architect the inbound call flow.
-
Use the search bar to navigate to Architect and create the inbound call flow according to your requirements.
Note:
In the Connector ID field, enter the Connector ID obtained from creating ServiceNow voice assistant integration for Genesys Cloud.
If you intend to use live agent transfer as the fallback option, add the transfer logic in the call flow and validate the flow.
[Omitted image "voice-agents-genesys-architect-flow.png"] Alt text: Sample call flow in Genesys Cloud service.
-
Select Save to save and Publish to publish the call flow.
-
-
Configure call routing.
-
Use the search bar to navigate to Call Routing and create a call route.
For more information on creating a call flow routing, see Add a call route.
-
Assign the inbound call flow that you created earlier to the call route.
-
Select Save.
[Omitted image "voice-agents-genesys-integration-call-routing.png"] Alt text: Call routing setup in Genesys Cloud service.
-
-
Assign a phone number to the call route.
-
Use the search bar to navigate to Telephony and select DID numbers.
-
Select a DID number and assign the number to the call route created earlier.
-
Parent Topic:Integrating voice assistant with CCaaS provider
Keep exploring.
Find another answer, or bring this documentation into your own tools.