# Slider

Available on the **WEB** channel only.

Slider is used to collect a numerical value from the user in a visual way.

Below is how the slider looks like in the web channel:

<figure><img src="https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252FdB3n38m8TzWBHF3a00Pc%252FCleanShot%25202024-06-08%2520at%252013.43.09.png%3Falt%3Dmedia%26token%3Dfd773b2b-9aca-4a38-a60d-57e46bf86416&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6c963fe8a5a17b400fbb766035571315e8a4b50f1c57020993171be7f1223c25" alt=""><figcaption></figcaption></figure>

Setting up 'Slider' action block

A slider action block is made up of:

### Question <a href="#question" id="question"></a>

A question to give context to the user on choosing the value from the slider.

### Range <a href="#range" id="range"></a>

Enter the range values (Minimum to Maximum) that you want to allow the visitors to choose from.

### **Variable** <a href="#variable" id="variable"></a>

Stores the selected value into this variable for future referencing.

[Learn more](https://help.wotnot.io/bot-builder/variables).

### **Enabling step account** <a href="#enabling-step-account" id="enabling-step-account"></a>

By default, the slider will have a free-flowing slider.

Enabling this config allows you to create steps in the slider. Once enabled, you can choose the number of step counts to be displayed.

The value for the step count can be between 2 & 5

### **Unit for slider values** <a href="#unit-for-slider-values" id="unit-for-slider-values"></a>

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

\ <br>


---

# 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.wotsabot.ai/wotsabot-help-articles/bot-builder/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.
