Skip to main content

Block

The Block step in Snappit is a powerful structure used to group and organize multiple steps within a workflow. Blocks can represent logical groups, conditionals, loops, or tabbed sections, allowing for more structured, scalable automation.

Snappit Block Step


🧱 Purpose

To visually and logically group related steps in a workflow. This step supports nesting, repetition, conditional execution, and better organization.


🧭 Behavior

  • Acts as a container for other steps

  • Enables structured logic like:

    • Grouping
    • Looping over lists
    • Conditional branches (If)
    • Tabbed views for parallel inputs
  • Supports nesting blocks inside other blocks


⚙️ Configuration

  • Type: Defines the block’s behavior. Supported values:

    • group – Simple logical grouping
    • loop – Iterates steps over a list
    • if – Executes steps conditionally
    • tab – Renders steps under tabbed sections
  • Title: An optional label shown for the block in the UI

  • Condition (for if): A boolean expression or variable

  • List (for loop): An array to iterate over


🧰 How to Use

  1. Select multiple steps in your workflow
  2. Right-click and choose Wrap with Block
  3. Configure the block type and related settings as needed

To undo the grouping:

  1. Select the Block step
  2. Right-click and choose Unwrap Block

✅ Use Cases

  • Creating reusable sections in complex workflows
  • Looping through list inputs
  • Showing conditional steps based on user input
  • Organizing steps under tabs for better UX

The Block step is foundational in Snappit, empowering users to build modular, logical, and maintainable browser automation workflows.