📄️ Overview
Snappit empowers you to automate complex browser workflows with ease and flexibility. At the core of Snappit’s functionality is its rich support for a wide variety of data types, enabling seamless interaction with web pages and other applications. This guide provides a comprehensive overview of the data types supported by Snappit and how they can be used within your automation workflows.
📄️ Text
Text is one of the fundamental data types in Snappit, used to input and manipulate plain text within a workflow step. Beyond accepting static string values, Snappit's Text input supports dynamic variable interpolation, transforming static fields into powerful, template-driven components.
📄️ Number
The Number data type in Snappit is designed for steps that require numeric input—such as quantities, prices, counts, or identifiers. It ensures that only valid numeric values are accepted and provides structure and validation to your automation workflows.
📄️ 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.
📄️ Select
The Select data type in Snappit provides a predefined list texts of options from which the user can select a single value. This data type is ideal for capturing user preferences, configuration settings, or constrained inputs where only certain values are allowed.
📄️ List
The List data type in Snappit allows users to define a collection of values—each conforming to a single, consistent data type. Lists are ideal for situations where multiple entries of the same kind are needed, such as tags, URLs, numbers, or records.
📄️ Record
The Record data type in Snappit represents a collection of key-value pairs, similar to JavaScript objects. It allows users to define structured data where each field has a specific name (key) and an associated value that conforms to a defined type.
📄️ Target
The Target data type in Snappit is used to represent an HTML element within the browser that a workflow step will interact with. It encapsulates detailed metadata about the element, enabling precise automation for actions like clicking, typing, uploading, or referencing DOM elements in various contexts.
📄️ JSON
The JSON data type in Snappit allows users to input structured data following the standard JavaScript Object Notation (JSON) format. It provides flexibility and precision for passing complex data structures into workflow steps.
📄️ Files
The Files data type in Snappit represents actual files that can be uploaded and used within workflows. This is particularly useful for steps that require file input, such as uploading images, documents, or other assets during browser automation.