Getting Started with Script Blocks
Script blocks allow you to select and customize the pieces of information SAS agents gather from your callers. You can consider them the foundation of your script, as each script section is comprised of its own script blocks. To get an overview of all of the script blocks you can use within your SAS script, check out this article on script blocks and their functions.
In this tutorial we will learn how to:
Creating a New Script Block
1. Within SAS Flex, go to the Builder icon on the left-side menu and select Blocks under Scripts.
2. From the Builder list, choose the block you want to create, and drag it over to the white box at the center of your screen. In our tutorial, we will be using the Phone Number block.
3. Under the Edit tab, use the toggles to decide which pieces of information operators collect from your callers. Default text is built in, but feel free to personalize it.
If you require specific information from the caller, check the Required box. If you'd like the agent to verify the information back to the caller, select the Verify box.
To customize your text, use the tools shown below to change the format or color of your text. Use the bullet tools to create lists, or use the hashtag (#) icon to insert various collectors, or variables, into your script.
4. Under the Field tab, you'll add a Block Label. In our example, we are inputting this block into a section for callers who want to schedule an appointment, so we'll name our block PhoneNumber - Schedule.
5. When you are done, click Save in the upper right corner.
6. If you have additional blocks left to create, repeat steps 2-4 until finished.
Adding New Blocks to a Script
Once you've created your new block, it's time to input it into the appropriate script section. If you haven't yet created script sections, check out this article for instructions.
1. Go to the Builder icon and select Sections.
2. Under your Section bank, select the script section you wish to add your new block to, and drag it out to the center of your screen. In our tutorial, we will be editing the Calling to Schedule section to include our new PhoneNumber - Schedule block.
3. Under the Block bank, scroll down to your Unassigned blocks to grab the new block you've just created.
4. Drag your new block over to your section, and place it accordingly. In our example, we placed our new block underneath our Name block. This means the operator will gather the caller's phone number after gathering their name.
5. When you are done, click Save in the upper right corner.
Editing Script Blocks
1. Within SAS Flex, click on the Builder icon from the left-hand navigation panel and select Blocks.
2. Any script blocks you’ve already created will be listed under the Block Bank dropdown and will be categorized as Unassigned and Assigned blocks. Assigned blocks are currently being used in a Section.
3. Find the block you want to edit, and drag it out to the designated box on your screen.
In our example, we'll be editing the Name - Schedule block.
4. From there, edit the text and formatting, as necessary.
5. When you are done, click Save in the upper right corner.
Removing Script Blocks
If you no longer want operators to gather a specific piece of information from your callers, you can remove the block from your script.
1. Go to the Builder icon from the main navigation panel and select Sections.
2. Under your Section bank, select the script section you wish to edit, and drag it out to the center of your screen. In our tutorial, we will be removing the Email - Schedule block from the Calling to Schedule section.
3. Once the section populates, locate the block(s) you wish to remove. Then, click Remove.
4. When you are finished, click Save.