Skip to main content

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.

Each List input is defined by a schema that specifies the item type, and users can add zero or more values according to that type.


🧱 Key Characteristics

tip

Iterate over lists

You can iterate over list values to build complex workflows based on list values

  • All items in the list must share the same data type (e.g., all strings, all numbers, all records).
  • Mixed-type lists are not allowed.
  • Users can add, remove, or reorder items dynamically via the UI.
  • Users can iterate over list to perform browser actions based on list values

warning

⚠️ No Mixed Types

All values in a List must match the defined item type. For example, a list defined to hold numbers cannot contain a string. This constraint ensures data consistency and predictable behavior in downstream steps.


By using the List data type, you can manage structured collections of data efficiently—whether you're handling a list of URLs, IDs, options, or any repeatable input in your automation workflows.