# Element Exists Block

Check the document to see if an element exists.

If there is an element, the workflow will run the block that connects with the first output. Otherwise, it will run the `fallback` output.

* **Element selector**
* **Try for**\
  Set how often to check the element according to the selector.
* **Timeout**\
  By default, the delay is 500ms.
* **Fallback**\
  A fallback when the element is not present.
* **Throw an error if doesn't exist**\
  Initiate an error rather than perform the fallback.


---

# 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.goless.com/blocks/control-flow/element-exists-block.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.
