# Get Content

{% hint style="info" %}
**Block Information**

Available in: Page Flow

Toolbox Category: Page Content

Block Type: [Output](/app-editor/page-flow/block-anatomy.md#output-block)

Output Type: [*text*](/app-editor/page-flow/references/value-types.md)
{% endhint %}

**`Get Content`** is an [output block](/app-editor/page-flow/block-anatomy.md#output-block) that retrieves and outputs the content of any element on the page or form. The output is of type [*text*](/app-editor/page-flow/references/value-types.md) and is compatible with [Value Parameters](/app-editor/page-flow/block-anatomy.md#value-parameters) of type [*text*](/app-editor/page-flow/references/value-types.md) or of type [*any*](/app-editor/page-flow/references/value-types.md).

{% hint style="success" %}
Refer to the [Get Content in Data Design](/app-editor/page-flow/toolbox-blocks/get-content-in-data-design.md) block for dynamically generated content.
{% endhint %}

The block comes in two modes which are discussed below:

## Mode 1 <a href="#mode-1" id="mode-1"></a>

<div align="left"><figure><img src="/files/MxLkIAt0WbqZuhnY4CSH" alt="" width="251"><figcaption><p>Get Content Mode 1</p></figcaption></figure></div>

The Mode 1 version of the Get Content block consists of the *Element* [selectable input](/app-editor/page-flow/block-anatomy.md#selectable-input) to choose the element you want to get the content of.

## Mode 2 <a href="#mode-2" id="mode-2"></a>

<div align="left"><figure><img src="/files/xSiO1tHcdLmQTtYuxzWT" alt="" width="251"><figcaption><p>Get Content Mode 2</p></figcaption></figure></div>

The Mode 2 version of the Get Content block consists of the *Element* [value parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) that accepts either a [*text*](/app-editor/page-flow/references/value-types.md) value in the form of a [CSS Selector](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors) or an [*element*](/app-editor/page-flow/references/value-types.md) value[.](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors) The Element block comes pre-attached for your convenience but can be removed and customized.


---

# 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.zingy.ai/app-editor/page-flow/toolbox-blocks/get-content.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.
