> For the complete documentation index, see [llms.txt](https://docs.agenticflow.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agenticflow.ai/workflows/workflow-inputs/long-text-input.md).

# Long Text Input

A **Long Text Input** is an input control that provides a larger text area, allowing a user to enter multiple lines or paragraphs of text when they run a workflow.

## When to Use

This control is ideal for longer pieces of content, such as:

* An email body
* An article or blog post
* A transcript
* Detailed feedback or instructions

## How to Add

1. From your workflow's **Build** page, click on **+ Add Input**.
2. Select **Long Text Input** from the list of available controls.

## Configuration

* **Title:** The main label for the input field.
* **Description:** Optional helper text to provide more context.
* **Variable Name:** The name used to access this input's value within the workflow.
* **Optional/Required:** A toggle to specify if the user must provide this input.

## Setting a Default Value

You can pre-fill the Long Text Input with a default value:

1. Enter the desired default text into the text area.
2. Click the settings icon (⚙️) at the bottom right of the control.
3. Select **Set Current Value as Default**.

## Accessing the Value

You access the value using its variable name in double curly braces `{{}}`. For example, if the variable name is `customer_feedback`:

* **In most nodes:** Use `{{customer_feedback}}`.
* **In a Code Node (Python):** Access as a variable, e.g., `feedback = "{{customer_feedback}}"`
* **In a JavaScript step:** Access via `params.customer_feedback`.

### Example

If you create a **Long Text Input** with the variable name `article_text`, you could use it in a downstream OpenAI node to summarize the content:

```
Please provide a three-sentence summary of the following article:

{{article_text}}
```
