Skip to main content

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.

Understanding these data types is essential to building powerful, modular, and scalable automations.

Supported Data Types

Below is a list of the data types Snappit supports, along with a brief explanation of their purpose and usage:

  1. Text
    Used for providing string-based input to steps. Ideal for filling out text fields, search inputs, and more.

  2. Number
    Allows you to input numerical values. Useful for steps requiring quantities, prices, IDs, or other numeric data.

  3. Boolean
    Represents a true or false value. Commonly used for toggling options like checkboxes or conditional logic.

  4. Select
    Enables the user to choose one value from a predefined list of options. Ideal for dropdowns or any one-out-of-many selection scenarios.

  5. List
    A collection of values of any data type. Useful for iterating over multiple inputs or repeating a set of actions for each item in the list.

  6. Record
    Represents a set of key-value pairs. Useful for structured input such as form data, configuration settings, or mapping information.

  7. Target
    Refers to a specific HTML element on a web page. This is central to Snappit's browser automation, as it defines the element you want to interact with—such as clicking a button, filling out a field, or scraping content.

  8. JSON
    Accepts custom JSON schema definitions. This is especially useful when a step needs to work with dynamic or complex data structures. JSON input allows for maximum flexibility in how data is passed and processed.

  9. Files
    Used for uploading or handling files, such as images, documents, or videos. This is helpful for automating tasks involving file inputs—e.g., posting images to social media, attaching documents to forms, etc.


By mastering these data types, you'll be able to harness the full potential of Snappit to build sophisticated, reliable, and adaptable browser workflows.