---
title: "Utility"
description: "Notes, HTTP, scripts, encoding, hashing, pause, locks, ids, math, debug, files, and parallel tasks."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/utility"
---
# Utility

> Notes, HTTP, scripts, encoding, hashing, pause, locks, ids, math, debug, files, and parallel tasks.

**Utility** blocks sit in the builder palette under **Basic → Utility**. They work on **any** workflow channel unless a page says otherwise. Shared graph rules are on [Workflows](https://docs.vettero.com/build/workflows).

When the pipe is an **object** (for example an [API](https://docs.vettero.com/build/workflows/blocks/utility/api) response), a [table](https://docs.vettero.com/data/tables) write matches **column keys** to those property names. Keys are case-sensitive: use `status` and `data`, not `Status` and `Data`. When the pipe is `number` or `text`, bind `pipe.value` as one cell — there are no object keys.

<table>
<thead>
  <tr>
    <th>
      Use
    </th>
    
    <th>
      Block
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Comment on the canvas
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/note">
        Note
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      HTTP request
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/api">
        API
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Parallel nested tasks
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/async">
        Async
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      One run at a time for a key
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/lock">
        Lock
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Sandboxed script
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/execute-js">
        Execute JS
      </a>
      
       / <a href="https://docs.vettero.com/build/workflows/blocks/utility/execute-python">
        Execute Python
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Event to the chat client
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/emit-event">
        Emit Event
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Log a value during a run
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/debug-log">
        Debug Log
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      End the current chat run
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/reset">
        Reset Chat
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Read a text file onto the pipe
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/file-to-text">
        File to Text
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Encode / decode / hash
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/encode">
        Encode
      </a>
      
      , <a href="https://docs.vettero.com/build/workflows/blocks/utility/decode">
        Decode
      </a>
      
      , <a href="https://docs.vettero.com/build/workflows/blocks/utility/hash">
        Hash
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Wait
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/pause">
        Pause
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      New id
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/uuid">
        UUID
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Math expression
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/utility/evaluate-math">
        Evaluate Math
      </a>
    </td>
  </tr>
</tbody>
</table>

<searchable-card-grid :items="[{"title":"Note","description":"Canvas comment only. Forwards the incoming pipe unchanged.","icon":"i-lucide-sticky-note","to":"/build/workflows/blocks/utility/note","keywords":"note comment"},{"title":"API","description":"Call an HTTP URL with method, headers, query, and body.","icon":"i-lucide-globe","to":"/build/workflows/blocks/utility/api","keywords":"api http"},{"title":"Async","description":"Run nested tasks in parallel, then settle with all, any, or all-settled.","icon":"i-lucide-loader","to":"/build/workflows/blocks/utility/async","keywords":"async parallel"},{"title":"Execute JS","description":"Run a sandboxed script. Input is args; the return value is on the pipe.","icon":"i-lucide-file-code","to":"/build/workflows/blocks/utility/execute-js","keywords":"javascript"},{"title":"Execute Python","description":"Run a sandboxed Python script. Input is args; the return value is on the pipe.","icon":"i-lucide-file-code-2","to":"/build/workflows/blocks/utility/execute-python","keywords":"python"},{"title":"Emit Event","description":"Send a named event with JSON data to the chat client.","icon":"i-lucide-send","to":"/build/workflows/blocks/utility/emit-event","keywords":"emit event"},{"title":"Encode","description":"Encode a value as JSON, Base64, Base64 URL, hex, or encrypt.","icon":"i-lucide-lock","to":"/build/workflows/blocks/utility/encode","keywords":"encode"},{"title":"Decode","description":"Decode JSON, Base64, Base64 URL, hex, or decrypt.","icon":"i-lucide-unlock","to":"/build/workflows/blocks/utility/decode","keywords":"decode"},{"title":"Hash","description":"Hash a value with bcrypt, MD5, SHA-1, SHA-256, or SHA-512.","icon":"i-lucide-shield","to":"/build/workflows/blocks/utility/hash","keywords":"hash"},{"title":"Lock","description":"Hold a key around a nested body. Other runs wait or skip while it is held.","icon":"i-lucide-key-round","to":"/build/workflows/blocks/utility/lock","keywords":"lock mutex race"},{"title":"Pause","description":"Wait a number of seconds before continuing. Does not pass a value on the data pipe.","icon":"i-lucide-pause","to":"/build/workflows/blocks/utility/pause","keywords":"pause delay"},{"title":"UUID","description":"Generate a UUID v4, random text, or random number.","icon":"i-lucide-fingerprint","to":"/build/workflows/blocks/utility/uuid","keywords":"uuid"},{"title":"Evaluate Math","description":"Evaluate a math expression and put the number on the pipe.","icon":"i-lucide-calculator","to":"/build/workflows/blocks/utility/evaluate-math","keywords":"math"},{"title":"Debug Log","description":"Log a resolved value to the debug console during a run.","icon":"i-lucide-bug","to":"/build/workflows/blocks/utility/debug-log","keywords":"debug log"},{"title":"Reset Chat","description":"End the current chat run. Chat channel only.","icon":"i-lucide-rotate-cw","to":"/build/workflows/blocks/utility/reset","keywords":"reset chat"},{"title":"File to Text","description":"Read a workspace text file and put the contents on the pipe.","icon":"i-lucide-file-text","to":"/build/workflows/blocks/utility/file-to-text","keywords":"file text extract"}]" empty="No utility blocks match that search." placeholder="Search utility blocks…">



</searchable-card-grid>

<block-page-nav>



</block-page-nav>


## Sitemap

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