Configure multilingual voice agents

Note

Copilot Studio bot is renamed as Copilot agent (agent or AI agent). Human agent is now renamed as customer service representative (service representative or representative). You might come across references to the old and new terms while we update the product UI, documentation, and training content.

You can configure a single voice agent to communicate with customers in different languages, reducing the overhead of creating and maintaining multiple agents in a copilot.

To enable the agent to detect the customer language and respond in same language, configure a workstream with one of the following options:

  • Multiple voice channels with different phone numbers for different languages.
  • A single voice channel with one phone number that supports multiple languages.

Prerequisites

Configure multilingual agents for the workstream

In Contact Center admin center or Customer Service admin center, for a voice channel in a workstream, perform the following steps:

  1. Add a phone number to the workstream and configure language settings. The following actions apply:
  • The language of the voice channel must match either the primary or one of the secondary languages of the agent in Copilot Studio. If the languages don't match, the agent uses its primary language.
  • If you enable transcription for a voice channel, the transcript is displayed in the language the agent detects. However, if the agent switches to a language that the channel doesn't support, the transcript is displayed in the primary language of the channel. There might be a slight delay for the transcript to be updated when the agent changes languages. Some parts of the transcript might be in the previous language.
  1. In the Bots section of the workstream, add the agent that you want to use. The application displays a warning message if the languages configured in the voice channel don't match the languages supported by the agent.

The application displays a warning if you add a new language that the agent doesn't support to an existing voice channel.

Examples

Scenario 1:

You have a multilingual agent, Contoso Coffee agent, in Copilot Studio with English as the primary language and Spanish and French as secondary languages.

You have a workstream, Contoso Coffee Shop, with these settings:

  • Two voice channels with different phone numbers. One channel has Spanish as the primary language and the other has German.
  • The Contoso Coffee agent is linked to the workstream. The agent identifies the customer's language based on the primary language of the voice channel.

When a customer calls the phone number for Spanish, the agent responds in Spanish.

When a customer calls the phone number for German, the agent responds in English because German isn't a supported language for the agent.

Scenario 2:

You also have another workstream, Contoso Coffee Beans, with these settings:

  • A voice channel with a single phone number. The primary language is Spanish. French and English are additional languages.
  • The Contoso returns agent is configured as the agent for the workstream. The agent greets the customer in its primary language. Then it asks the customer to choose their preferred language by voice or text input. The options are: one English, two Italian, three Portuguese. The agent switches to the chosen language.

When a customer calls the phone number linked to the voice channel, the agent says hello in Spanish and repeats the options for other languages. If the customer says "English" or presses 1, the agent switches to English and continues in English.

Escalate the call to a representative

If the agent can't answer the customer's question or if they ask to talk to a human representative, you can set up the agent to transfer the call to either a default queue or a queue that matches their language. To escalate the call to a language-specific queue, you need to create a queue for each language you support.

For the example in Scenario 1 or Scenario 2, to route the call to a language-specific representative, perform the following steps:

  • Create three voice queues—one each for English, French, and Portuguese—and add representatives who speak those languages.
  • In the route-to-queues rule set of the workstream, use Conversation.CustomerLanguage as the criterion to route calls to different queues based on what customers select.

View metrics for multilingual agents

You can see how your multilingual agents perform by using Omnichannel historicalreport. You can filter by Last Language to see metrics for agents based on the language they've used to communicate with the customer. The Last Language filter isn't available on the dashboard by default. To add the filter, perform the steps in customize bot dashboards.