Skip to main content

Boolean

The Boolean data type in Snappit is used for representing binary choices—typically true or false. It is ideal for enabling or disabling behaviors, toggling options, or branching logic within a workflow.

In the user interface, Boolean inputs are rendered as switches, making it easy for users to flip options on or off intuitively.


✅ Typical Use Cases

  • Enabling or disabling optional steps
  • Controlling feature toggles or conditions
  • Selecting between two exclusive paths (e.g., yes/no, on/off)

warning

Unlike the Text data type, Boolean inputs do not currently support variable interpolation (e.g., ${A-Text-.value}). All values must be directly provided or passed through other structured logic.

💡 Representation in UI

In the Snappit UI, Boolean values appear as toggle switches. The switch clearly indicates whether the value is set to true (on) or false (off), offering a simple and accessible interaction model for users.


By using the Boolean data type effectively, you can create flexible and user-friendly automations that adapt to different conditions and preferences with a simple toggle.