> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/premium-table/working-with-premium-table/10.-variables/variable-types/text.md).

# Text

You can use the text variables to pass custom text to the visual.

### 1. Configuration <a href="#id-1.-configuration" id="id-1.-configuration"></a>

This section outlines configurations specific to text variables.

**1.1. Value:** Assign a default value for the text variable.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/iceJljDb3JlCevUDnWl7/image.png" alt=""><figcaption><p>Text variable configuration</p></figcaption></figure>

### 2. Examples <a href="#id-2.-examples" id="id-2.-examples"></a>

**2.1. Set custom text in the header/footer**

**STEP 1:** Create a text variable with the configuration shown below.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2F3oAZDZQqQUgsXCXCjf6H%2Fimage.png?alt=media&amp;token=4238041d-232f-4daf-a57b-1503322db80c" alt=""><figcaption><p>Text variable configuration</p></figcaption></figure>

**STEP 2:** Insert the text variable in the header - navigate to the Header\&Footer ribbon > Insert > Variables > select the variable to use.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2Fwwt5nyuGHjodsNMPrNcV%2Fimage.png?alt=media&amp;token=7a85b263-e1ce-4741-a0ee-584d2b972dfd" alt=""><figcaption><p>Inserting a text variable in the header</p></figcaption></figure>

**STEP 3:** Notice how the summary in the header changes as we update the text in the variable.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FhDCxtarHtsG3EOBClS7s%2FUntitled%20Project.gif?alt=media&amp;token=b6211f46-eded-45fc-a513-a29d2ee0408b" alt=""><figcaption><p>Using text variables in headers</p></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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.inforiver.com/premium-table/working-with-premium-table/10.-variables/variable-types/text.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
