# Slider

#### When should I use it? <a href="#when-should-i-use-it" id="when-should-i-use-it"></a>

* Values are to be selected from a range of finite values
* To make the conversation more interactive

#### How do I set it up? <a href="#how-do-i-set-it-up" id="how-do-i-set-it-up"></a>

You can follow the following steps to set up the Slider action block;

* Add an action block on canvas by clicking on '+'
* Choose 'Slider'
* Double click on 'Slider' block to configure it on the right panel
  * **Ask a question:** Write down the question that you want to ask your visitors
  * **Range:** Enter the range values (Minimum to Maximum) that you want to allow the visitors to choose from
  * **Define Variables:** You can define the variables to save the response received from the visitor
  * **Step Count:** You can enable step count by switching on the switch. Enabling this will move the slider in the increments of step count The value for the step count can be between 2 & 5
  * **Units:** Select a unit for the slider values from the drop down list i.e $, ‎€, ₹, £, °C. By default, we do not have any unit assigned to the slider


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.webchat.portal.sopro.io/action-blocks/slider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
