Configure Copilot Studio bots for voice

Applies to: Dynamics 365 Contact Center—embedded, Dynamics 365 Contact Center—standalone, and Dynamics 365 Customer Service

Important

Power Virtual Agents capabilities and features are now part of Microsoft Copilot Studio following significant investments in generative AI and enhanced integrations across Microsoft Copilot.

Some articles and screenshots might refer to Power Virtual Agents while we update documentation and training content.

To route customers call to the best department, diagnose issues, collect information, and give recommendations, conversational IVR bots speak to customers when they call in. Copilot Studio makes it easy to author IVR bots and you can use the same bots for other channels, like chat and voice.

The following voice capabilities are available for the Copilot Studio bots:

  • Collect customer input through speech or Dual-Tone Multi-Frequency (DTMF). Customers can talk without using a prompt script, and Copilot understands their commands or questions. Customers can also enter data by pressing keys on their phone keypad. The Copilot can detect when customers have stopped speaking by using silence detection and respond accordingly.
  • Adjust the voice output by using Speech Synthesis Markup Language (SSML). You can change the tone, pitch, and speed of the voice that interacts with customers.
  • Enable barge-in to let customers interrupt Copilot at any time. You can also use long-running operation messages to let customers know that the voice-enabled Copilot is working on their request.
  • Control the call flow by transferring or terminate calls. If a customer wants to talk to a live agent, the voice copilot can transfer the call to an available agent or an external phone number. If the voice copilot can't solve the customer issue, it can end the call and give an appropriate message.

Prerequisites

The following prerequisites must be met for the Copilot Studio bot:

Configure a bot for voice

  1. In the Customer Service admin center or Contact Center admin center app, go to the workstream that you created for the voice channel, and then in the Bot section, select Add Bot.

  2. On the Add Bot pane, select a bot from the Name box.

    Note

    Bots that you create in Customer Service admin center or Contact Center admin center work with enhanced voice workstreams only. Classic bots aren't supported in the enhanced voice experience. To create classic bots for existing voice workstreams that aren't migrated, use Copilot Studio.

    Select a bot.

  3. Select Save and close. The bot is added to the workstream.

    Sample bot details.

More information:

Configure handoff from Copilot Studio to Contact Center

  1. In Copilot Studio, open the bot that you've configured to integrate with Dynamics 365.

  2. Go to Manage and select Agent transfers.

  3. In the Agent transfers section, select Omnichannel, and on the Omnichannel panel that appears, do the following:

    1. Select Enable. One of the following messages appears:
    • That Omnichannel is enabled is displayed at the top of the page.
    • If you're using Application Lifecycle Management (ALM), you might see the following message: "We can't determine if omnichannel integration is enabled for the environment". For more information, see Bots with ALM.
    1. Turn on the Enable voice toggle.

    2. Select See how to register a new Application ID, and follow the instructions to register an application identifier.

      1. Select App Registration.

      2. Select New registration.

      3. Enter the name of your bot, and then select Register.

      Register the bot in Azure.

      1. Copy the Application ID to the clipboard.
    3. Return to Copilot Studio, paste the copied ID in the Application ID field, and then select Add your bot. After the bot is added, a message is displayed and the bot is listed.

    Copilot Studio bot for Omnichannel for Customer Service

    1. Optionally, you can view the bot details in Omnichannel for Customer Service.

Important

In voice, we don't listen for the closeOmnichannelConversation context variable. You must configure an end of conversation message for the call to end in Omnichannel for Customer Service.

Overview of the voice channel
Configure context variables
Manage your bots
Set up a multilingual bot in Copilot Studio