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.
Use the Interactive Voice Response (IVR) voice agent sample in Microsoft Copilot Studio to learn how a voice agent connects to a workstream in Dynamics 365 Contact Center or Dynamics 365 Customer Service. The template demonstrates the following capabilities:
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 and entity validation: Prompts callers for clarification if the initial input is unclear and validates entities to make sure the correct information is captured.
Prerequisites
- Dataverse is provisioned in your environment to store and manage tables. Learn more in:
- Voice channel is provisioned
- Procure phone numbers
- Workstream is set up and the phone number is linked to a voice channel.
Import and configure the voice agent template
- Download the sample voice agent zip file.
- Save the zip file to your local computer.
- In Copilot Studio, import the solution. The template appears on the Scenarios page.
- On the Agents page, modify the agent's workflow settings, topics, and call routing to align with your customer service processes.
- In Dynamics 365 Contact Center or Dynamics 365 Customer Service, set up the voice agent in the voice channel.
Note
Add the agent to the voice workstream in the omnichannel app and test it before you change the topics.
How the Contoso order status voice agent works
Note
Examples are for illustration only and are fictitious. No real association is intended or inferred.
The voice agent template helps customers track the status of their orders. When a customer calls the phone number linked to the agent's workstream, 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 asks for the customer's ZIP code.
- The customer says or enters the ZIP code. The agent validates it and prompts the customer to try again if it isn't valid.
- 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.