Muokkaa

Jaa


Copilot Studio agent conversations appear as active on the dashboard after a user ends a chat

This article provides a resolution for the issue where Copilot Studio agent conversations are shown as active on the Omnichannel for Customer Service dashboard even though a user has ended a chat.

Symptoms

After a conversation has ended, the Copilot Studio agent conversations are still showing as active on the dashboard.

Cause

Conversations for Copilot Studio agent can't be ended in Omnichannel for Customer Service. Therefore, they will be seen as active on the supervisor dashboard even after they've been closed.

Resolution

You can configure a context variable that will explicitly end the agent conversation in Omnichannel for Customer Service after users close the chat window. In Copilot Studio, create a standalone topic for the CloseOmnichannelConversation context variable with the variable property set to global. Invoke the topic in another topic that you've configured for the Copilot Studio agent.

Though the conversation will be closed in Omnichannel for Customer Service, it won't be closed in Copilot Studio and appear in the Escalation rate drivers KPI in the Power Virtual Agents Analytics dashboard.

Important

Make sure that you have access to Power Automate to configure a flow so that the agent conversation in Omnichannel for Customer Service can be ended.

To configure an end of the agent conversation, perform the steps in the End bot conversation.

You can also configure automated messages in Omnichannel for Customer Service that are displayed to the user after the conversation ends.