---
title: "UUID"
description: "Generate a UUID v4, random text, or random number."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/utility/uuid"
---
# UUID

> Generate a UUID v4, random text, or random number.

<block-meta block="Yes" channels="Any" folder="basic/utility" group="Utility" groupTo="/build/workflows/blocks/utility" icon="i-lucide-fingerprint" pipe="Value" scope="Any" tool="No" type="utl.uuid">



</block-meta>

**UUID** (canvas label **Generate UUID**) creates a new identifier and writes it to the data pipe.

## Configure

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

<tbody>
  <tr>
    <td>
      <strong>
        Type
      </strong>
    </td>
    
    <td>
      <strong>
        UUID v4
      </strong>
      
      , <strong>
        Random text
      </strong>
      
      , or <strong>
        Random number
      </strong>
      
       (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Length
      </strong>
    </td>
    
    <td>
      Shown for random text and random number (at least 1)
    </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 the value is generated
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`). The value is `text` for **UUID v4** and **Random text**, or `number` for **Random number**.

## Use case

- New correlation or request id before an [API](https://docs.vettero.com/build/workflows/blocks/utility/api) call.
- Short random code with **Random text** or **Random number** and **Length**.

<block-page-nav>



</block-page-nav>


## Sitemap

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