> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/actions/generic/file-and-folder-operations/verify-content.md).

# Verify Content

This is pre-built Action located under the **@Generic Element,** instructs the Avo Assure to verify that the provided content is present in the file or not and save the result in the given dynamic variable.

### **Syntax**

**Input Value:**

**For Text:** `<file path>;<content to verify>;<abs>(Optional)`

| Argument                                  | Description                                                                                                                     |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| <p>\<file path></p><p>(Required)</p>      | <p>Specify the file path of the file whose content needs to be verified.<br>Supported file format:<br><strong>.txt</strong></p> |
| <p>\<content to verify><br>(Required)</p> | Specify the text to be verified against the file content.                                                                       |
| <p>\<abs></p><p>(Optional)</p>            | If the specified content is to be verified against the entire text file’s content, then the ‘abs’ argument must be specified.   |

**For Excel:** `<file path>;<sheetname>;<content to verify>;<abs>(Optional)`

| Argument                                  | Description                                                                                                                         |
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| <p>\<file path></p><p>(Required)</p>      | <p>Specify the file path of the file to be searched.<br>Supported file format:<br><strong>.xlsx</strong>, <strong>.xls</strong></p> |
| <p>\<sheetname><br>(Required)</p>         | Provide name of the worksheet within the file where the search will be performed.                                                   |
| <p>\<content to verify><br>(Required)</p> | Specific text or value that needs to be verified                                                                                    |
| <p>\<abs></p><p>(Optional)</p>            | If the specified content is to be verified against the entire excel sheet’s content, then the ‘abs’ argument must be specified.     |

**Output Value:**

| Argument                                                    | Description                                              |
| ----------------------------------------------------------- | -------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | This variable stores the status as **true** or **false** |

**Example 1**

**Verify specific content exists in a Text file**\
\
The **Verify Content** action takes the value from the Input Value column (e.g., **C:\sam\data.txt;Hello User)** and checks whether the specified content (Hello User) exists in the given file. The action status is saved in the **{Status}** variable with the following possible values:

* **True** – if the content is found successfully
* **False** – if the content is not found

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

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

**Example 2**

**Verify the presence of specific content in a Excel file**

The **Verify Content** action takes the value from the Input Value column (e.g., **C:\sam\Avo Bank Flow\.xlsx;Sheet1;John white**) and checks whether the specified content (John white) exists in the given file. The action status is saved in the **{Status}** variable with the following possible values:

* **True** – if the content is found successfully
* **False** – if the content is not found

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

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


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/generic/file-and-folder-operations/verify-content.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
