# Ask List Option

## Overview

This Card provides a list of up to 10 options, making it easier for users to choose and interact with your business in a straightforward and consistent manner.

## When to Use the Node:

Below are some scenarios you can use List Messages for industry wise:

<table><thead><tr><th width="150">Industry</th><th>Scenario - 1</th><th>Scenario - 2</th></tr></thead><tbody><tr><td>Education</td><td><p><strong>Course Information:</strong></p><ul><li>Browse Available Courses</li><li>Check Course Schedules</li><li>Explore Faculty Profiles</li><li>Request Syllabus Details</li></ul></td><td><p><strong>Admissions:</strong></p><ul><li>Admission Requirements</li><li>Undergraduate Programs</li><li>Graduate Program Options</li><li>Application Deadlines</li></ul></td></tr><tr><td>HealthCare</td><td><p><strong>Appointment Services:</strong></p><ul><li>Schedule a Appointment</li><li>Available Time Slots</li><li>Appointment Reminders</li><li>Reschedule Appointments</li></ul></td><td><p><strong>Health Information:</strong></p><ul><li>Health Services Offered</li><li>Medical Facility Locations</li><li>Health and Wellness Resources</li><li>Request Health Insurance Details</li></ul></td></tr><tr><td>Travel</td><td><p><strong>Flight Information:</strong></p><ul><li>Search for Flights</li><li>Check Flight Availability</li><li>Departure and Arrival Times</li><li>Explore Airline Options</li></ul></td><td><p><strong>Hotel Booking:</strong></p><ul><li>Find Available Hotels</li><li>Check Room Rates</li><li>Explore Amenities</li><li>Book a Room</li></ul></td></tr><tr><td>Real Estate</td><td><p><strong>Property Search:</strong></p><ul><li>Explore Available Properties</li><li>Check Property Details</li><li>View Images and Virtual Tours</li><li>Request a Property Viewing</li></ul></td><td><p><strong>Mortgage Services:</strong></p><ul><li>Learn About Mortgage Options</li><li>Check Interest Rates</li><li>Get Pre-Approval Details</li><li>Apply for a Mortgage</li></ul></td></tr><tr><td>E-Commerce</td><td><p><strong>Product Catalog:</strong></p><ul><li>Product Categories</li><li>View Featured Products</li><li>Product Details and Specifications</li><li>Add Items to the Cart</li></ul></td><td><p><strong>Order Management:</strong></p><ul><li>Track Order Status</li><li>View Order History</li><li>Request Returns or Exchanges</li><li>Explore Delivery Options</li></ul></td></tr></tbody></table>

## How to use it:&#x20;

The Ask List Message Node has 6 fields - Header Type, Question Text, Footer, Button Name, Options Type, Attempt, Validation Error Message, Action on Invalid Response, and Variables.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F6JqdxzHMpItEtiW51EtE%2FFields%20in%20Ask%20List%20Node.gif?alt=media&#x26;token=0bc307db-8a25-46d1-a1df-feecbdc860da" alt=""><figcaption></figcaption></figure>

### Header Type

You can add a text something like "Welcome to our Help Centre" or "Common questions about our products and services".&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fp4JGPsshf8yLzf76qhap%2FAsk_list_option_Header_text.png?alt=media&#x26;token=9046a67d-5a98-4109-98f3-40ca419820c8" alt=""><figcaption></figcaption></figure>

### Question Text

This is the space where you ask your customer the question or write the description like - "This is a *self-service* Frequently Asked Questions database for **Services**. Choose from the list to help yourself." The possibilities are endless.&#x20;

The above text can be made Bold, Italic, or strikethrough using the options provided. The text will add the asterisk(\*) for **Bold**, Underscore(\_) for **Italic text**, and Tilde(\~) for **Strikethrough** as shown in the text below.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F1cCzRIQ1XH2TGgt2KzFi%2FAsk_list_option_Question_text.png?alt=media&#x26;token=0ef6f973-fcd1-426b-809f-1d0b73158529" alt=""><figcaption></figcaption></figure>

### Footer

This is the space for you to add any additional information related to the message like the company's name or the tagline. Here in the example we have taken the made up company's name - **ANC Banking Company**.

You can add the content as per your choice.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fk078KR7FwpY8knK3ZBwv%2FAsk_list_option_Footer.png?alt=media&#x26;token=bfaa185d-0bf4-4c69-90cf-1c13ccd7787b" alt=""><figcaption></figcaption></figure>

### Options Type

