---
title: "Text"
description: "Pause and collect text, number, email, phone, URL, datetime, or password."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/in/text"
---
# Text

> Pause and collect text, number, email, phone, URL, datetime, or password.

<block-meta block="Yes" channels="Chat" folder="basic/input" group="Input" groupTo="/build/workflows/blocks/in" hitl="Yes" icon="i-lucide-text-cursor-input" pipe="Value" scope="Any" tool="No" type="in.text">



</block-meta>

**Text** (palette name **Text**) asks the person in a **chat** session for a value, then continues. Pick an **Input Type** so the control and checks match (plain text, number, email, and so on).

Use [Calendar](https://docs.vettero.com/build/workflows/blocks/in/datetime) when you want a date picker instead of typed datetime. Shared bind, navigation, and error options are on [Input](https://docs.vettero.com/build/workflows/blocks/in).

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Prompt
      </strong>
    </td>
    
    <td>
      Message shown before the field
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Input Type
      </strong>
    </td>
    
    <td>
      <strong>
        Text
      </strong>
      
      , <strong>
        Number
      </strong>
      
      , <strong>
        Email
      </strong>
      
      , <strong>
        Phone
      </strong>
      
      , <strong>
        URL
      </strong>
      
      , <strong>
        DateTime
      </strong>
      
      , or <strong>
        Password
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Validation
      </strong>
    </td>
    
    <td>
      Depends on type (see below)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Error Handler
      </strong>
      
       / <strong>
        Navigation
      </strong>
      
       / <strong>
        Binding Variable
      </strong>
    </td>
    
    <td>
      Shared input options
    </td>
  </tr>
</tbody>
</table>

Validation by type:

<table>
<thead>
  <tr>
    <th>
      Type
    </th>
    
    <th>
      Extra checks
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Number
      </strong>
    </td>
    
    <td>
      <strong>
        Allow Decimals
      </strong>
      
      , <strong>
        Min
      </strong>
      
      , <strong>
        Max
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Email
      </strong>
      
       / <strong>
        URL
      </strong>
    </td>
    
    <td>
      <strong>
        Allowed Domains
      </strong>
      
      ; URL also has <strong>
        Allowed Schemes
      </strong>
      
       (HTTP, HTTPS, and similar)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Phone
      </strong>
    </td>
    
    <td>
      <strong>
        Allowed Countries
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Password
      </strong>
    </td>
    
    <td>
      Require number / uppercase / lowercase / symbol; <strong>
        Min Length
      </strong>
      
       / <strong>
        Max Length
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        DateTime
      </strong>
    </td>
    
    <td>
      <strong>
        Collect Date
      </strong>
      
      , <strong>
        Collect Time
      </strong>
      
      , optional <strong>
        Custom Format
      </strong>
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after a valid answer (or skip / ignore)
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`). The value is `number` when **Input Type** is **Number**, and `text` for every other type.

If **Binding Variable → Key** is set, the same value is stored under that name.

## Use case

- Collect an email or phone with format checks before sending a message.
- Ask for a quantity as a number with min/max.
- Collect a password-style secret with length and character rules.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
