You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/includes/end-of-call-survey-web.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
---
2
+
title: Azure Communication Services End of Call Survey
3
+
titleSuffix: An Azure Communication Services tutorial document
4
+
description: Learn how to use the End of Call Survey to collect user feedback.
5
+
author: viniciusl-msft
6
+
ms.author: viniciusl
7
+
manager: gaobob
8
+
services: azure-communication-services
9
+
ms.date: 7/30/2024
10
+
ms.topic: tutorial
11
+
ms.service: azure-communication-services
12
+
ms.subservice: calling
13
+
---
1
14
2
15
> [!IMPORTANT]
3
16
> End of Call Survey is available starting on the version [1.13.1](https://www.npmjs.com/package/@azure/communication-calling/v/1.13.1) of the Calling SDK. Make sure to use that version or later when trying the instructions.
The API will return the following error messages if data validation fails or the survey can't be submitted.
78
+
The API returns the following error messages if data validation fails or the survey can't be submitted.
66
79
67
80
- At least one survey rating is required.
68
81
@@ -80,7 +93,7 @@ The API will return the following error messages if data validation fails or the
80
93
81
94
- Please try again [ACS failed to submit survey, due to network or other error].
82
95
83
-
### We will return any error codes with a message.
96
+
### We'll return any error codes with a message.
84
97
85
98
- Error code 400 (bad request) for all the error messages except one.
86
99
@@ -146,10 +159,10 @@ Screenshare. However, each API value can be customized from a minimum of
146
159
> A question’s indicated cutoff value in the API is the threshold that Microsoft uses when analyzing your survey data. When you customize the cutoff value or Input Range, Microsoft analyzes your survey data according to your customization.
147
160
148
161
## Custom questions
149
-
In addition to using the End of Call Survey API, you can create your own survey questions and incorporate them with the End of Call Survey results. Below you'll find steps to incorporate your own customer questions into a survey and query the results of the End of Call Survey API and your own survey questions.
162
+
In addition to using the End of Call Survey API, you can create your own survey questions and incorporate them with the End of Call Survey results. Below you find steps to incorporate your own customer questions into a survey and query the results of the End of Call Survey API and your own survey questions.
- Embed Azure AppInsights into your application [Click here to know more about App Insight initialization using plain JavaScript](../../../azure-monitor/app/javascript-sdk.md). Alternatively, you can use NPM to get the App Insights dependences. [Click here to know more about App Insight initialization using NPM](../../../azure-monitor/app/javascript-sdk-configuration.md).
152
-
- Build a UI in your application that will serve custom questions to the user and gather their input, lets assume that your application gathered responses as a string in the `improvementSuggestion` variable
165
+
- Build a UI in your application that serves custom questions to the user and gather their input, lets assume that your application gathered responses as a string in the `improvementSuggestion` variable
153
166
154
167
- Submit survey results to ACS and send user response using App Insights:
155
168
```javascript
@@ -173,7 +186,7 @@ User responses that were sent using AppInsights are available under your App Ins
173
186
- Add newquery (+Add -> Add query)
174
187
- Make sure `Data source` is `Logs` and `Resource type` is `Communication`
175
188
- You can rename the query (Advanced Settings -> Step name [example: call-survey])
176
-
- Be aware that it could require a maximum of**2 hours** before the survey data becomes visible in the Azure portal..Query the call rating data-
189
+
- Be aware that it could require a maximum of**2 hours** before the survey data becomes visible in the Azure portal. Query the call rating data-
0 commit comments