|« Prev Section||Setting up your Outbound Calls|
There are 2 outbound modules available that you can use within your application: the Retry This Call? module and the Update Call Row module.
Let's create a short application that demonstrates the use of both of these modules.
First, drag out a Retry This Call? module to your workspace and connect it to your Start module. Set the drop-down menu of the module to “Do retry”. Next, drag out a Yes or No module to your workspace and connect it to your Retry This Call? module. Next, drag out another Retry This Call? module to your workspace and connect it to the Yes node of your Yes or No module. Set the drop-down menu of the module to “Don't retry”. From there, drag out a Simple Prompt module to your workspace and enter the following text in the textbox: “This is a reminder to take your medicine today.” For the No node of your Yes or No module, drag out a Simple Prompt module and connect it to the node. In the textbox of the Simple Prompt module, enter the following text: “Oops, you pressed the wrong button.” Finally, drag out a Hang Up or Exit module to your workspace and connect it to both of your Simple Prompt modules.
Overall, the application should look like this:
From here, let's head over to our Outbound Campaign interface to setup an outbound call for this application. Choose whatever settings you wish to make your outbound call. However, in order for your Retry This Call? module to work, you MUST set the retry value for the call to a number greater than 0.
From this example, the Retry This Call? module at the beginning of your application allows for retry logic such that the outbound call is retried in case an answering machine picks up or if the callee does not enter 1 for the prompt at the beginning of the call. Once the callee enters 1 for that prompt, we use a second Retry This Call? module with the setting for “Don't retry” to stop retrying the outbound call since the user had already acknowledged the prompt.
In the next section, we will learn about using the Update Call Row module.
For our example application, let's first create a data table with the following information stored within it.
For the application itself, we're going to drag out a Digits Input module to our workspace and attach it to our Start module (as the name of the module variable, we've set it to rating). In the prompt box of the module, enter the following text: “What's your rating of the service?” Next, drag out an Update Call Row module to your workspace and enable the option for “Reassign names”.
From here, set the fieldname of your Update Call Row module to stuff and set the Value to be the variable rating. To finish off the application, drag out a Hang Up or Exit module to your workspace and connect it to the Update Call Row module.
From this example, the Digits Input module is used to collect an number from the user describing their rating for the service. From there, we move on to the Update Call Row module and set the field stuff in our data table to the value of the variable rating (which contains the number collected in the Digits Input module). So, for this application, once we make an outbound call to the phone numbers of the individuals in our data table, their entered ratings will be saved to the rows of our data table and the stuff column will be filled with their entries.
|Next Section »||Using the Outbound API|