> For the complete documentation index, see [llms.txt](https://help.supporthunt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.supporthunt.com/troubleshooting/setting-up-fallback-variables.md).

# Setting up Fallback Variables

### What are Fallback Variables?&#x20;

Fallback variables are fixed value assigned to Variables for the cases when a required piece of information or value is missing.&#x20;

If you have not defined the fallback value, a variable will be replaced with the blank space in case the variable does not have the value.&#x20;

For instance, lets consider a scenario where the bot pulls up the name of the visitor from the URL parameters & stores it in the variable `first_name`. A default fallback value will be assigned to the variable `first_name`. In this scenario where the name of the visitors is missing from the URL parameter, the bot will automatically pull up the defined fallback variable value assigned to that variable to address the visitor&#x20;

### How do I assign Fallback Value to the Variable?&#x20;

You can follow the following steps to assign fallback value to the variable;&#x20;

* Open the 'bot' of your preference and choose the action block where you have used the variable
* Click on Variable to assign the fallback value&#x20;
* Enter the fallback value&#x20;
* Click on 'Right Sign' to assign the default value to the variable

{% hint style="info" %}
The colour of the variable will change from Grey to Blue if the fallback value is assigned to it
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.supporthunt.com/troubleshooting/setting-up-fallback-variables.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.
