Skip to content

Commit eba60cf

Browse files
authored
Merge pull request #7680 from MicrosoftDocs/copilotsurvey-troubleshooting
AB#2963: Create troubleshooting steps.md
2 parents f31b221 + 1932324 commit eba60cf

9 files changed

Lines changed: 88 additions & 68 deletions

File tree

support/dynamics-365/customer-service/omnichannel-for-customer-service/agent-transfer-pva-bot-issue.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,29 @@
11
---
2-
title: Missing variables and actions during agent transfers from Power Virtual Agents bots
3-
description: Provides a resolution for the missing required variables and actions during agent transfers from Power Virtual Agents bots in Omnichannel for Customer Service.
2+
title: Missing variables and actions during agent transfers from Copilot Studio agents
3+
description: Provides a resolution for the required variables and actions that are missing during transfers from Copilot Studio agents to service representatives in Omnichannel for Customer Service.
44
ms.reviewer: nenellim
55
ms.author: yangao
6-
ms.date: 11/20/2024
6+
ms.date: 12/12/2024
77
ms.custom: sap:Copilot Studio\Agent transfer
88
ms.collection: CEnSKM-ai-copilot
99
---
10-
# Missing required variables and actions during agent transfers from Power Virtual Agents bots
10+
# Required variables and actions are missing during transfers from Copilot Studio agents to customer service representatives
1111

