
Flexible application parameters can expand bot applications
In addition to BotBonnie’s super powerful “Segmented Tag” function that can be used for group segmentation, there is also a versatile and useful feature that we want to share with you—”Parameters”!
The parameter function can be widely used in such areas as psychological tests, level challenge activities, or double checks on repeated content in the message input by the user. Parameters are like assigning a basket to each user. Each basket can have “text” or “value” placed in it according to our needs. When needed, we can simply call the name of the basket to access the data.


Next, BotBonnie assistant will assume two scenarios to demonstrate the concept and application of parameters.
Scoring scenario: application of Add/Subtract Parameter
If there is an event that requires users to answer questions that are calculated in a final score, you can use this application scenario that Adds/Deletes Parameter values. For example, in the following case, the score is added or subtracted based on the user answering questions correctly or not, and the end result is then run.

【BotBonnie’s tip】Before you start learning how to set up this quiz, you can try this Taiwanese bubble tea exam. After playing, the following instructions will be all the more impressing 👉Start the challenge👈
How many points did you get? Now let’s take a look at how this quiz was designed using BotBonnie’s platform.
First, after completing question design, we need to Set up Actions on the option button for adding to or subtracting from a score → Add/Subtract Parameter, then enter the parameter name and value on your own. When you need to run the test results, you can use the Conditions kit to divert according to the set parameter value. In this example, we Set up Action on the correct answer “Kaohsiung City” button of the first question: Add or subtract the parameter “bubble tea expert” value by “25”; on the wrong answer “Taichung City” button, Set up Action: Add or subtract the parameter “bubble tea expert” value by “0.”
There are four questions on this test, and a correct answer gives you 25 points each, for a full score of 100.


After setting each option in sequence, if you need to call out the score result at the end, you can type {{user_params_parameter name}} in the module text that needs to display the score. The parameter name here refers to the name of the parameter we entered when setting the Action in the previous step. In this example, the name of the parameter is “bubble tea expert,” so in the module content we enter: Your exam results: {{user_params_bubble tea expert}} is now complete.


【BotBonnie’s Note】The {{user_params_}} in {{user_params_parameter name}} is the passphrase to be entered to display the content of user parameters! The parameter name is the name in Step 1 when you Set up Action → Save User Parameter!

Bonnie’s tip: Reset parameter value
When the game is over, if the user plays it again, will the parameter value continue to increase to 100+? Don’t worry! Just set a “Play Again” button that resets the parameter value! After setting the button, set the “Save User Parameter” in Actions. The parameter name is the name of the parameter that needs to be reset (in this example, the parameter name is “bubble tea expert”), and the parameter value is “0.”
When set correctly and the user clicks play again and restarts the game, the user parameter “bubble tea expert” will be automatically reset to 0, so there is no need to worry about impossible scores
【BotBonnie’s Tip】If you don’t want the user to click other Buttons that may affect the results of score calculation, you can use the “Quick Reply“ button instead of the “General Button.” The Quick Reply button disappears after the user clicks it once, which prevents the situation where the user clicks again. 👉Comparison of “Quick Reply” and “General Button“

Double check scenario: application of Storage Parameters
In addition to the “Add/Subtract Parameter” function mentioned in the first point, BotBonnie can also perform a simple “Save User Parameter” function. Examples of usage scenarios: Bonnie Orange Shop recently planned on holding an anniversary celebration event and wanted to collect opinions from users. In order to ensure that the information entered by the users is correct, the user will fill in the information again for confirmation.

As can be seen from the examples above, the last module content displays the message entered by the user for confirmation. Are the bots very careful? Now let the helper demonstrate how to use “parameters” to set up a double check!
First, select “User Input” under “Actions” in the module where you want to overwrite text, select “Save User Parameter” from the drop down menu, and define the parameter name. Here we set the “favorite cookie” parameter entered by the user as favorite_cookie. This means that when the user sees the question “favorite cookie,” no matter what the user answers, the answer will automatically be put into a basket named favorite_cookie. In the same way, the “favorite candy” parameter entered by the user is set as favorite_candy, that is, when the user answers with a favorite candy, the answer is automatically loaded into the basket named favorite_candy.


Next, enter {{user_params_parameter name}} in the module text where you want to repeat the user input and display the message entered by the user. In this example, we input {{user_params_favorite_cookie}} to allow the bot to repeat the user’s previous answer for favorite cookie!
【BotBonnie’s Note】In the previous example, we can see the “parameter name” as the “basket name.” Every time we need to get the basket information, we must tell the system which basket to fetch.

【BotBonnie’s Tip】The {{user_params_}} in {{user_params_parameter name}} is the passphrase to be entered to display the content of user parameters! The parameter name is the name in Step 1 when you Set up Action → Save User Parameter!
This completes the repetition of the message manually entered by the user. Isn’t it easy? In addition, you can refer to the Conditions kit tutorial to see how the parameters fit with the Conditions to create fun games.

Bonnie’s Note: Where can I view user parameters?
To expand upon the double check scenario mentioned above, where should I go to check the “favorite drink” entered by a specific user?
- Go to the Live Chat interface in the menu on the left
- Click the magnifying glass icon 🔍
- Search user name or content
- Select a certain user
- You can see the user’s tags and parameters on the user’s personal status bar on the far right!


In addition to the Live Chat interface, you can also view it on the Audience management interface.
- Go to the Audience management interface menu on the left
- Find the eye icon 👁 on the far right side of the certain user field and click it
- You can view the user’s tags and parameters on the User Status bar!


Just like that, you’ve learned two ways to view user parameters. Isn’t it simple?
