# Handling Input and Output Variables

When creating a Custom Action, it is important to understand how to define input variables, pass values to output variables within the code.

The Input Variables defined in the code are associated with the Input Value of Avo Assure which contains the test data for automation.

The Output Variable defined in the code are associate with the Output Value of Avo Assure which stores the value retrieve during the test automation.

### This document includes:

1. [Defining Input Variables.](/avo-assure/actions/custom-action/handling-input-and-output-variables/1.-defining-input-variables.md)
2. [Passing Value to the Output Variable.](/avo-assure/actions/custom-action/handling-input-and-output-variables/2.-passing-value-to-the-output-variable.md)


---

# 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://docs.avoautomation.com/avo-assure/actions/custom-action/handling-input-and-output-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.
