Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
This article explains how the Interactive Voice Response (IVR) or voice agent sample that's created in Microsoft Copilot Studio works when connected with a workstream in Dynamics 365 Contact Center or Dynamics 365 Customer Service. The sample provides a prebuilt template with the following capabilities for managing customer conversations:
Intent detection from conversational phrases: Identifies the caller's intent by analyzing spoken phrases, ensuring inquiries are routed to the appropriate resources or workflows. The template recognizes customer intent to track order status.
Numeric input by voice: Allows users to provide numeric information through voice input. This streamlines the process for entering data such as account numbers or PINs without using a keypad.
Generative answers: If the user specifies a phrase that the AI agent can't handle, the agent uses Generative Answers to provide information.
Distinguish number entities based on length: Differentiates between numeric entities based on their length, enhancing accuracy in identifying account numbers, phone numbers, or other relevant data.
Self-service/account lookup: Enables callers to access account information or perform self-service tasks without customer service representative assistance, improving efficiency and customer satisfaction.
Reprompt/entity validation: Prompts callers for clarification if the initial input is unclear, validates entities to ensure correct information is captured. This reduces errors and improves the interaction experience.
Prerequisites
- Dataverse is provisioned in your environment to store and manage tables.
- Voice channel is provisioned
- Phone numbers are acquired
- Workstream is set up and the phone number is linked to a voice channel.
Import and configure voice agent template
- Download the sample voice agent zip file and save it to your local machine.
- In Copilot Studio, perform the steps in import a solution to import the zip file. The template is displayed on the Scenarios page.
- In the Agents page, you see the voice agent. You can modify the AI agent's (agent) workflow setting, topics, and call routing to align with your customer service processes and scenarios.
- To finish the agent configuration in Dynamics 365 Contact Center or Customer Service, perform the steps in Set up voice agents in the voice channel.
Note
We recommend that you add the agent to the voice workstream in the omnichannel app and test it before you make changes to the topics.
Contoso Order Status voice agent workflow
Note
Examples are for illustration only and are fictitious. No real association is intended or inferred.
The voice agent template is intended to help customers track the status of their orders. When you call the the phone number linked to the workstream the agent is added to, the workflow is as follows:
- The agent greets the customer and asks how it can help. The AI agent template has a Dataverse query that replicates an API call which happens at the start of a call. This query returns a holiday sale message for Valentine’s Day.
Note
The customer can select Spanish-US by selecting * (asterisk). However, the rest of the AI agent's workflow hasn't been translated to Spanish. The agent will continue to respond in English.
- The customer says, "I want to track my order."
- The agent recognizes the customer's intent to track an order and prompts the customer to provide the order number or phone number. If the customer says a phrase that the AI agent can't handle, the agent uses Generative Answers to provide information. The agent redirects the user to the main menu with the prompt, "What else can I help you with?"
- The AI agent initiates a Dataverse query to trigger Automatic Number Identification to validate the caller. In this example, the Dataverse table returns sample Automatic Number Identification information to the AI agent. The agent then asks the customer if they want to look up the status of the order associated with that phone number.
- The customer can either say the order number or enter it using the dialpad.
- The agent then validates the order number. If the order number isn't valid, the agent prompts the customer to specify the order number again.
- The agent then asks for your zip code.
- The customer can either say the zipcode or type it in. The agent validates the zip code. If the zip code isn't valid, the agent prompts the customer to specify the zip code again.
- The agent retrieves the status and tells the customer about the order status.
- The agent then asks the customer if there's anything else it can help the customer with. Based on the customer's response, the following actions occur:
- No: Call ends.
- Yes: Call continues, but the agent doesn't engage with the call further. In Copilot Studio, you can add an end conversation topic to end the call. The agent transfers the customer to a customer service representative based on the workstream configuration, if the customer requests to speak to a service representative at any point during the call.