- A Copilot: Next Action Tile node that suggests a next action to the human agent.
- A Copilot: Transcript Tile node that displays the conversation transcript to the human agent.
Prerequisites
- Access to Voice.
- Configure a speech provider in Cognigy.
- Configure the phone number you use in your contact center.
- Configure a contact center platform that supports voice calls, for example, Genesys Cloud Open Messaging, and can integrate with a handover provider.
- Add a compatible LLM for the LLM Prompt node.
Setup process
- Create a handover provider. The handover provider connects the agent to your contact center platform.
- Create an Agent Copilot flow. The Agent Copilot flow configures the Agent Copilot workspace and the individual widgets.
- Create a Voice Copilot Endpoint. The Voice Copilot Endpoint receives the transcript of the voice call and sends it to the Agent Copilot workspace.
- Create a Transfer Flow. The Transfer Flow configures the user interaction with the AI Agent and the handover to a human agent.
- Create a Voice endpoint. The Voice endpoint connects the AI Agent to Voice and your contact center phone number.
- Test the Agent Copilot workspace by calling the phone number you assigned to the Voice endpoint.
Set up Agent Copilot for voice
1
Create a handover provider
In Deploy > Handover Providers, create a handover provider according to your contact center platform. Depending on the platform, you may need to configure different settings for the transfer flow.
2
Create an Agent Copilot flow
-
In Design > Flows, create a flow and give it a clear name, for example,
Agent Copilot. -
Add a Copilot: Set Grid node and set the grid as follows:
-
After the Copilot: Set Grid node, add an LLM Prompt node. Configure it to generate the next best response for the agent based on the user’s latest input and to store the result in the Input object:
- System Prompt — enter the following:
- In the Storage & Streaming Options section, configure the following:
- How to handle the result — set to Store in Input.
- Input Key to store Result — set to
input.promptResult.
- System Prompt — enter the following:
-
Add the following Agent Copilot nodes after the LLM Prompt node and configure them as follows:
- Copilot: Next Action Tile node:
- Tile ID —
next-action - Text:
This expression dynamically retrieves the LLM-generated suggestion for the widget. - Tile ID —
- Copilot: Transcript Tile node:
- Tile ID —
transcript
- Tile ID —
- Copilot: Next Action Tile node:
3
Create a Voice Copilot endpoint
- In Deploy > Endpoints, click + New endpoint, select Voice Copilot, and click Create endpoint.
- On the Setup tab, configure the following:
- Endpoint name — enter a unique name, for example,
Voice Agent Copilot Endpoint. - Target type — select Flow.
- Flow — select the Agent Copilot flow you created from the list.
- Endpoint name — enter a unique name, for example,
- In the Integration section, copy the Endpoint URL for later use in the transfer flow and click Save.
4
Create a transfer flow
- In Design > Flows, create a flow and give it a clear name, for example,
Transfer. - In the flow editor, add a Say node and set its Text parameter to
Hi, I'll transfer you to the humans.. - Add a Transfer node and configure the following:
- Transfer Type — select Dial.
- Target — enter the phone number to redirect the call to a human agent. For testing purposes, use a phone number you have access to.
- Activate the Enable Copilot toggle.
- Enter the Copilot Headers Key. The key is provider-dependent. For example, for Genesys Cloud Open Messaging, the key is
User-to-User. - Transcription Webhook — enter the Voice Copilot Endpoint URL you copied from the Voice Copilot Endpoint settings.
5
Create a Voice endpoint and connect a phone number
- In Deploy > Endpoints, click + New endpoint, select Voice Gateway, and click Create endpoint.
- On the Setup tab, configure the following:
- Endpoint name — enter a unique name.
- Target type — select Flow.
- Flow — select the transfer flow from the list, in this example,
Transfer.
- In the Number configuration card, click Add number and select the phone number you use in your contact center. If the number isn’t in the list, add it first in the telephony settings.
- Click Save.
6
Test Agent Copilot
To test Agent Copilot, follow these steps:
- Open your contact center platform and call the number you assigned to the Voice endpoint. The voice agent answers the call and creates a session in the contact center platform.
- Say something to the voice agent, for example,
Thanks, I'll wait for the human agent.. The agent transfers your call to the phone number you configured in the transfer flow. - Pick up the call from the phone number you configured in the transfer flow.
At the start of a conversation, the
Initial message for AI Copilotreply may appear in the human agent’s chat as if it were sent by the end user. This reply is added automatically to trigger Agent Copilot and is visible only to the human agent. - The Agent Copilot workspace displays a widget with the conversation transcript and a widget with the next action.
- Say the next action text into the phone.