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
The harness used to build this agent uses usage-based billing. Using, building, testing, and evaluating agents might consume Copilot Credits. Learn more in Overview of usage-based billing.
When you integrate Teams Phone Agent with Copilot Studio, your organization can use an agent powered by the Customer Conversation harness to handle specialized workflows like billing, prescription refill, order status, and more. This functionality goes beyond what built-in appointments and Q&A tools provide. Customers experience a seamless handoff between Teams Phone Agent and your Copilot Studio voice agent. An agent built by using this harness is called a Customer Assist Agent.
This article describes how to integrate agents built by using the Customer Conversation harness. For agents built by using the standard harness, see Integrate voice agents with Teams Phone Agent.
Teams Phone Agent is generally available. Learn more in Planning - Agents and Queues for Teams Phone Agent.
Note
Administrators can turn off access to the Microsoft Teams Phone channel for Copilot Studio agents by using the Agent access channels setting in the Power Platform admin center. Learn more in Configure channel publishing and connected agent access (preview).
Prerequisites
To use Copilot Studio with Teams Phone Agent, you need the following licenses and access:
- Copilot Studio tenant license: You need these entitlements to run the agents and publish the agents to a channel.
- Copilot Studio user license: You need this license to create and use Copilot Studio applications.
- Teams Phone licenses: Depending on your scenario, you need certain Teams Phone licenses. Learn more in Reference - Technical Prerequisites and Licensing Requirements for Teams Phone Agent, Auto Attendant, and Call Queue.
Supported Copilot Studio regions
When you create a new Copilot Studio environment, ensure that you create it in one of the following supported regions:
- Asia
- Australia
- Canada
- Europe
- Japan
- Korea
- Norway
- Sweden
- Switzerland
- US
- United Kingdom
- United Arab Emirates (UAE)
To minimize latency, choose the region closest to you.
Copilot Studio voice agents aren't supported in:
- France
- Germany
- India
- South Africa
However, you can still use Copilot Studio voice agents even if your tenant is based in these countries or regions.
Power Platform admin center environments
Environments used for this experience must have the following configurations:
- Get new features early is set to No.
- Add a Dataverse data store is set to Yes.
Tags
Tags are a way to pass dynamic transfer information from Teams to Copilot Studio, so you can simplify and scale your Copilot Studio agent. Tags help Copilot Studio agents identify next steps and transfer targets (call queues, auto attendants, and so on) without hardcoding values in the agent.
Create and publish your agent
In Copilot Studio, create an agent by using the Customer Conversation harness. Learn more in Create a new agent (Customer Conversation).
Configure your agent's instructions, knowledge sources, and conversational behavior on the Build tab.
Publish your agent from the Deploy page.
On the Deploy page, configure the agent for the Teams Phone channel. Learn more in Deploy to Teams Phone.
Link your Copilot Studio agent to your Teams Phone Agent
Complete these steps after you publish your agent.
In Teams admin center, open your Teams Phone Agent.
Go to your call flow and select Assign a dial key.
Select Agents and Queues as your destination.
Enter a Voice command and Description.
Optionally, link a Tag Template.
Select the Copilot Studio agent you created.
Submit your changes.
Call your Teams Phone Agent to confirm that it transfers to your Copilot Studio agent.
Configure Teams Phone escalation and tags
Use the Escalate tool to hand a call from your Customer Assist Agent to a human representative when the caller asks for assistance or the agent can't resolve the request. For Teams call queues, tags identify the transfer destination without hardcoding it in the agent.
In Teams admin center, configure a tag template with the tags and Teams call queue destinations that your agent can use. Attach the tag template when you link your Copilot Studio agent to your Teams Phone Agent.
In Copilot Studio, open the Build tab and select the primary agent's card or the sub-agent that handles the scenario.
In the Tools section, select Add tool > System tools > Escalate, and choose Teams Phone.
Enter a name and description for the tool, and select Teams call queue via Tags. Configure the tool to use the appropriate tags from your Teams tag template. You can also reference these tags in an escalation topic.
Optionally, select Make this the default tool to use Teams Phone when an agent or sub-agent doesn't have escalation configured. Select Add.
Configure the agent's instructions and conversational behavior to identify when to escalate, such as when the caller asks for a representative or the agent can't complete the request.
Publish the agent again. Place a call through Teams Phone Agent, trigger escalation, and verify that the call reaches the Teams call queue associated with the selected tag.
To transfer directly to a PSTN number or SIP endpoint instead of a Teams call queue, select External phone number or SIP URI in the tool configuration.
Learn more in Add prebuilt contact center tools (Customer Conversation).
Best practices
Because Copilot Studio agents are custom voice agents that your organization creates, thoroughly test the agent before deploying it to callers. Make sure it acts the way you expect and put the proper guardrails in place. How you build your agent significantly shapes the customer experience.
Scope your Copilot Studio agent to the specific processes it supports. Overly broad agents can produce unexpected responses.