# Verify Column Header

This is a pre-built action in Avo Assure. This action verifies whether a specific column is **Present** or **Not** **Present** in the grid, and save the result in the dynamic variable.

### Syntax

**Input Value:** `<Column Header Value>`&#x20;

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td><p>Column Header Value</p><p>(Required)</p></td><td>Required column name of the grid</td><td></td></tr><tr><td><p><em>Not</em></p><p><em>(Optional)</em></p></td><td><em>Not is used when working with negative scenario and it is not case sensitive</em></td><td></td></tr></tbody></table>

**Output Value:**

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>&#x3C;Dynamic Variable>(Optional);&#x3C;Dynamic Variable>(Optional)</td><td>This variable holds the results in <strong>True</strong> and <strong>False</strong></td><td></td></tr></tbody></table>

### **Example 1**

**Checks if a column header exists or not in the Grid**\
\
The **Verify Column Header** action takes the value from the Input Value column (e.g., **Date;Not**) and checks whether the specified column header **(Date)** exists in the Grid. If "**Not**" is provided, it checks for the absence of the column. The result is stored in the **{Header}** variable, while the execution status is stored in the **{Status}** variable, with the following possible values:

* **True** – if the header is found&#x20;
* **False** – if the header is not found&#x20;

<figure><img src="/files/jIlEHeHlRKgMJ4CgXWAi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/RRKlfsXIn0RxoVQWjzVE" alt=""><figcaption></figcaption></figure>

### **Example 2**

**Verify Column Header (Year)**\
\
The **Verify Column Header** action takes the value from the Input Value column (**Year**) and verifies whether the specified column header exists in the Grid. The result of the verification is stored in the **{Header}** variable, while the execution status is stored in the **{Status}** variable, with the following possible values:

* **True** – if the column header is found.
* **False** – if the column header is not found or an error occurs.

<figure><img src="/files/xYqRg256Eq5opXVgJLo6" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/irWydfl9PfdpdfmXyPei" alt=""><figcaption></figcaption></figure>


---

# 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/grid/verify-column-header-1.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.
