Skip to main content
In this guide, you’ll learn how to configure your first embedded Agent Copilot workspace for a voice agent. This configuration provides an Agent Copilot workspace that includes two widgets:

Prerequisites

Setup process

  1. Create a handover provider. The handover provider connects the agent to your contact center platform.
  2. Create an Agent Copilot flow. The Agent Copilot flow configures the Agent Copilot workspace and the individual widgets.
  3. Create a Voice Copilot Endpoint. The Voice Copilot Endpoint receives the transcript of the voice call and sends it to the Agent Copilot workspace.
  4. Create a Transfer Flow. The Transfer Flow configures the user interaction with the AI Agent and the handover to a human agent.
  5. Create a Voice endpoint. The Voice endpoint connects the AI Agent to Voice and your contact center phone number.
  6. 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

  1. In Design > Flows, create a flow and give it a clear name, for example, Agent Copilot.
  2. Add a Copilot: Set Grid node and set the grid as follows:
  3. 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.
  4. 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.
    • Copilot: Transcript Tile node:
      • Tile ID — transcript
3

Create a Voice Copilot endpoint

  1. In Deploy > Endpoints, click + New endpoint, select Voice Copilot, and click Create endpoint.
  2. 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.
  3. In the Integration section, copy the Endpoint URL for later use in the transfer flow and click Save.
4

Create a transfer flow

  1. In Design > Flows, create a flow and give it a clear name, for example, Transfer.
  2. In the flow editor, add a Say node and set its Text parameter to Hi, I'll transfer you to the humans..
  3. 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

  1. In Deploy > Endpoints, click + New endpoint, select Voice Gateway, and click Create endpoint.
  2. 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.
  3. 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.
  4. Click Save.
6

Test Agent Copilot

To test Agent Copilot, follow these steps:
  1. 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.
  2. 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.
  3. 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 Copilot reply 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.
  4. The Agent Copilot workspace displays a widget with the conversation transcript and a widget with the next action.
  5. Say the next action text into the phone.

More information

Last modified on November 16, 2026