> This page is for Glide Classic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.glideapps.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://www.glideapps.com/docs/_mcp/server.

# Generate Text

> Generate text from data in your app.

With the **Generate Text** feature, generate text from existing text, a given context, a data input, or a set of parameters. This can be useful for creating automated responses, content generation, or even simulating human-like conversation within an app.

## Adding the Generate Text Feature

#### Data Editor

#### Generate Text Data Editor Arcade

Open the table where you want to use the **Generate Text** feature.

Add a new basic text column for the **Input**. The input can be any column that contains text, so if you've used another action or computed column to create a text result, you can also use that text result as the Input source.

* New columns added with the plus button will always appear on the right. If you'd like to add a column somewhere else in your data, you can select the dropdown menu on an existing column and choose **Add column right.** You can also click and drag columns to rearrange them.

Add a **Generate Text** column to store the result. Search for "Generate Text' or navigate to **AI → Generate Text**.

For the **Instructions**, add instructions to create more specificity for your prompt.

For the **Input**, use the **Input** column created previously.

**Note:** If the action will be triggered in the Workflow Editor, then add a basic text **Result** column where the result will be stored.

Click on **Done**.

#### Layout Editor

#### Generate Text Layout Editor Arcade

If you have not yet set up the columns you'll need in the Data Editor, start there.

Add a component that supports actions such as [Button](/docs/essentials/components/button), [Hint](/docs/essentials/components/hint), or [Rich Text](/docs/essentials/components/rich-text). Bind this component with the column where the output is stored.

In the configuration panel on the right, in the **Actions** menu, select the **Generate Text** action.

Name the action and choose an icon.

For **Instructions,** enter custom text to create more specificity for your prompt.

For **Input**, choose the column where the input is stored, or enter custom text.

For **Results,** select the column where the results should be stored.

To display the text that results from the action, add a [Text Component](/docs/essentials/components/text) and use your results column as the source. This will instantly show the generated text to your users.

To enable users to adjust the instructions, add a [Text Entry Component](/docs/essentials/components/entry) pointing to an **Instructions** column with the adjustments you want made.

To enable users to adjust the input, add a [Text Entry Component](/docs/essentials/components/entry) pointing to the **Input** column to be able to change the input.

#### Workflow Editor

#### Generate Text Action Editor Arcade

If you have not yet set up the columns you'll need in the Data Editor, start there.

Select the (**+**) plus symbol or the **+ New Workflow** button.

For data source, select the data source of the screen where the action is triggered.

Add **Generate Text** as the first step of the workflow.

For the **Instructions**, add instructions to create more specificity for your prompt.

For the **Input** and **Result** fields, use the **Input** and **Result** columns created previously.

Optionally, add a [Show Notification](/docs/automation/actions/show-notification) action at the end of the workflow to notify the user.

## Frequently Asked Questions

#### Is Generate Text available on all plans?

The **Generate Text** feature requires a paid plan. [Browse our plans to find the right fit for you.](https://www.glideapps.com/pricing)

#### How does Generate Text consume updates?

The **Generate Text** feature uses 1 update per 4,096 tokens when using the Default model. If you enable the High Power model, then the feature uses 1 update per 512 tokens. Note that large amounts of input text will increase the amount of updates used. When the input or prompt changes, the feature will rerun on every row in the column and generate updates per row. Glide recommends testing input and prompt changes on a small sample of test data before making broader changes to your data that may incur updates.