Object Builder
Runs on: Shared — pure logic, runs on the Streamerly backend or inside a chatbox overlay.
The Object Builder node lets you define a named custom object type and populate its fields from other nodes in your flow. You give the object a type name, add as many fields as you need (each with a name and a primitive type of string, number, or boolean), and wire data into each field's input handle. Fields that are not wired in can have an inline default value set directly on the node.
Once assembled, the object flows out as a single value that downstream nodes — such as If Check or other Object Builder nodes — can inspect field by field. The type definition is also registered with the flow editor so that nodes which support object field selection will offer auto-complete for your custom type's fields.
Inputs
| Name | Type | Description |
|---|---|---|
<field name> | string, number, or boolean | One input handle per field defined on the node. The handle ID matches the field name. |
Outputs
| Name | Type | Description |
|---|---|---|
output | object | The assembled object, typed with the name you gave it. |
Configuration
- Type Name: The name for the custom object type, such as
PlayerStatsorBetResult. Must be unique within the flow. Downstream nodes use this name to identify the type. - Fields: Add one or more fields. Each field has a name, a type (string, number, or boolean), and an optional default value used when the input handle is not connected.
Example
Build a BetEntry type with fields username (string) and amount (number). Wire the chat command's user object's name to the username handle and a To Number node's output to the amount handle. Feed the resulting BetEntry object into a For Each loop or store it in a flow variable to track all active bets during a stream.