---
title: "Emit Event"
description: "Send a named event with JSON data to the chat client."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/utility/emit-event"
---
# Emit Event

> Send a named event with JSON data to the chat client.

<block-meta block="Yes" channels="Any" folder="basic/utility" group="Utility" groupTo="/build/workflows/blocks/utility" icon="i-lucide-send" pipe="Unset" scope="Any" tool="No" type="act.event.emit">



</block-meta>

**Emit Event** sends a custom event to the chat client (for example a hosted web widget). The hosting page can listen for **Name** and read **Event data**. This block does not write the data pipe.

## Configure

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

<tbody>
  <tr>
    <td>
      <strong>
        Name
      </strong>
    </td>
    
    <td>
      Event identifier the client listens for (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Event data
      </strong>
    </td>
    
    <td>
      JSON object. Each leaf can be a literal or a context variable
    </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 event is sent
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block still sees the **incoming** pipe.

## Use case

- Tell an embedded chat UI to open a panel or scroll to a section.
- Pass an order id or status object to the page without showing it as a chat message.

<block-page-nav>



</block-page-nav>


## Sitemap

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