12-
This article provides a resolution for the error that occurs when you're configuring the handoff between a Power Virtual Agents bot and the Omnichannel voice workstream.
13-
14-
> [!IMPORTANT]
15-
> Power Virtual Agents capabilities and features are [now part of Microsoft Copilot Studio](https://www.microsoft.com/microsoft-copilot/blog/copilot-studio/microsoft-power-virtual-agents-now-part-of-microsoft-copilot-studio/) following significant investments in generative AI and enhanced integrations across Microsoft Copilot.
16-
>
17-
> Some articles and screenshots might refer to Power Virtual Agents while we update documentation and training content.
12+
This article provides a resolution for the error that occurs when you configure the handoff between a Copilot Studio agent and the voice workstream in Omnichannel for Customer Service.
1813

1914
## Symptoms
2015

21-
An error message similar to the following message is displayed on the Power Virtual Agents dashboard when you're configuring the handoff between a Power Virtual Agents bot and the Omnichannel voice workstream:
16+
When you [configure the handoff](/microsoft-copilot-studio/configuration-hand-off-omnichannel) between a Copilot Studio agent and the Omnichannel voice workstream, an error message that resembles the following is displayed on the Copilot Studio dashboard.
2217

2318
> Your bot doesn't have access to all the required variables and actions. Ask your admin about installing the Omnichannel package or follow this step-by-step walkthrough.
2419
2520
## Cause
2621

27-
The configuration is missing extensions that allow the bot to access the variables and actions it needs to complete the transfers.
22+
The configuration is missing extensions that allow the agent to access the variables and actions it needs to complete the transfers.
2823

2924
## Resolution
3025

31-
Ensure that the following extensions are installed. These extensions provide out-of-the-box actions or variables in the Power Virtual Agents authoring canvas that make the authoring experience easier for the bot author.
26+
Ensure that the following extensions are installed. These extensions provide out-of-the-box actions or variables in the Copilot Studio authoring canvas that make the authoring experience easier for the agent author.
3227

3328
- [Power Virtual Agents telephony extension](https://appsource.microsoft.com/product/dynamics-365/mscrm.mspva_telephony_extension)
3429
- [Omnichannel Power Virtual Agent extension](https://appsource.microsoft.com/product/dynamics-365/mscrm.omnichannelpvaextension)
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Error in Conversation Start Topic Prevents Survey Agent from Publishing
3+
description: Solves an error that occurs when you try to publish a survey agent in Microsoft Dynamics 365 Customer Service.
4+
ms.reviewer: nenellim
5+
ms.author: srubinstein
6+
ms.date: 12/12/2024
7+
ms.custom: sap:Copilot Studio\End conversation
8+
---
9+
# "Cannot reference variable" error when publishing a Copilot Studio survey agent
10+
11+
This article provides a solution to an issue that occurs when you try to publish a Microsoft Copilot Studio survey agent. The publishing fails with an error that points to the [Conversation Start](/microsoft-copilot-studio/authoring-system-topics?tabs=webApp#conversation-start) topic.
12+
13+
## Symptoms
14+
15+
As an administrator, when you try to publish a Copilot Studio survey agent, the following error appears:
16+
17+
> Cannot reference variable from component 'msdyn_dataverse_mcs_survey_connectionreference'
18+
19+
:::image type="content" source="media/cant-reference-variable-publish-survey-agent/cant-reference-variable-from-component-error.png" alt-text="Screenshot of the error when you publish the Copilot Studio survey agent." lightbox="media/cant-reference-variable-publish-survey-agent/cant-reference-variable-from-component-error.png":::
20+
21+
## Cause
22+
23+
This issue is caused by an incorrectly configured connection reference.
24+
25+
## Resolution
26+
27+
To resolve this error, follow these steps to manually re-create the step where the error occurred:
28+
29+
1. Remove the erroneous step, and then re-create it using the **Perform an unbound action in selected environment** connector.
30+
31+
:::image type="content" source="media/cant-reference-variable-publish-survey-agent/create-new-step-with-connector.png" alt-text="Screenshot that shows how to create a new step by using the Perform an unbound action in selected environment connector." lightbox="media/cant-reference-variable-publish-survey-agent/create-new-step-with-connector.png":::
32+
33+
2. Add the following details:
34+
35+
- **Environment**: **(Current)**
36+
- **Action Name**: **msdyn_SaveMicrosoftCopilotStudioSurveyResponse**
37+
- **InputParams**: **JsonPayload**
38+
39+
:::image type="content" source="media/cant-reference-variable-publish-survey-agent/connector-action-fields.png" alt-text="Screenshot of the fields that must be filled for the Connector action.":::
40+
41+
3. Save and publish the survey agent.
42+
43+
## Related information
44+
45+
[Configure feedback surveys using Copilot Studio (preview)](/dynamics365/contact-center/administer/configure-surveys)

support/dynamics-365/customer-service/omnichannel-for-customer-service/greeting-message-delay-agent-connection.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
---
22
title: Voice call greeting messages delay connection between agents and customers
3-
description: Resolves an issue where voice call greeting messages delay an agent's ability to connect to a customer in the voice channel in Omnichannel for Customer Service.
3+
description: Resolves an issue where voice call greeting messages delay a representative's ability to connect to a customer in the voice channel in Omnichannel for Customer Service.
44
ms.reviewer: laalexan
55
ms.author: srubinstein
6-
ms.date: 11/20/2024
6+
ms.date: 12/12/2024
77
ms.custom: sap:Voice channel
88
ms.collection: CEnSKM-ai-copilot
99
---
1010
# Incoming voice calls with long greeting messages cause connection delays
1111

12-
This article provides a solution to an issue where Omnichannel for Customer Service voice calls that are configured with a greeting message cause a connection delay between the agent and the customer.
12+
This article provides a solution to an issue where Omnichannel for Customer Service voice calls that are configured with a greeting message cause a connection delay between the customer service representative and the customer.
1313

1414
## Symptoms
1515

16-
As an agent or supervisor, you notice that incoming voice calls that are configured with a greeting message experience a delay before agents can connect to their customers.
16+
As a service representative or supervisor, you notice that incoming voice calls that are configured with a greeting message experience a delay before the service representatives can connect to their customers.
1717

1818
## Cause
1919

20-
After [setting up a greeting message for a channel](/dynamics365/customer-service/administer/configure-automated-message), the call is intended to transfer to an agent once a greeting message ends for the customer. However, in some cases, the call is transferred to the agent while the greeting message is still playing. This results in the agent having to wait until the greeting message is completed before being correctly connected to the customer.
20+
After [setting up a greeting message for a channel](/dynamics365/customer-service/administer/configure-automated-message), the call is intended to transfer to a service representative after the greeting message ends for the customer. However, in some cases, the call is transferred to the representative while the greeting message is still playing. This results in the representative having to wait until the greeting message is completed before being correctly connected to the customer.
2121

2222
## Resolution
2323

2424
To resolve this issue, try the following workarounds:
2525

2626
- You can shorten the greeting message configured for your voice channel.
27-
- If shortening the message isn't possible, you can [introduce a Copilot Studio bot](#introduce-a-copilot-studio-bot-to-greet-customers) to welcome the customer instead of using a greeting message. You'll need to configure a delay to prevent the call from being transferred to an agent. There are two ways to create a delay:
27+
- If shortening the message isn't possible, you can [introduce a Copilot Studio agent](#introduce-a-copilot-studio-agent-to-greet-customers) to welcome the customer instead of using a greeting message. You'll need to configure a delay to prevent the call from being transferred to a representative. There are two ways to create a delay:
2828
- [Add a Power Automate delay flow](#add-a-power-automate-delay-flow)
2929
- [Add a message delay](#add-a-message-delay)
3030

31-
### Introduce a Copilot Studio bot to greet customers
31+
### Introduce a Copilot Studio agent to greet customers
3232

33-
1. Add a [bot](/dynamics365/customer-service/administer/overview-bots) and connect it to your workstream. For more information, see [Manage your bots](/dynamics365/customer-service/administer/manage-your-bots#add-a-bot).
33+
1. Add a [Copilot Studio agent](/microsoft-copilot-studio/authoring-first-bot) and connect it to your workstream. For more information, see [Manage your bots](/dynamics365/customer-service/administer/manage-your-bots#manage-your-bots).
3434

35-
1. Ensure that your bot is connected to Omnichannel for Customer Service. For more information, see [Configure Copilot Studio bots for voice](/dynamics365/customer-service/administer/voice-channel-pva-bots#configure-handoff-from-copilot-studio-to-omnichannel-for-customer-service).
35+
1. Ensure that your agent is connected to Omnichannel for Customer Service. For more information, see [Configure Copilot Studio agents for voice](/dynamics365/customer-service/administer/voice-channel-pva-bots).
3636

3737
1. In the [Copilot Studio](/microsoft-copilot-studio/fundamentals-what-is-copilot-studio) app, open your copilot and go to the **Topics & Plugins** page.
3838
1. Under **System**, select the **Conversation start** topic.
39-
1. In the **Message** node, add the greeting message that you want to be played before a call is transferred (or escalated) to an agent. Make sure the message node is set to **Speech**.
39+
1. In the **Message** node, add the greeting message that you want to be played before a call is transferred (or escalated) to a representative. Make sure the message node is set to **Speech**.
4040
1. Create a delay either by [adding a Power Automate delay flow](#add-a-power-automate-delay-flow) or by [adding a message delay](#add-a-message-delay).
4141

4242
### Add a Power Automate delay flow
@@ -62,19 +62,19 @@ To add a new node to create a delay flow, follow these steps:
6262
:::image type="content" source="media/greeting-message-delay-agent-connection/return-value-pva.png" alt-text="Screenshot that shows the Return value(s) to Power Virtual Agents flow action.":::
6363

6464
1. Save your flow, go back to Copilot Studio, and add the flow after the **Greeting Message** node.
65-
1. Add a new node to transfer the conversation to the agent by selecting the "plus" icon and then selecting **Topic Management** > **Transfer conversation**.
65+
1. Add a new node to transfer the conversation to the representative by selecting the "plus" icon and then selecting **Topic Management** > **Transfer conversation**.
6666

6767
:::image type="content" source="media/greeting-message-delay-agent-connection/transfer-conversation-node.png" alt-text="Screenshot that shows the Transfer conversation node in Copilot Studio.":::
6868

6969
1. Test your copilot to make sure the message works as expected, and then publish the change.
7070

7171
### Add a message delay
7272

73-
You can add another **Message** node to explain that the call will be transferred to an agent. This ensures that the call won't be transferred to the agent until both messages play.
73+
You can add another **Message** node to explain that the call will be transferred to a representative. This ensures that the call won't be transferred to the representative until both messages play.
7474

7575
1. Select the "plus" icon, and then select **Topic management** > **Transfer conversation**.
76-
1. Type the message you want the agent to hear. For more information about creating and editing topics, see [Use topics to design a copilot conversation](/microsoft-copilot-studio/authoring-create-edit-topics).
76+
1. Type the message you want the representative to hear. Learn more about creating and editing topics, see [Use topics to design a copilot conversation](/microsoft-copilot-studio/authoring-create-edit-topics).
7777

78-
:::image type="content" source="media/greeting-message-delay-agent-connection/configure-voice-message.png" alt-text="Screenshot that shows how to configure a voice bot in Copilot Studio.":::
78+
:::image type="content" source="media/greeting-message-delay-agent-connection/configure-voice-message.png" alt-text="Screenshot that shows how to configure a voice agent in Copilot Studio.":::
7979

80-
1. Test your copilot to make sure the message works as expected, and then publish the change.
80+
1. Test your Copilot agent to make sure the message works as expected, and then publish the change.
Loading
Loading
Loading
Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,33 @@
11
---
2-
title: Power Virtual Agents bot conversations are active after a chat has ended
3-
description: Provides a resolution for the issue where Power Virtual Agents bot conversations remain active on the Omnichannel for Customer Service dashboard after a user ends a chat.
2+
title: Copilot Studio agent conversations are active after a chat ends
3+
description: Provides a resolution for the issue where Copilot Studio agent conversations remain active on the Omnichannel for Customer Service dashboard after a user ends a chat.
44
ms.reviewer: nenellim
55
ms.author: yangao
6-
ms.date: 11/20/2024
6+
ms.date: 12/12/2024
77
ms.custom: sap:Copilot Studio\End conversation
88
ms.collection: CEnSKM-ai-copilot
99
---
10-
# Power Virtual Agents bot conversations appear as active on the dashboard after a user ends a chat
10+
# Copilot Studio agent conversations appear as active on the dashboard after a user ends a chat
1111

12-
This article provides a resolution for the issue where Power Virtual Agents bot conversations are shown as active on the Omnichannel for Customer Service dashboard even though a user has ended a chat.
13-
14-
> [!IMPORTANT]
15-
> Power Virtual Agents capabilities and features are [now part of Microsoft Copilot Studio](https://www.microsoft.com/microsoft-copilot/blog/copilot-studio/microsoft-power-virtual-agents-now-part-of-microsoft-copilot-studio/) following significant investments in generative AI and enhanced integrations across Microsoft Copilot.
16-
>
17-
> Some articles and screenshots might refer to Power Virtual Agents while we update documentation and training content.
12+
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.
1813

1914
## Symptoms
2015

21-
After a conversation has ended, the Power Virtual Agents bot conversations are still showing as active on the dashboard.
16+
After a conversation has ended, the Copilot Studio agent conversations are still showing as active on the dashboard.
2217

2318
## Cause
2419

25-
Conversations for Power Virtual Agents bot 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.
20+
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.
2621

2722
## Resolution
2823

29-
You can configure a context variable that will explicitly end the bot conversation in Omnichannel for Customer Service after users close the chat window. In Power Virtual Agents, 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 bot.
24+
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.
3025

31-
Though the conversation will be closed in Omnichannel for Customer Service, it won't be closed in Power Virtual Agents and appear in the **Escalation rate drivers** KPI in the **Power Virtual Agents Analytics** dashboard.
26+
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.
3227

3328
> [!IMPORTANT]
34-
> Make sure that you have access to Power Automate to configure a flow so that the bot conversation in Omnichannel for Customer Service can be ended.
35-
36-
To configure ending a bot conversation, take the following steps:
37-
38-
1. In Power Virtual Agents, for the selected bot, configure a new topic.
39-
2. Select **Go to authoring canvas**, and in **Add node**, select **Call an action**, and then select **Create a flow**.
40-
3. On the Power Automate window that opens on a new tab, take the following steps:
41-
1. In the **Return value(s) to Power Virtual Agents** box, select **Add an input**, and then select **Yes/No**.
42-
2. In the **Enter title** box, enter *CloseOmnichannelConversation*, which is the Omnichannel for Customer Service context variable name.
43-
3. In the **Enter a value to respond** box, select the **Expression** tab, and then enter *bool(true)* to build the expression, and select **OK**.
44-
4. Save the changes, and then exit Power Automate.
45-
46-
4. In the topic you were editing, select **Call an action** again, and then in the list, select the flow you created.
47-
5. In **Add node**, select **End the conversation** > **Transfer to agent**.
48-
49-
:::image type="content" source="media/pva-conversations-active-dashboard/end-bot-conversation.png" alt-text="Screenshot that shows how to configure an end-conversation topic.":::
29+
> 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.
5030
51-
6. Go to the topic in which you need to invoke the topic for ending the bot conversation in Omnichannel for Customer Service, and use the **Go to another topic** option in **Add a node**.
52-
7. Select the topic that you created for ending the bot conversation.
53-
8. Save and publish the changes.
31+
To configure an end of the agent conversation, perform the steps in the [End bot conversation](/dynamics365/customer-service/administer/configure-bot-virtual-agent#end-bot-conversation).
5432

55-
Additionally, you can configure automated messages in Omnichannel for Customer Service that will be displayed to the user after the conversation ends.
33+
You can also configure automated messages in Omnichannel for Customer Service that are displayed to the user after the conversation ends.

0 commit comments

Comments
 (0)