Stay organized with collectionsSave and categorize content based on your preferences.
This Genesys Cloud audio connector efficiently captures, processes, and analyzes real-time audio streams from your contact center interactions. It seamlessly integrates with theGenesys Cloud Audiohook APIusing a persistent WebSocket connection to the Audiohook service. This connection enables real time audio streaming with gRPC to the Agent Assist integration backend. The connector provides a framework for handling incoming audio chunks, allowing for custom audio processing, transcription, or other AI-driven features likeSummarization,Proactive Generative Knowledge Assist.
Prerequisites
Follow these steps before you begin your Genesys Cloud voice integration:
The documentation for how to create and use theOauth client for Geneysys Cloudprovides instructions for specifying grant type, redirect, token duration, and which AI-powered features the agent uses.
GCP_PROJECT_ID: Your project's globally unique identifier. Find it by following thesesteps.
SERVICE_ACCOUNT: The service account for the AudioHook connector service. If it doesn't exist, the deploy.sh script will create a new one.
API_KEY: Generate an API key in the AudioHook monitor integration. Refer to theAdd AudioHook Monitor credentials section. Leave blank for now, and update the value after configuring AudioHook.
VOICE_INTERCEPTOR_SERVICE: Choose a name for your voice connector Cloud Run service.
Run the deploy.sh script located in the./genesyscloud/genesyscloud-audiohookdirectory:
sh deploy.sh
Configure the Genesys Cloud AudioHook monitor integration
Follow these steps to configure your integration.
After deploying the voice connector to Cloud Run, configure and activate the AudioHook monitor inGenesys Cloud.
In the AudiohookMonitor Configurationtab, update the following variables:
Selectbothfor the channel.
For the Audiohook Connection URI, use:
wss://your-cloud-run-domain.run.app/connect
After setting the API key in theCredentialstab, update theAPI_KEYenvironment variable in the ENV file.
Redeploy the voice connector service.
Enable the AudioHook monitor inside the queue. Refer to the "Set behavior and thresholds for all interaction types" section of the Genesys Cloudarticle on creating and configuring queuesfor more details.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThe Genesys Cloud audio connector captures and processes real-time audio streams from contact center interactions via the Genesys Cloud Audiohook API.\u003c/p\u003e\n"],["\u003cp\u003eThis connector uses a persistent WebSocket connection to stream audio with gRPC, which can be used for custom audio processing, transcription, or AI features.\u003c/p\u003e\n"],["\u003cp\u003eDeployment requires several prerequisites, such as installing the Genesys Cloud Application Server, configuring OAuth, installing the Agent Assist integration backend, and installing the AudioHook monitor at Genesys Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThe deployment process involves cloning a GitHub repository, creating an ENV file with necessary variables, and running a deploy script.\u003c/p\u003e\n"],["\u003cp\u003eConfiguration includes setting the Audiohook Connection URI in the Genesys Cloud Audiohook Monitor and enabling the monitor inside the designated queue.\u003c/p\u003e\n"]]],[],null,["# Genesys Cloud AudioHook integration\n\nThis Genesys Cloud audio connector efficiently captures, processes, and analyzes real-time audio streams from your contact center interactions. It seamlessly integrates with the [Genesys Cloud Audiohook API](https://developer.genesys.cloud/devapps/audiohook/) using a persistent WebSocket connection to the Audiohook service. This connection enables real time audio streaming with gRPC to the Agent Assist integration backend. The connector provides a framework for handling incoming audio chunks, allowing for custom audio processing, transcription, or other AI-driven features like [Summarization](/agent-assist/docs/summarization-with-custom-sections), [Proactive Generative Knowledge Assist](/agent-assist/docs/generative-knowledge-assist).\n\nPrerequisites\n-------------\n\nFollow these steps before you begin your Genesys Cloud voice integration:\n\n1. [Install the Genesys Cloud Application Server](/agent-assist/docs/genesys-cloud-app#deploy_cli).\n2. Configure both the [Genesys Cloud OAuth client](/agent-assist/docs/genesys-cloud-app#create_an_oauth_client) and the [interaction widget](/agent-assist/docs/genesys-cloud-chat#configure_the_interaction_widget).\n\nThe documentation for how to create and use the [Oauth client for Geneysys Cloud](/agent-assist/docs/genesys-cloud-app#create_an_oauth_client) provides instructions for specifying grant type, redirect, token duration, and which AI-powered features the agent uses.\n\n1. Install the [Agent Assist integration backend](/agent-assist/docs/backend-module-install).\n2. Note the following variables:\n - VPC_CONNECTOR_NAME\n - SERVICE_REGION\n - REDIS_INSTANCE_ID\n3. [Install the AudioHook monitor at Genesys Cloud](https://help.mypurecloud.com/articles/install-audiohook-monitor-from-genesys-appfoundry/).\n\nDeploy the Genesys Cloud audio connector server using the Google Cloud CLI\n--------------------------------------------------------------------------\n\nFollow these steps to use the Google Cloud CLI to deploy the audio connector server.\n\n1. Clone the [GitHub repository](https://github.com/GoogleCloudPlatform/agent-assist-integrations) onto your local machine or development environment with the following code: \n\n ```\n git clone https://github.com/GoogleCloudPlatform/agent-assist-integrations\n cd genesyscloud/genesyscloud-audiohook \n ```\n2. Navigate to the audio connector root directory.\n3. Create a ENV file in the root directory and update it with the following variables.\n\n Uses the same value from the environment variable of the Agent Assist integration backend:\n - `REDIS_INSTANCE_ID`\n - `VPC_CONNECTOR_NAME`\n - `SERVICE_REGION`\n\n Uses a value from a different source:\n - `UI_CONNECTOR`: The domain name of the deployed [Agent Assist integration backend service](/agent-assist/docs/(/agent-assist/docs/backend-module-install#deploy_the_ui_connector_service)).\n - `GCP_PROJECT_ID`: Your project's globally unique identifier. Find it by following these [steps](/resource-manager/docs/creating-managing-projects#identifying_projects).\n - `SERVICE_ACCOUNT`: The service account for the AudioHook connector service. If it doesn't exist, the deploy.sh script will create a new one.\n - `API_KEY`: Generate an API key in the AudioHook monitor integration. Refer to the [Add AudioHook Monitor credentials section](https://help.mypurecloud.com/articles/configure-and-activate-audiohook-monitor-in-genesys-cloud/). Leave blank for now, and update the value after configuring AudioHook.\n - `VOICE_INTERCEPTOR_SERVICE`: Choose a name for your voice connector Cloud Run service.\n\n Example ENV file: \n\n ```sh\n CONVERSATION_PROFILE_NAME=projects/{your-project-id}/locations/{your-service-region}/conversationProfiles/{your-conversation-profile-id}\n SERVICE_REGION={your-service-region}\n GCP_PROJECT_ID={your-project-id}\n API_KEY={api-key-from-genesys}\n VPC_CONNECTOR_NAME={vpc-connector-name-from-aa-integration-backend}\n SERVICE_ACCOUNT={your-service-account-name}\n UI_CONNECTOR={your-agent-assist-backend-domain-name}\n REDIS_INSTANCE_ID={redis-instance-id-from-aa-integration-backend}\n VOICE_INTERCEPTOR_SERVICE={your-voice-interceptor-service-name}\n ```\n4. Run the deploy.sh script located in the `./genesyscloud/genesyscloud-audiohook` directory:\n\n ```\n sh deploy.sh\n ```\n\nConfigure the Genesys Cloud AudioHook monitor integration\n---------------------------------------------------------\n\nFollow these steps to configure your integration.\n\n1. After deploying the voice connector to Cloud Run, configure and activate the AudioHook monitor in [Genesys Cloud](https://help.mypurecloud.com/articles/configure-and-activate-audiohook-monitor-in-genesys-cloud/).\n2. In the Audiohook **Monitor Configuration** tab, update the following variables:\n - Select **both** for the channel.\n - For the Audiohook Connection URI, use: \n\n ```sh\n wss://your-cloud-run-domain.run.app/connect\n ```\n3. After setting the API key in the **Credentials** tab, update the `API_KEY` environment variable in the ENV file.\n4. Redeploy the voice connector service.\n5. Enable the AudioHook monitor inside the queue. Refer to the \"Set behavior and thresholds for all interaction types\" section of the Genesys Cloud [article on creating and configuring queues](https://help.mypurecloud.com/articles/create-queues/) for more details."]]