Call Flow Editor (CFE) provides support for user defined variables that are created and used on a per-call flow basis. You can create these variables by selecting Call Flow Variables button and later reference them within specific configuration properties of the http module as well as in the condition module. Call Flow variable is represented by its name (Variable Name) and its value (Default Value).
The following example demonstrates how to create a call flow segment that reads back the consumer’s balance and transfers to different agents depending on whether the balance is greater than $100.
Assumptions:
- You have access to CFE from the Configure Tab within the Message section.
- You are familiar with the call flow creation in CFE. This includes understanding of how to use modules and connectors.
- The voice portal has two agent classifications (skills in new versions of LVP)
- High Balance Agents (12345)
- General Agents (67890)
Below is a conceptual visualization of the call flow that we will create.
Configuration Steps:
- Create a call flow variable named “case_balance”.
- Click the Call Flow Variables button
- Click Add
- Type in “case_balance” for the Variable Name
- Click Ok
- Click Save to save the call flow
- Create a live_person module named ”your_case_balance”.
- Set Live Person Prompt Phrase to “your balance is {case_balance (amount)} press 1 To return to the Main Menu or press 2 to speak to a service representative.”
- Note: {case_balance (amount)} reads back the value of the case_balance variable as an amount. To add {case_balance (amount)} to the Live Person Prompt Phrase:
- Double-click the your_case_balance module.
- Double-click the Live Person Prompt Phrase property.
- Click Add Variable.
- Select case_balance from the list of Variables.
- Double-click the TTS Type field and select Amount.
- Click OK to exit the Add Variable window.
- Click OK to exit the your_case_balance_phrases window.
- Click OK to exit the live_person – Property(s) window
- Create a condition module named “check_for_high_balance”.
- Set Condition Expression to “custom_variables.case_balance > 100”
- Create a connector from your_case_balance to check_for_high_balance
- Set Event to “Key Press”
- Set Value to “2”
- Create an operator_transfer module named “transfer_to_high_balance_agent”
- Set (ACD) Classification ID to “High Balance Agents (12345)”
- Create a connector from check_for_high_balance to transfer_to_high_balance_agent
- Set Event to “Success”
- Create an operator_transfer module named “transfer_to_general_agent”
- Set (ACD) Classification ID to “General Agents (67890)”
- Create a connector from check_for_high_balance to transfer_to_high_balance_agent
- Set Event to “Failure”
- Create a live_person module named “no_agents_available”
- Set Live Person Prompt Phrase to “I'm sorry, no operators are available at this time Please call back later”
- Create a connector from transfer_to_high_balance_agent to no_agents_available
- Set Event to “agent_not_available
- Create a connector from transfer_to_general_agent to no_agents_available
- Set Event to “agent_not_available