---
title: "Location"
description: "Pause and collect a chosen or current location."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/in/location"
---
# Location

> Pause and collect a chosen or current location.

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



</block-meta>

**Location** (palette name **Location**) asks the person in a **chat** session for a place, then continues. **Any** lets them pick on the map; **Current** uses the device position. Shared bind, navigation, and error options are on [Input](https://docs.vettero.com/build/workflows/blocks/in).

To **show** a pin without waiting, use [Location output](https://docs.vettero.com/build/workflows/blocks/out/location).

## Configure

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

<tbody>
  <tr>
    <td>
      <strong>
        Location Type
      </strong>
    </td>
    
    <td>
      <strong>
        Any
      </strong>
      
       or <strong>
        Current
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Prompt
      </strong>
    </td>
    
    <td>
      Optional message before the picker
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Error Handler
      </strong>
      
       / <strong>
        Navigation
      </strong>
      
       / <strong>
        Binding Variable
      </strong>
    </td>
    
    <td>
      Shared input options
    </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 location (or skip / ignore)
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`).

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        lat
      </code>
    </td>
    
    <td>
      number
    </td>
    
    <td>
      Latitude
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        lng
      </code>
    </td>
    
    <td>
      number
    </td>
    
    <td>
      Longitude
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        address
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Optional address text
    </td>
  </tr>
</tbody>
</table>

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

A [Location](https://docs.vettero.com/data/tables/location) column stores this same object. The column **Key** can be any name; the value itself must use `lat`, `lng`, and optional `address` — not `Lat` / `Lng`.

## Use case

- Collect a delivery or visit address from the map.
- Ask for the person’s current position for nearby results.

<block-page-nav>



</block-page-nav>


## Sitemap

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