Checkbox
The Checkbox control allows a user to provide a simple true/false or on/off input.
A Checkbox is a simple input control that allows a user to provide a boolean (true/false) value. It's a straightforward way to capture a binary "yes/no" or "on/off" decision.
When to Use
Use a Checkbox control for any input that has only two states:
Enabling or disabling a feature (e.g., "Include summary?").
Agreeing to terms and conditions.
Confirming an action (e.g., "Are you sure?").
How to Add
From your workflow's Build page, click on + Add Input.
Select Checkbox from the list of available controls.
Configuration
Title: The main label for the checkbox.
Description: Optional helper text to provide more context about what the checkbox controls.
Variable Name: The name used to access the
trueorfalsevalue.Optional/Required: A toggle to specify if the user must interact with the checkbox.
Setting a Default Value
You can set the default state of the checkbox to be either checked or unchecked:
Click the checkbox in the control to set your desired default state (checked for
true, unchecked forfalse).Click the settings icon (⚙️) at the bottom right of the control.
Select Set Current Value as Default.
Accessing the Value
The Checkbox control outputs either true (if checked) or false (if unchecked). You can access this value using its variable name. This is most powerful when used with an If/Else Node to control the workflow's path.
Example
Goal: Allow a user to optionally request an executive summary when generating a report.
Add a Checkbox Control:
Title: "Include Executive Summary"
Variable Name:
include_summaryDefault Value:
false(unchecked)
Add a Long Text Input:
Title: "Source Data"
Variable Name:
source_dataContent:
[...some long report data...]
Add an If/Else Node:
Condition:
{{include_summary}} == trueThis will check if the user ticked the box.
On the "True" Branch:
Add an OpenAI MCP Node:
Action:
ChatPrompt:
Create a full report and a one-paragraph executive summary from the following data: {{source_data}}
On the "False" Branch:
Add an OpenAI MCP Node:
Action:
ChatPrompt:
Create a full report from the following data: {{source_data}}
This workflow now dynamically changes its behavior based on the simple check of a box.
Last updated
Was this helpful?