> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vatel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Extract

> Pull typed fields from the transcript with the Extract node

The **Extract** node reads the transcript and stores named fields as variables. It works in the background and does not speak to the caller. It is available on **Start**, **End**, and any custom flow. On the Main Flow it is greyed out.

This is separate from **Extract Information** on the main flow, which asks the caller a question and waits for an answer. For that distinction and a typical end-flow setup, see [Extracting Data](https://docs.vatel.ai/configure/capabilities/extracting-data.md).

![Extract settings with Title, Description, and Add Variable](https://mintcdn.com/devpro-38b0cd42/hdbCFLBnzC5gA6Ir/images/configure/extract-settings.jpg?fit=max\&auto=format\&n=hdbCFLBnzC5gA6Ir\&q=85\&s=c01c298942cb6e19710a0cb9cc2edda3)

Extract settings on a flow. The description is filled in, and no variables have been added yet.

## Fields

| Field | What you set |
| - | - |
| Title | A label for this step so you can identify it on the graph. |
| Description | A note about what this extraction does overall. This is for your reference and does not affect behavior. |
| Variables | The individual pieces of data you want to extract. See "Adding variables" below. |

### Adding variables

Click **Add Variable** to create a new extraction card. Each card has three fields:

* **Variable Name** is the name under which the extracted value will be stored. Later steps can read it with `{{name}}`. For example, if you name a variable `caller_email`, you can reference it as `{{caller_email}}` in a webhook body or email template.

* **Description** tells the AI model what to look for in the transcript. Write this in plain language as if you were instructing a person. For example: "The caller's email address" or "The street address where the issue is located, including city and zip code." The more specific your description, the more accurate the extraction will be.

* **Type** controls the data format of the extracted value. The dropdown offers three options:
  * **string** stores the value as text. Use this for names, addresses, descriptions, and anything that is not purely a number or a yes/no answer.
  * **number** stores the value as a numeric value. Use this for quantities, dollar amounts, unit numbers, or any field where you need a number for calculations or comparisons.
  * **boolean** stores the value as `true` or `false`. Use this for yes/no questions, such as "Did the caller agree to the terms?" or "Is this an emergency?"

### Handling missing information

If the transcript never mentions a particular field, the model still needs to store something. You can control this by adding fallback instructions to the variable's description. For example: "The caller's email address. If no email was mentioned during the call, store `na`."

If you do not include fallback instructions, the model will fill in its best guess based on context, which may not be what you want. For fields that might not come up in every call, it is a good practice to specify a clear fallback.

### Overwriting behavior

Extracting a value overwrites anything already stored under that variable name. This includes values previously set by an Extract Information node on the main flow or a Set Variables node on another flow. If you need to preserve an earlier value, use a different variable name for the extraction.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.