Lesson 4 of 4 Copilot in Dynamics 365 Customer Experience and Service

Designing Agents for Contact Center Channels

This lesson explains how Copilot Studio agents join Contact Center workstreams and hand off to people.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe how agents attach to workstreams.
  • Explain escalation and conversation end design.
  • Distinguish basic and real-time voice agents.

How agents join a contact center

In Dynamics 365 Contact Center, conversations arrive through channels such as voice, live chat on a website, SMS and messaging apps, and are organized into workstreams that define routing and distribution. A Copilot Studio agent is added to a workstream in the Copilot Service admin center, so that it answers conversations before, or instead of, a human representative. Only one agent can be attached to a workstream, and agents receive conversations only in push-based workstreams. Voice agents created in the Copilot Service admin center work with enhanced voice workstreams.

Setting up the integration requires the Omnichannel administrator role and the CCI Admin security role, and the agent's usage consumes Copilot Credits. Because the contact center handles customers rather than employees, the agent design must assume unauthenticated users unless the channel authenticates them, and must protect personal data accordingly.

Designing hand-off and conversation end

The most important design decision is how the agent hands a conversation to a human. The agent escalates through an escalation topic, which transfers the conversation together with its history and context variables. Routing rules in the contact center can then use those variables, for example to send a high-value customer's billing dispute to a specialist queue. Before escalating, the agent can call representative availability APIs to tell the customer the expected wait.

The agent must also end conversations deliberately. An end-of-conversation topic is required, and conversations that are abandoned or inactive for 30 minutes close automatically. For voice, the conversation must be ended explicitly with an end-of-conversation message, because the system does not listen for the variable used to close conversations in messaging channels.

Designing for voice

Voice channels add requirements that text channels do not have. Copilot Studio offers two kinds of voice agent. A basic voice agent uses topics and classic orchestration with natural language understanding models for intents and entities, together with interactive voice response (IVR) features such as dual-tone multi-frequency (DTMF) input from the telephone keypad and call transfer. A real-time voice agent uses generative orchestration with a speech-to-speech model for low-latency conversation; it supports barge-in (the caller can interrupt), dynamic language switching when several languages are configured, DTMF fallback, and preserves context during escalation.

The following table summarizes design choices for each channel type.

ChannelDesign considerations
Live chat on a websiteAuthentication through the website if account data is needed; rich content such as cards and links
VoiceShort spoken responses; DTMF for account numbers; explicit end message; call transfer with context
SMS and messaging appsShort messages; no rich cards in SMS; asynchronous replies; consent and opt-out rules
Worked example

A billing agent for voice and chat

A utility wants an agent to answer billing calls and website chats. Callers must be identified by account number before hearing balances. If the caller disputes a bill above 500 dollars, the call must go to the disputes team, and the representative must not have to ask for the account number again. Callers often interrupt long messages. What should the design include?

The design attaches a Copilot Studio agent to a push-based chat workstream and to an enhanced voice workstream. For voice, a real-time voice agent supports barge-in, and DTMF input captures the account number reliably. The agent stores the account number and dispute amount in context variables, and an escalation topic transfers the conversation with those variables, so that routing rules send disputes above 500 dollars to the disputes queue and the representative sees the account number. An end-of-conversation topic closes chats, and voice calls end with an explicit end-of-conversation message.

Check yourself

How many Copilot Studio agents can be attached to a single Contact Center workstream?

Show answer

One. Agents receive conversations only in push-based workstreams.

Exam Tips

Remember for the exam

  • Copilot Studio agents are attached to workstreams in the Copilot Service admin center; one agent per workstream.
  • Agents receive conversations only in push-based workstreams.
  • Escalation topics hand off with history and context variables that routing rules can use.
  • Real-time voice agents support barge-in and language switching; voice calls need an explicit end message.