“This step-by-step training module guides new Authors in creating a dynamic call flow script. Log in to your Yonyx account in another browser tab and follow along with this article as you build a decision tree-based call flow script. You’ll discover the various features of the Yonyx platform!” You may also choose to schedule time for a hands on authoring workshop.
Step 1 – Create the Root Node of your Call Flow Script
- From the Gear drop-down, choose “My Guides”
- Click on “Create Guide”
- Choose from a template call flow script, “Outbound Call Script – Internal Use”
- Click Next, then “Save & Edit”
- The left-hand side of the screen is called “Map View” and the right-hand side is called “Interactive View”. You are now editing the root guidance step of the decision tree based call flow script.
You just created the Root Guidance Family of your call flow script. Each Guidance Step has three main sections:
– Title – brief one-line summary
– Body – contains script text, images, videos, tables, hyperlinks, and embedded forms.
– Follow-on question – A question (or statement) that may lead to branching.
Step 2/27 – Edit script and add form to the Root Guidance Step
Add User Response and next Guidance Step
- Click the blue Edit button to edit the root guidance step.
- Type “Intro Script” in the Title section.
- Type, “Hi ____________, This is __________ from ABC Mortgages. I’m calling to schedule a consultation with one of our loan officers to help save you money on your mortgage. When would be a good time for this call?” This is the script we want an Agent to read to the customer.
- Add two new lines and type, “Be enthusiastic and friendly!” This is the guidance you are providing the Agent.
- Scroll down and choose the command “tmp-capture-customer-info” Yonyx Commands are forms that can be embedded in any Guidance Step across any decision tree. The command you inserted here is one of the template commands provided for you to start with.
- Click the Save button.
- Notice a form is included in this guidance step. You can use this form to set customer name and phone number. We will learn in later steps how you can configure your own forms, also called Yonyx Commands and how their values can be pre-populated by reading corresponding fields from CRM systems.
Step 3 – Edit “Intro Script” Guidance Step
We now want to make two more changes to this guidance step:
1. Distinguish the text that the Agent should literally read, vs the text that is guidance provided to the Agent.
2. Replace the blank lines with the Customer name and Agent names respectively.
Step 4 – Edit User Responses of the Template Call Flow Script
Edit User Responses for possible branches
- Click on the “Speaking” and then click Edit.
- Type “Not Interested”
- Click the Save button, or press the Enter key on your keyboard to save.
- Click on the “Not Available” and then click Edit.
- Type “I already have good rates”
- Click the Save button, or press the Enter key on your Keyboard to save.
- Click on the “What is this call about?” and then click Edit.
- Type “Schedule Call”
- Click the Save button, or press the Enter key on your Keyboard to save.
- Click on the “Transferring Call” and then click Delete.
- Click Yes to confirm, or press the Enter key on your Keyboard.
Each Yonyx decision tree is made up of Guidance Steps and User Responses. Each User Response should have a Guidance Step following it. A Guidance Step may have User Responses following it, or may be a Leaf Guidance Step.
Step 5 – Add a Guidance Step for “Rebuttal #1”
Add “Rebuttal #1” Guidance Step following “Not Interested”
- Click on the “Not Interested” User Response in Map View.
- Click on the “Add Guidance Step” button.
- Type “Rebuttal #1” in the Title section.
- Type “_____________ It will just take a few minutes of your time and could save you thousands on your mortgage. Could you please give us a chance to earn your business?” in the Body section.
- Apply the “Call Script” Text Style to this paragraph.
- Select _______________ and replace it with the placeholder “tmp-first-name”
- Type “Next Step” in the follow on question.
- Click the Save button, or press the “Enter” key on your Keyboard (with the cursor in the Follow-on question section) to save.
Step 6 – Copy/Paste User Responses to expand Call Flow Script
Copy/Paste User Responses
- Click on the “Not Interested” User Response in Map View.
- Click on the “Copy” button.
- Click on the “Schedule Call” User Response in Map View.
- Click on the “Copy” button.
- Click on the “Rebuttal #1” Guidance Step.
- Click on the “Paste User Response” button.
You can paste multiple User Responses into a Guidance Step, or copy and paste a Guidance Step into any Orphan User Response. Additionally, you can copy nodes from one decision tree and paste them into another decision tree in a different tab of the same browser.
Step 7 – Connect & Disconnect Decision Tree Nodes to edit Call Flow
Connect/Disconnect User Responses
- Click on “I already have good rates.”
- Click on “Connect”
- Click on “Rebuttal # 1”.
- Click on “Connect Here”.
- When multiple User Responses lead to a Guidance Step, Author can also disconnect a User Response.
- Click on “Not Interested”
- Click on “Disconnect”
- Confirm by pressing the “Enter” key, or by clicking on “Yes”
- Notice the decision tree following “Not Interested” now re-draws itself following “I already have very good rates”
- Now reconnect “Not Interested” back to “Rebuttal # 1”
Step 8 – Add “Rebuttal #2” Guidance Step
Add “Rebuttal #2” Guidance Step following “Not Interested”
- Click on the “Not Interested” User Response in Map View.
- Click on the “Add Guidance Step” button.
- Type “Rebuttal #2” in the Title section.
- Type “____________, I don’t want to bother you if you’re not interested. Let me ask you a quick question and please give me an honest answer:
If a 15-minute conversation with my loan officer could save you a few hundred dollars every month, can you imagine how you would use this savings month after month? Or would you still look back six months later and say I wish I had not wasted those 15 minutes?” in the Body section. - Select _______________ and replace it with the placeholder “tmp-first-name”
- Apply the “Call Script” Text Style to this paragraph.
- Note, you may not be able to add a new line at the end fo this formatted paragraph. To do so, click on “Tools” and choose “Release Cursor”. Now add a new line.
- Type “Be confident in your voice. Your time is valuable.”
- Apply the “Internal Guidance” Text Style to this paragraph.
- Type “Next Step” in the follow on question.
- Click the Save button, or press the “Enter” key on your Keyboard (with the cursor in the Follow-on question section) to save.
Step 9 – Keyboard Shortcuts
Becoming a Power User
- Click on the “Help” button to see all keyboard shortcuts.
- Keyboard Shortcuts are designed to allow you to keep your left hand on the keyboard while using the mouse with your right hand.
Step 10 – Copy/Paste User Responses using Keyboard Shortcuts
- Click on the “Not Interested” User Response in Map View.
- Press “c” to copy.
- Click on the “Schedule Call” User Response in Map View.
- Press “c” to copy.
- Click on the “Rebuttal #1” Guidance Step.
- Press “v” to paste.
You can copy and paste multiple User Responses into a Guidance Step, as well as copy and paste a single Guidance Step into any Orphan User Response. Additionally, nodes from one decision tree can be copied and pasted into another decision tree in a separate tab within the same browser.
Step 11 – Add “Follow up in Future” Guidance Step
Add “Follow up in Future” Guidance Step following “Not Interested”
- Click on the “Not Interested” User Response in Map View.
- Press “a” to add a Guidance Step.
- Type “Follow up in Future” in the Title section.
- Type “_____________ I really appreciate your time. Let me know if I should follow up in a few months?” in the Body section.
- Apply the “Call Script” Text Style to this paragraph.
- Select _______________ and replace it with the placeholder “tmp-first-name”
- Type “Next Step” in the follow on question.
- Click the Save button, or press the “Enter” key on your Keyboard (with the cursor in the Follow-on question section) to save.
Step 12 – Add “Lead Summary” Guidance Step
Add User Response and next Guidance Step
- Click the “Follow up in Future” step.
- Press “a” to add a User Response.
- Type “Continue”
- Click the Save button, or press the Enter key on your keyboard to save.
- Select “Continue”
- Press “a” to add a Guidance Step.
- Type “Lead Summary” in the Title section.
- Click the Save button, or press the “Enter” key on your Keyboard (with the cursor in the Follow-on question section) to save.
We will revisit this Guidance Step later in this training exercise.
Step 13 – Placeholders, Commands and Logic Conditions
We now want to capture some data for customers who want to schedule time with the loan officer. This is cool stuff … continue following along!
Placeholders are objects that store values (a Placeholder corresponds to a CRM field when used with Yonyx Data Connector)
Commands are configurable forms that can be embedded in multiple guidance steps across multiple Yonyx Guides.
Logic Conditions are also called auto-traverse conditions. These conditions are specified in User Response nodes to help automatically skip along a path in User View, based on Placeholder values.
Create some placeholders.
- Click the gear drop-down and choose “User Defined Objects”. Use Control-Click to open this in a new browser tab.
- Click on the “Create Placeholder” button.
- Type “Current Interest Rate”.
- Notice the platform creates an internal name with capital letters replaced by small letters and space characters replaced by hyphens.
- Click on the Save button.
- Now once again, click on the “Create Placeholder” button.
- Type “Employment Status”.
- Click on the Save button, or press the “Enter” key to save.
- Now once again, click on the “Create Placeholder” button.
- Type “Sources of Income”.
- Click on the Save button, or press the “Enter” key to save.
Step 14 – Create Embeddable Form to Include in Call Flow Steps.
Create a Yonyx Command (Embeddable Form).
- Click the Commands tab under User Defined Objects.
- Click on the “Create Command” button.
- Type “Current Interest Rate” in the name field.
- Type “This form will let the Agent capture the customer’s current interest rate in a text box” in the Description section.
- Click on the “Data Capture” tab.
- Click on the “Add Field” drop-down and choose the Textbox option.
- Associate the current-interest-rate placeholder with this field. This means the interest rate entered in the text box will be stored in the current-interest-rate placeholder.
- Type “What is the interest rate for your current mortgage?” in the Label text field.
- Type “6%” in the Help text field.
- Type “Not Provided” in the Default Value field. This is the value stored in the current-interest-rate placeholder if the Agent doesn’t enter any value.
- Click Save.
Once a Yonyx Command (embeddable form) has been created, it can be used across multiple Guidance Steps in multiple decision trees.
Step 15 – Create another Yonyx Command (Embeddable Form)
- Click the Commands tab under User Defined Objects.
- Click on the “Create Command” button.
- Type “Employment & Income Sources” in the name field.
- Type “This form will let the Agent capture the customer’s employment status and sources of income” in the Description section.
- Click on the “Data Capture” tab.
- Click on the “Add Field” drop-down and choose the Radio Button list option.
- Associate the employment-status placeholder with this field. This means the option chosen by the Agent will be stored in the employment-status placeholder.
- Type “Employment Status” in the Label field.
- Type “Employed” in the first list item.
- Type “Un-employed” in the second list item.
- Check the “Required” checkbox to make this a mandatory field for the Agent.
- Now, click on the “Add Field” drop-down again and choose the Checkbox List option.
- Associate the sources-of-income placeholder with this field. This means the items checked by the Agent will be stored in the sources-of-income placeholder.
- Type “Check all that apply” in the Label field.
- Add “Salary” as the first checklist item.
- Add “Bank Deposits” as the next checklist item.
- Add “401K” as the next checklist item.
- Add “Alimony” as the next checklist item.
- Note, you can drag the checklist items and change the order in which they appear.
- The left-hand column of each checklist item indicates the phrase that appears on the checkbox list. The right-hand column indicates the value that is stored in the placeholder sources-of-income.
- Click Save.
Once a Command (embeddable form) has been created, it can be used across multiple Guidance Steps across multiple decision trees.
Step 16 – Add “Current Interest Rate” Guidance Step
Add “Current Interest Rate” Guidance Step following “Schedule Call”
- Click on the “Schedule Call” User Response in Map View.
- Press “a” to add a Guidance Step.
- Type “Current Interest Rate” in the Title section.
- Type “Thank you, _______________ I will need some basic information so that the loan officer can provide you with the most accurate quote for you!” in the Body section.
- Apply the “Call Script” Text Style to this paragraph.
- Select _______________ and replace it with the placeholder “tmp-first-name”
- Type “Next Step” in the Follow-on question section.
- Scroll down and click on the “Command” button.
- Now choose current-interest-rate and click “Insert”
- Click “Save”.
- Note that a form defined in the earlier step was embedded in this Guidance Step.
Step 17 – Add “Skip Step” and User Responses
Add “Skip Step” Guidance Step following “Current Interest Rates”
- Click on the “Current Interest Rates” Guidance Step in Map View.
- Press “a” to add a User Response.
- Type “Continue” in the Title section.
- Click on “Continue”
- Press “a” to add a Guidance Step.
- Type “Skip Step” in the Title section.
- Type “Which direction?” in the Follow-on question section.
- Click “Save”.
- Press “a” to add a User Response.
- Type “Less than 5%” in the Title section.
- Press “Enter” to save.
- Press “a” to add a User Response.
- Type “5% or more” in the Title section.
- Press “Enter” to save.
In the next step, we will now add logic conditions, so that when the user clicks on “Continue”, the decision tree should automatically skip in one of these two directions based on the value of the interest rate captured in current-interest-rate placeholder.
Step 18 – Add “Logic Conditions” to User Responses
Add “Placeholder Auto-traverse” conditions to the User Responses
- Click on the “Less than 5%” User Response in Map View.
- Press “e” to edit User Response.
- Now add a Placeholder Auto Traversal condition, “current-interest-rate Is Less Than 5.
- Click Save.
- Click on the “5% or more” User Response in Map View.
- Now choose Auto traverse if Any All of the following is true.
- Now add a Placeholder Auto Traversal condition, “current-interest-rate Is Equal To 5.
- Now add a Placeholder Auto Traversal condition, “current-interest-rate Is Greater Than 5.
- Click “Save”.
Step 19 – Add “Not a Good Fit” Guidance Step
Add “Not a Good Fit” Guidance Step
- Click on the “Less than 5%” User Response in Map View.
- Press “a” to add a Guidance Step.
- Type “Not a Good Fit” in the Title section.
- Type “At __ %, you seem to have very good rates already. I am afraid, we may not be able to beat that. Thank you for your time, and have a nice day!” in the Body section.
- Apply the “Call Script” Text Style to this paragraph.
- Select __ and replace it with the placeholder “current-interest-rate“
- Click “Save”.
Step 20 – Add “Good Fit” Guidance Step
Add “Good Fit” Guidance Step
- Click on the “5% or more” User Response in Map View.
- Press “a” to add a Guidance Step.
- Type “Good Fit” in the Title section.
- Type “_______ I just have a couple more questions and then we can schedule time with the loan officer.” in the Body section.
- Apply the “Call Script” Text Style to this paragraph.
- Select _______ and replace it with the placeholder “tmp-first-name“
- Type “Next Step” in the Follow-on Question section.
- Scroll down and click on the “Command” button.
- Choose “employment-income-sources” and click Insert.
- Click “Save”.
You can see the embedded form in the Interactive View. We are getting ready to see this decision tree in the User View. This is the view used by Agents to go through it. Exciting!
Step 21 – Add “Continue” User Response and “Lead Summary” Guidance Step
Add “Continue” User Response and “Lead Summary” Guidance Step
- Click on the “Good Fit” Guidance Step in Map View.
- Press “a” to add a User Response.
- Type “Continue” in the Body section.
- Push “Enter” on the keyboard to save.
- Click on “Continue” in Map View.
- Press “a” to add a Guidance Step.
- Type “Lead Summary” in the Title section.
- Add a 7×2 table
- Add Title Columns “Lead Info” and “Value”
- Select the top row of the table.
- Apply Foreground and Background colors (as shown) to highlight the Title row. Remember, these color properties (just like Text Styles) are toggle features. So if you apply the same property again, it will get removed.
- Now type “Customer First Name” in the first column of the next row.
- Now type “Customer Last Name” in the first column of the next row, etc.
- Once the first column is complete, click on Tools, and choose Insert Placeholder, one by one, to insert corresponding placeholders in the second column.
We are now ready to check out this decision tree in User View.
Step 22 – Traverse in User View
Traverse in User View
- Click on the “Home” button in Interactive View. The Home button always selects the root node in Map View.
- Now click the “View” button. This opens a new browser tab and shows the decision tree in User View.
- Click along a path to reach a Leaf Guidance Step.
- Note how the decision tree skips along a path based on whether you enter a value less or more than 5 for the current interest rate.
User View is how Agents access such decision trees. We will now display the value of Placeholders captured during the journey in the “Lead Summary” Leaf Guidance Step.
Step 23 – Search in Map View & Connect Orphan User Responses
Search in Map View & Connect Orphan User Responses
- Select “Leaf Guidance Steps” from the Search drop-down.
- Click the “Search” button to find possible endpoints of journeys through the guide.
- The first Leaf Guidance Step, “Not a Good Fit” is selected. Click the Next or Prev buttons to select all Leaf Guidance Steps one by one.
- Select “Orphan User Responses” from the Search drop-down.
- Click the “Search” button to find all Orphan User Responses one by one.
- There should be no Orphan User Responses when a guide has been completed by the Author.
- Connect “Continue” to “Current Interest Rate” Guidance Step.
- Similarly, choose “Search All Fields” from the Search drop-down. Now enter “Rebuttal” in the Search text field and click the “Search” button.
- You now see all the nodes containing “Rebuttal” text.
- This full-text search is case insensitive and searches across the Title, Body, Follow-on Question, and Author’s Notes sections of all nodes in the guide. You can also choose to confine your search to a particular field type – e.g., “Title” from the Search drop-down to search across only the Title section of all nodes.
Note 1: Yonyx Platform provides very comprehensive ways to search across your decision tree. Authors with complex decision trees containing hundreds or thousands of nodes appreciate being able to search and hop directly to a node.
Note 2: Search takes place across the expanded portion of the decision tree. To expand your decision tree completely, click the “Home” button in Interactive View and click on the “Expand Guide” button in the top right-hand corner in Interactive View. You may also use the keyboard shortcut “x” to expand.
Step 24 – Create a Command (Call Back Period)
Create a placeholder and a Command (Call Back Period).
- Click the gear drop-down and choose “User Defined Objects”.
- Click on the “Create Placeholder” button.
- Type “Call Back Period”. Remember, a placeholder is an object that can store values.
- Click the Commands tab under User Defined Objects.
- Click on the “Create Command” button.
- Type “Call Back Period Form” in the name field.
- Type “This form will let the Agent capture the period of time after which we should call the customer again” in the Description section.
- Click on the “Data Capture” tab.
- Click on the “Add Field” drop-down and choose the Radio Button List option.
- Associate the call-back-period placeholder with this field. This means the option chosen by Agent will be stored in the call-back-period placeholder.
- Type “When should we call back customer?” in the Label text field.
- Type “1 week” in the first list item.
- Type “2 weeks” in the second list item.
- Type “1 month” in the third list item.
- Type “3 months” in the fourth list item.
- Type “6 months” in the fifth list item.
- Type “Never” in the last list item.
- Update the value to be stored n the call-back-period placeholder when a radio button is chosen.
Once a Command (embeddable form) has been created, it can be used across multiple Guidance Steps in multiple call flow scripts.
Step 25 – Insert Command into “Follow up in Future” step
Insert Command into “Follow up in Future” step
- Click on “Follow up in Future” in Map View.
- Press “e” to edit this Guidance Step.
- Scroll down all the way in the right-hand panel.
- Click on the “Command” button.
- Choose “call-back-period-form” and click Insert.
- Click Save.
This command will save the number of days after which to call back the customer in the call-back-period-form placeholder.
Step 26 – Delete blank “Lead Summary” and copy/paste “Lead Summary” with table.
- Click on “Lead Summary” in Map View.
- Press “d” to delete this Guidance Step. Note, the delete option (the red delete button) appears only for leaf nodes.
- Press “Enter” or click “Yes” to confirm the deletion.
- Click on the “Lead Summary” Guidance Step.
- Press “c” to copy.
- Click “Continue” and click “Paste Guidance Step”
- Press “e” to edit Guidance Step.
- Edit the table to remove rows that are not relevant and add a row for a number of days to call back the customer.
Now we are ready to view this decision tree in User View again. This time we go down the path of the customer being not interested!
Step 27 – Traverse in User View Along “Not Interested” Pathway
- Click on the “Home” button in Interactive View. The Home button always selects the root node in Map View.
- Now click the “View” button. This opens a new browser tab and shows the decision tree in User View.
- Click along the “Not Interested” path.
- Note the value saved in the call-back-period-form placeholder.
Thank you for following along with this interactive training. Now you can try to build a decision tree for your own use case. Please choose the way you want to proceed further.