# Text Contains

**Introduction**

The "Text Contains" step checks whether a text variable contains a specified substring and returns `Yes` if the condition is met. This step is useful for validating the presence of specific text within a variable.

**Configuration**

* **Variable**: The text variable to be checked.
* **Value**: The substring to look for within the variable.

**Outputs**

* **Result**: A boolean value (`Yes` or `No`) indicating whether the variable contains the specified substring.


---

# 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.flexy.bot/modules/scripting/steps/conditions/text-contains.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.
