(Marked this version for translation) |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | = How to Create a Voice Scenario That Distributes Surveys to a Percentage of Random Customers = | |
Surveys are useful tools to get feedback from customers about your company, targeted topics, and so forth. After creating a survey, however, you may not want every single customer to have the option to take your survey. The following example voice scenario uses the [[Scenario-builder-reference-guide/Built-inFunctions#random.28max.29|random(max)]] function to distribute surveys to a set percentage of your callers at random. | Surveys are useful tools to get feedback from customers about your company, targeted topics, and so forth. After creating a survey, however, you may not want every single customer to have the option to take your survey. The following example voice scenario uses the [[Scenario-builder-reference-guide/Built-inFunctions#random.28max.29|random(max)]] function to distribute surveys to a set percentage of your callers at random. | ||
− | == Scenario Example == | + | == Scenario Example == |
'''Click the following link to download an annotated version of this voice scenario example.'''<br> | '''Click the following link to download an annotated version of this voice scenario example.'''<br> | ||
[[File:App_How_to_Distribute_Surveys_to_a_Percentage_of_Random_Customers.zip]] | [[File:App_How_to_Distribute_Surveys_to_a_Percentage_of_Random_Customers.zip]] | ||
− | |||
For instructions on how to import this file into your contact center, see the ''Contact Center Administrator Guide'', section [[Contact-center-administrator-guide/ScenariosOverview#How_to_Export_and_Import_Scenarios|Scenarios Overview > How to Export and Import Scenarios]]. | For instructions on how to import this file into your contact center, see the ''Contact Center Administrator Guide'', section [[Contact-center-administrator-guide/ScenariosOverview#How_to_Export_and_Import_Scenarios|Scenarios Overview > How to Export and Import Scenarios]]. | ||
− | |||
For general information about scenarios, refer to section [[Scenario-builder-reference-guide/ScenarioBuilderOverview|Scenario Builder Overview]]. | For general information about scenarios, refer to section [[Scenario-builder-reference-guide/ScenarioBuilderOverview|Scenario Builder Overview]]. | ||
− | == Scenario Flow == | + | == Scenario Flow == |
What follows is a simple sequence of actions that allows you to send a survey to 30% of random callers if the Connect Call block's [[Scenario-builder-reference-guide/ConnectCall#Target_Disconnected|Target Disconnected]] conditional exit is reached (i.e., the call ends normally). The survey is configured in a separate scenario that is triggered when a [[Scenario-builder-reference-guide/StartAnotherScenario|Start Another Scenario]] block is reached. | What follows is a simple sequence of actions that allows you to send a survey to 30% of random callers if the Connect Call block's [[Scenario-builder-reference-guide/ConnectCall#Target_Disconnected|Target Disconnected]] conditional exit is reached (i.e., the call ends normally). The survey is configured in a separate scenario that is triggered when a [[Scenario-builder-reference-guide/StartAnotherScenario|Start Another Scenario]] block is reached. | ||
− | |||
Please note this is an example scenario only and not intended for production use. All [[Scenario-builder-reference-guide/ScenarioBuilderOverview#Conditional_Exits|conditional exits]] should be defined with actions for production use. | Please note this is an example scenario only and not intended for production use. All [[Scenario-builder-reference-guide/ScenarioBuilderOverview#Conditional_Exits|conditional exits]] should be defined with actions for production use. | ||
− | === Scenario Overview === | + | === Scenario Overview === |
The diagram shown illustrates what the complete scenario looks like when designed in the Scenario Builder application. | The diagram shown illustrates what the complete scenario looks like when designed in the Scenario Builder application. | ||
− | |||
[[File:How-To-Random-Survey-Overview-53.PNG|800px|thumb|center|]] | [[File:How-To-Random-Survey-Overview-53.PNG|800px|thumb|center|]] | ||
− | === Action 1: Begin with a Set Variable block that invokes random(max) === | + | === Action 1: Begin with a Set Variable block that invokes random(max) === |
The first block in our scenario is [[Scenario-builder-reference-guide/SetVariable|Set Variable]]; we will use this block to invoke the ''random(max)'' function. In order to do this, we define the variable name (i.e., "sendsurvey") and value (i.e., "=random(100)"). | The first block in our scenario is [[Scenario-builder-reference-guide/SetVariable|Set Variable]]; we will use this block to invoke the ''random(max)'' function. In order to do this, we define the variable name (i.e., "sendsurvey") and value (i.e., "=random(100)"). | ||
− | |||
[[File:How-To-Random-Survey-1-53.PNG|650px|thumb|center|The Set Variable block with random(max)]] | [[File:How-To-Random-Survey-1-53.PNG|650px|thumb|center|The Set Variable block with random(max)]] | ||
− | |||
There are two important points to note about this: | There are two important points to note about this: | ||
# The random(max) function works by selecting a random integer between 0 and one less than whatever number you configure as "max". For example, ''=random(4)'' will randomly return the values 0, 1, 2, and 3 (i.e., a total of four integers). | # The random(max) function works by selecting a random integer between 0 and one less than whatever number you configure as "max". For example, ''=random(4)'' will randomly return the values 0, 1, 2, and 3 (i.e., a total of four integers). | ||
Line 40: | Line 34: | ||
− | |||
As a reminder, in order to use functions, you must include the '''=''' symbol (i.e., ''=random(100)''). | As a reminder, in order to use functions, you must include the '''=''' symbol (i.e., ''=random(100)''). | ||
− | === Action 2: Create a basic scenario === | + | === Action 2: Create a basic scenario === |
Next, in order for your voice scenario to work, you will need to include the [[Scenario-builder-reference-guide/FindAgent|Find Agent]] block and [[Scenario-builder-reference-guide/ConnectCall|Connect Call]] block. These two blocks are the most important for any scenario where agents interact with customers directly. | Next, in order for your voice scenario to work, you will need to include the [[Scenario-builder-reference-guide/FindAgent|Find Agent]] block and [[Scenario-builder-reference-guide/ConnectCall|Connect Call]] block. These two blocks are the most important for any scenario where agents interact with customers directly. | ||
− | |||
For more information on using Find Agent and Connect Call scenario blocks, see [[Scenario-builder-reference-guide/HowtoCreateaBasicScenario|How to Create a Basic Scenario]]. | For more information on using Find Agent and Connect Call scenario blocks, see [[Scenario-builder-reference-guide/HowtoCreateaBasicScenario|How to Create a Basic Scenario]]. | ||
− | === Action 3: Configure an If block with the desired percentage of survey distribution === | + | === Action 3: Configure an If block with the desired percentage of survey distribution === |
After configuring the Find Agent/Connect Call block combination, we will add an [[Scenario-builder-reference-guide/If|If]] block to the Connect Call block's [[Scenario-builder-reference-guide/ConnectCall#Target_Disconnected|Target Disconnected]] conditional exit. Note that this exit is reached when a call ends normally (i.e., the caller hangs up). | After configuring the Find Agent/Connect Call block combination, we will add an [[Scenario-builder-reference-guide/If|If]] block to the Connect Call block's [[Scenario-builder-reference-guide/ConnectCall#Target_Disconnected|Target Disconnected]] conditional exit. Note that this exit is reached when a call ends normally (i.e., the caller hangs up). | ||
− | |||
In the If block, we will do the following: | In the If block, we will do the following: | ||
* Create a branch | * Create a branch | ||
Line 63: | Line 54: | ||
** The desired number | ** The desired number | ||
− | |||
We want our survey to go to 30% of callers randomly, so remembering our max number is 100, we will make the If block consider numbers greater than 70 only. | We want our survey to go to 30% of callers randomly, so remembering our max number is 100, we will make the If block consider numbers greater than 70 only. | ||
− | |||
[[File:How-To-Random-Survey-2-53.PNG|650px|thumb|center|The If block is where the percentage is defined]] | [[File:How-To-Random-Survey-2-53.PNG|650px|thumb|center|The If block is where the percentage is defined]] | ||
− | === Action 4: Use the Start Another Scenario block to initiate the survey === | + | === Action 4: Use the Start Another Scenario block to initiate the survey === |
If the conditions of the If block are met, we want this to trigger a survey for the customer. In order to do this, we will add a [[Scenario-builder-reference-guide/StartAnotherScenario|Start Another Scenario]] block after the [[Scenario-builder-reference-guide/If|If]] block, which launches our survey scenario. | If the conditions of the If block are met, we want this to trigger a survey for the customer. In order to do this, we will add a [[Scenario-builder-reference-guide/StartAnotherScenario|Start Another Scenario]] block after the [[Scenario-builder-reference-guide/If|If]] block, which launches our survey scenario. | ||
− | |||
For more information on how to configure a survey scenario, see [[Scenario-builder-reference-guide/HowtoCreateaVoiceScenarioSurvey|How to Create a Voice Scenario Survey]]. | For more information on how to configure a survey scenario, see [[Scenario-builder-reference-guide/HowtoCreateaVoiceScenarioSurvey|How to Create a Voice Scenario Survey]]. | ||
− | |||
[[File:How-To-Random-Survey-3-53.PNG|650px|thumb|center|The survey will be initiated if the Target Disconnected conditional exit condition is met]] | [[File:How-To-Random-Survey-3-53.PNG|650px|thumb|center|The survey will be initiated if the Target Disconnected conditional exit condition is met]] | ||
− | == Suggested Reading == | + | == Suggested Reading == |
In order to better understand the blocks and variables used in this scenario, we recommend reading the following articles: | In order to better understand the blocks and variables used in this scenario, we recommend reading the following articles: | ||
* [[Scenario-builder-reference-guide/Built-inFunctions|Built-In Functions]] | * [[Scenario-builder-reference-guide/Built-inFunctions|Built-In Functions]] | ||
Line 90: | Line 77: | ||
* [[Scenario-builder-reference-guide/HowtoCreateaVoiceScenarioSurvey|How to Create a Voice Scenario Survey]] | * [[Scenario-builder-reference-guide/HowtoCreateaVoiceScenarioSurvey|How to Create a Voice Scenario Survey]] | ||
− | |||
And finally, don't forget to save your work early and often! | And finally, don't forget to save your work early and often! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 04:03, 29 May 2024
How to Create a Voice Scenario That Distributes Surveys to a Percentage of Random Customers
Surveys are useful tools to get feedback from customers about your company, targeted topics, and so forth. After creating a survey, however, you may not want every single customer to have the option to take your survey. The following example voice scenario uses the random(max) function to distribute surveys to a set percentage of your callers at random.
Scenario Example
Click the following link to download an annotated version of this voice scenario example.
File:App How to Distribute Surveys to a Percentage of Random Customers.zip
For instructions on how to import this file into your contact center, see the Contact Center Administrator Guide, section Scenarios Overview > How to Export and Import Scenarios.
For general information about scenarios, refer to section Scenario Builder Overview.
Scenario Flow
What follows is a simple sequence of actions that allows you to send a survey to 30% of random callers if the Connect Call block's Target Disconnected conditional exit is reached (i.e., the call ends normally). The survey is configured in a separate scenario that is triggered when a Start Another Scenario block is reached.
Please note this is an example scenario only and not intended for production use. All conditional exits should be defined with actions for production use.
Scenario Overview
The diagram shown illustrates what the complete scenario looks like when designed in the Scenario Builder application.
Action 1: Begin with a Set Variable block that invokes random(max)
The first block in our scenario is Set Variable; we will use this block to invoke the random(max) function. In order to do this, we define the variable name (i.e., "sendsurvey") and value (i.e., "=random(100)").
There are two important points to note about this:
- The random(max) function works by selecting a random integer between 0 and one less than whatever number you configure as "max". For example, =random(4) will randomly return the values 0, 1, 2, and 3 (i.e., a total of four integers).
- When configuring the "max" value, make sure this number is easy for you to work with; that is, it is half of the formula we will use to define the survey percentage. Our example sets "max" to 100.
As a reminder, in order to use functions, you must include the = symbol (i.e., =random(100)).
Action 2: Create a basic scenario
Next, in order for your voice scenario to work, you will need to include the Find Agent block and Connect Call block. These two blocks are the most important for any scenario where agents interact with customers directly.
For more information on using Find Agent and Connect Call scenario blocks, see How to Create a Basic Scenario.
Action 3: Configure an If block with the desired percentage of survey distribution
After configuring the Find Agent/Connect Call block combination, we will add an If block to the Connect Call block's Target Disconnected conditional exit. Note that this exit is reached when a call ends normally (i.e., the caller hangs up).
In the If block, we will do the following:
- Create a branch
- Add the condition being sure to select the following criteria:
- Scenario variable (number)
- sendsurvey (the variable we created with the Set Variable block)
- is
- Greater than symbol (>)
- The desired number
We want our survey to go to 30% of callers randomly, so remembering our max number is 100, we will make the If block consider numbers greater than 70 only.
Action 4: Use the Start Another Scenario block to initiate the survey
If the conditions of the If block are met, we want this to trigger a survey for the customer. In order to do this, we will add a Start Another Scenario block after the If block, which launches our survey scenario.
For more information on how to configure a survey scenario, see How to Create a Voice Scenario Survey.
Suggested Reading
In order to better understand the blocks and variables used in this scenario, we recommend reading the following articles:
- Built-In Functions
- Set Variable
- If
- How to Create a Basic Scenario
- How to Create a Voice Scenario Survey
And finally, don't forget to save your work early and often!