Skip to main content

Microsoft

Live Agent Transfer in Copilot Studio Using D365 Omnichannel – Step-by-Step Implementation

Istock 2162026367

Welcome to Part 2 of this blog series! In Part 1, we discussed the high-level architecture and use case for enabling live agent transfer from a chatbot.

In this post, I’ll walk you through the actual steps to build this feature using:

  • Copilot Studio
  • D365 Omnichannel for Customer Service
  • Customer Service Workspace
  • Customer Voice

Prerequisites

  • Dynamics 365 Customer Service license + Omnichannel Add-on
  • Admin access to D365 and Power Platform Admin Center
  • Agents added to your environment with proper roles

Step-by-Step Implementation

1: Set Up Omnichannel Workstream

  • Go to Customer Service Admin Center
  • Create a Workstream for live chat
  • Link it to a queue and assign agents

Customer Service Workspace Customer Service Workspace1

2: Create Chat Channel

  • In the same admin center, create a Chat Channel
  • Configure greeting, authentication (optional), timeouts
  • Copy the embed code to add to your portal or test site

Customer Service Chat Channel for Copilot Studio

3: Create a Bot in Copilot Studio

  • Create a bot and add core topics
  • Create a new topic: “Escalate to Agent”
  • Add trigger phrases like:
    • “Talk to someone.”
    • “Escalate to huma.n”
    • “Need real help”
  • Use the Transfer to Agent node
    • Select the Chat Channel
    • Add a fallback message in case agents are unavailable

Coplot Studio

4: Test the Flow

  • Open your bot via the portal or the embedded site
  • Trigger the escalation topic
  • Bot should say: “Transferring you to a live agent…”
  • An available agent receives the chat in the Customer Service Workspace
  • The agent sees the whole chat history and continues the conversation

Copilot Studio & Customer Service

5: [Optional] Post-Conversation Feedback Using Customer Voice

To collect feedback after the chat ends, enable the native post-conversation survey feature in Omnichannel.

Steps:

  1. Create a feedback survey in Microsoft Customer Voice
  2. Go to Customer Service Admin Center > Workstream > Behavior tab
  3. Enable post-conversation survey
  4. Select “Customer Voice.”

Customer Voice

That’s it – once the chat ends, users will be prompted with your feedback form automatically.

Real Scenarios Tested

  • User types “Speak to a human.”
  • Bot transfers to live agent
  • Agent sees the customer transcript and profile
  • No agent? Bot shows “All agents are currently busy.”

Final Outcome

This setup enables a production-ready escalation workflow with:

  • Low-code development
  • Reusable components
  • Smooth agent handoff
  • Agent empowerment with full context

Conclusion

This approach balances bot automation with human empathy by allowing live agent transfers when needed. Copilot Studio and D365 Omnichannel work well together for modern, scalable customer service solutions.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Ankit Jangle

Ankit Jangle is a technical consultant at Perficient. Specialize in creating unique solution using Power Apps, Power Automate, Copilot Studio, Power BI, and Power Query. Ankit is a Certified Microsoft Power Platform Developer Associate who is passionate about learning new things.

More from this Author

Follow Us