For the options, you can add either Static or Dynamic Options.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FeISj8M2qMThWeLtGfr6k%2Fimage.png?alt=media&#x26;token=caf79b01-1934-4f4e-a9dc-f3decdf113fe" alt=""><figcaption></figcaption></figure>

Static Options means the option will be fixed while the Dynamic options are capable of changing. If you have the dynamic values stored somewhere in your database, it can be accessed using API Call.&#x20;

**You can add a maximum of 10 buttons and you can create different sections.**&#x20;

Below is the example of how you can add the Static Options:

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FCNU2UDHErh2J2t6KxV8t%2FAsk%20List%20Static%20Options.gif?alt=media&#x26;token=9856df49-7d1c-4b70-a160-31bcb9db06c5" alt=""><figcaption></figcaption></figure>

For the Dynamic Options in **Ask List Option**, we have three fields - Variable to iterate, Path to ID, and Path to Title.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FOT4gGQonHztqayfn1iu2%2FAsk%20List%20dynamic%20option.png?alt=media&#x26;token=91e62ea4-dc9a-4589-8425-fb904a466604" alt=""><figcaption></figcaption></figure>

* Variable to iterate: You have to add the name of the array here.&#x20;
* Path to ID: Add the path from your internal database in curly brackets.&#x20;
* Path to Title: Add the title in curly brackets like this {{first\_name}}.&#x20;

{% hint style="info" %}
**Please note:**

1. If multiple options are added under same section, it can be sent without a section name.&#x20;
2. If there are more than 1 section, then the section header is made mandatory to create the card. &#x20;
   {% endhint %}

### **Validation Settings**

#### **Attempt:**&#x20;

In this field, you have to add the number of times you would like to ask the same question to your customers when you get some other response.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FL85YDQWRzyNUZwkXeZc1%2FAsk_list_option_attempt.png?alt=media&#x26;token=38c8ed28-45f2-4344-b18c-52c6e7dcee74" alt=""><figcaption></figcaption></figure>

#### **Validation Error Message**

This message is for the customer's when they respond randomly to the question you have asked. \
For Example: If the customer doesn't respond with the options, then you could send a message - Please choose from the above options or Choose from the options listed.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FiYmeRmQlexgTnyvgu67x%2FAsk_list_option_Validation_error_message.png?alt=media&#x26;token=6bec5fec-1477-4d0f-b954-056423bf1b2f" alt=""><figcaption></figcaption></figure>

#### **Action on Invalid Response**

This is for the Action you want to take when a customer gives an invalid response. You can either [End the Flow or Skip the question or Proceed to Fallback](https://docs.gallabox.com/~/changes/A8xmww5XU9i8x7QbfPLe/gallabox-bot-faqs#define-the-options-for-action-on-invalid-response) to continue with the flow.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FQVOdafEEKTD32QxwmLiE%2FAction_on_invalid_response.png?alt=media&#x26;token=c91583ea-e299-4077-8fcc-3e67119de43c" alt=""><figcaption></figcaption></figure>

#### **Store response in the variable**

You can create or use the previously created variables to store the responses shared by your customers. \
\&#xNAN;*If you are creating variables for the first time, all you have to do is type the Variables name in the box; it will ask to create the variable once you click on Create "Variable Name" as shown in the screenshot below.*&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FxHJHkpDdp3jCgo8VIRzV%2FAsk_list_option_store_response_in_the_variable.png?alt=media&#x26;token=6d89f825-baaf-434b-bdfa-cd54fa3ec53e" alt=""><figcaption></figcaption></figure>

Once you have set all the fields required and click on **SAVE**, the card will look like as shown in the screenshot below.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FQf9EIxYFidOBDixLnUcI%2FAsk_list_option_gb_bot_builder.png?alt=media&#x26;token=161ed105-1de7-4057-8a13-8bc379dbbed2" alt=""><figcaption></figcaption></figure>

Below is the **sample flow** for your reference. You can create a thorough self-service FAQ bot.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FUZdtwIpGC8HxmciTkUds%2Fimage.png?alt=media&#x26;token=2be532d0-0544-407a-b6af-362d453f3b93" alt=""><figcaption></figcaption></figure>

This is how **Ask List Option** Node works on WhatsApp for a Education Industry bot.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F75wosYnYYoIIZFJvZZ7y%2FAsk%20List%20Option%20on%20WhatsApp.gif?alt=media&#x26;token=ac7bf8ae-b9c0-497f-a840-0213e7035460" alt=""><figcaption></figcaption></figure>
