Emit Boolean
The Emit Boolean node outputs a preconfigured true or false value every time it receives any input. The actual input data is ignored -- it only serves as a trigger. This is useful when you need to produce a specific boolean value in response to an event, such as setting a variable to true when a command is used.
Inputs
| Name | Type | Description |
|---|---|---|
Trigger | any | Any incoming value. The data is ignored; receiving input causes the node to emit its configured value. |
Outputs
| Name | Type | Description |
|---|---|---|
Value | boolean | The configured boolean value (true or false) |
Configuration
- Value: The boolean value to emit. Set to either
trueorfalse.
Example
You have a chat command !mute that should mute TTS alerts. Connect the command trigger to an Emit Boolean node configured to output true, then connect that to a Set Variable node that updates a "tts_muted" flow variable. Elsewhere in your flow, a Gate node checks this variable to decide whether TTS should play.