Use Dynamic Multiple Choice Options

Modified on Tue, 12 Mar at 1:11 PM

Dynamic Multiple Choice empowers your bot to engage users with questions and generate options in real time. It achieves this by fetching data from APIs or Google Sheets. This feature proves invaluable for businesses aiming to craft quizzes or pose qualifying questions to potential leads.


To create Dynamic Multiple Choice, you use the Get User Data.



Get User Data


The reply type should be Multiple Choice. All your options must be stored in a single custom field.



Format of data for Dynamic Multiple Choice

Let’s imagine you want to ask the question “What’s your favorite fruit?” and you could offer the option Apple, Banana, Orange, Berry, Melon



1 – Separate options with a comma: Apple, Banana, Orange, Berry, Melon


You can get data from any source like Google Sheets where the options are separated by a comma.




2 – Array of options (From API): ["Apple", "Banana", "Orange", "Berry", "Melon"]


You can use our External Request feature to get data from any API and use response mapping to extract the data you need. In the response below, you use response mapping to save the data to the custom field that is used to store the options.

{
    data: ["Apple", "Banana", "Orange", "Berry", "Melon"]
}


Check what option the user chose.

Use Condition to check what option the user chose.



Also, you can always personalize your messages with the option that the user chose.








Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article