Skip to main content

Workflow

The Workflow step in Snappit allows you to nest and reuse existing workflows within a larger, parent workflow. It enables modular, maintainable, and scalable automation by treating workflows as composable building blocks.

Snappit Workflow Step


🧠 Purpose

To reuse and nest other workflows as sub-processes, helping you keep complex logic clean, manageable, and DRY (Don't Repeat Yourself).

This step lets one workflow invoke another, making it ideal for:

  • Breaking down large workflows into smaller, focused parts
  • Creating reusable actions (e.g., Login, Upload, Fill Form)
  • Maintaining versioned logic without breaking dependent flows
tip

Extracting common, repeated steps in to separate flow will increase the maintainability of your workflows


🧭 Behavior

When a Workflow step is executed:

  • It loads the selected workflow by reference
  • Runs that workflow's steps in sequence
  • Waits for the sub-workflow to complete before proceeding
note

Workflow steps inputs and outputs will be determined by selected workflow's inputs and outputs

Each time a workflow is reused, it behaves like a function call — isolated, reusable, and predictable.


⚙️ Configuration

The Workflow step provides the following options:

  • Workflow Selector: A dropdown that lists all available workflows within the current project.
  • Version Selector: Lets you choose a specific version of the selected workflow.
tip

Snappit uses an automatic versioning system. When a workflow is updated, older versions remain functional unless explicitly upgraded in the parent flow.


🔁 Versioning & Safety

Snappit tracks all changes made to workflows and maintains version history automatically.

info

Older versions of a workflow will not break parent workflows — they will continue running with the original version unless you update them manually.

This means you can safely make improvements to workflows without worrying about unintended downstream impacts.


✅ Use Cases

  • Reuse a "Login" workflow across multiple automations
  • Modularize tasks like "Upload File", "Fill Form", or "Handle Modal"
  • Maintain a library of reusable micro-workflows across a team

🧩 Building Complex Automation

The Workflow step is key to building scalable and maintainable automation in Snappit. By modularizing your logic, you reduce repetition, simplify debugging, and enable collaboration across larger automation projects.