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

# Question

> Sends a question to the user, waits for their response, and saves it in a variable

With the **Question** node you send a message to the user and **wait for their response** before continuing with the flow. The response is automatically saved in a memory variable that you define.

<Note>
  Unlike the Text node, the Question node **pauses the flow** until the user responds.
</Note>

## Configuration

### General tab

* **Text**: Write the message or question you want to send to the user. You can include variables and emojis.

```
Hello {{$user.names}}, what is your email address?
```

### Advanced tab

* **Save response as**: Define the name of the variable where you save the user's response (for example: `userEmail`).
* **Use memory**: If you enable this option, the node checks whether the variable already has a saved value. If it does, it does not ask again and continues automatically.

The response becomes available at `{{$memory.userEmail}}` and you can use it in any subsequent node in the flow.

## Input types

The Question node supports different capture types depending on what you need from the user:

| Type                  | What it captures                                                   |
| :-------------------- | :----------------------------------------------------------------- |
| **Text**              | Any text message from the user                                     |
| **Location**          | GPS coordinates (latitude and longitude) via share location button |
| **Identity document** | Image of an identification document                                |
| **Video selfie**      | Video recorded with the device's camera                            |

### Location format

When you capture a location, the response is saved as a JSON object:

```json theme={null}
{
  "latitude": -0.1806532,
  "longitude": -78.4678382
}
```

## Limits by channel

| Channel       | Maximum characters |
| :------------ | :----------------- |
| WhatsApp      | 4,096              |
| Facebook      | 2,000              |
| Instagram     | 1,000              |
| Web / Twitter | 4,096              |

## Example

If you configure:

* **Text**: `What is your name?`
* **Save response as**: `userName`

The user's response will be saved in `{{$memory.userName}}` and you can use it in any subsequent node in the flow.
