
Compose
Response sets are used to link interaction pages together, save data, and complete other actions in Chorus. This article will explain how to use and manage response sets to navigate your app, save data, and send notifications.
|
BEFORE YOU START To use response sets, you'll need at least one interaction page and a button: |
Using Response Sets to Navigate Between Interactions
In this example, we have already created an interaction called "Main Menu" and added a button (Next):

Click to the right to open the response sets:

Within the "if" section of your response set, select "'button1' is clicked" and then within the "then" section select "Create new interaction" or select another interaction you made before from the "then" drop-down menu.

To create a new page to take users to, just select "Create new interaction" and enter name of the new interaction you'd like users to navigate to (tip: this will be a new interaction page).

To view and edit the interaction you just selected, click "GO"

Repeat this process to add more response conditions to branch to other interactions (for example, add another button to return to the homepage, etc.). Add as many mobile pages as you like!
Saving Data Using Response Sets
|
BEFORE YOU START Before you can save data using response sets, you need to configure a variable, add an input element (such as a text input), and add a button to save the data: |
In this example, we have already created an interaction called "Basic Info" with a text input element and added a button (Save):

Click to the right to open the response sets:

Within the "if" section of your response set, select "'button1' is clicked" and then within the "then" section select "Create new interaction" or select another interaction you made before from the "then" drop-down menu.

From the response sets, hover over the area underneath the response, click "Add another action" and select "Save data":

Choose your variable where you want to save the data on the page to:

The fields associated with your selected variable will appear in the "Data" section of the "Save Data" dialogue box:

Select the variable fields that you want to save to:

Click "Create" to save your data mapping:

Great job! Now you can see when the button is clicked, the page will go to the "Main Menu" interaction and save the data on the page to the "basicinfo" variable:

Sending Notifications Using Response Sets
There are three types of notifications that support response sets:
- SMS
- Interactive Voice
Both SMS and Interactive Voice notifications use their respective interaction types as the message that is sent.
Note: Email notifications leverage the "SMS Interaction" type. For email notifications, the "SMS Interaction" page is used as the subject line for your email (as seen below).
|
BEFORE YOU START Before you can send notifications using response sets, you need to add a mobile interaction page, add an SMS interaction page, and add a button: |
In this example, we have already created a mobile interaction called "Basic Info" with a text input element and added a button (Save). We've also configured an SMS interaction called "Notification" which will be used as the subject line for our email notification:
| Mobile Interaction | SMS Interaction |
![]() |
![]() |
On the mobile interaction page, click to the right to open the response sets:

Within the "if" section of your response set, select "'button1' is clicked" and then within the "then" section select "Create new interaction" or select another interaction you made before from the "then" drop-down menu.

From the response sets, hover over the area underneath the response, click "Add another action" and select "Send Notification":

The Send Notification dialogue box will open:

Under the "How" section, you can choose to send an SMS, an IVR, or an email notification. In this case, we are selecting "email":

You can choose to send your notification to a group, a client, or an author of your application. In this case, we are sending the email to one of the app Authors:

Next, we'll select the SMS interaction that we created earlier to provide the subject line for our email:

Once the interaction has been selected, we can add a message using the "Edit Message" link:

Finally, we'll determine when we want the email notification to go out. In this case, we're going to send as soon as the button is clicked:

Complete the form sections and click Create:

Next Steps:
Now that we can navigate sections of the application, save data, and send notifications, let's see how the app is performing by learning more about viewing and downloading data here.

Comments
0 comments
Please sign in to leave a comment.