Emit Event
Send a named event with JSON data to the chat client.
Type
act.event.emit Block Utility
Folder
basic/utilityChannels
Any
Pipe
Unset
Scope
Any
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
| Setting | Description |
|---|---|
| Name | Event identifier the client listens for (required) |
| Event data | JSON object. Each leaf can be a literal or a context variable |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after the event is sent |
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.