> For the complete documentation index, see [llms.txt](https://yapaytech.gitbook.io/collectaction-app-store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yapaytech.gitbook.io/collectaction-app-store/filter-settings/advanced-settings/variables.md).

# Variables

&#x20;Variables are values written for the construction of actions. For example, PageType is a variable that holds the values of pages on a website; some of these values may return results like product, home, category. We can design actions to run on specific pages based on these page types and use that value to filter according to it.

&#x20;In CollectAction, after clicking on 'Variable' in the left panel, we say create a variable, and then we create a new variable.

![Variable Panel](https://content.gitbook.com/content/jQ8ZQ8GsTwDYJqiYNDyI/blobs/SJTgjLVEGlTrsRUG2eVA/Ekran%20Resmi%202022-03-02%2008.49.09.png)

![random\_show](https://content.gitbook.com/content/jQ8ZQ8GsTwDYJqiYNDyI/blobs/I2OgtoCj2mkVNfCLHCoM/image.png)

![When you want to use the random\_show variable that you have written, using Advanced Parameters allows you to filter based on the result of this variable.](https://content.gitbook.com/content/jQ8ZQ8GsTwDYJqiYNDyI/blobs/fHso9jWfq7QqouLFJVfM/Ekran%20Resmi%202022-03-02%2008.55.13.png)

### How to Add a Variable?

{% embed url="<https://www.youtube.com/watch?v=_O0T1S8cg9Y>" %}
How to Trigger an Action with a Custom Variable?
{% endembed %}
