Skip to main content

Overview

Captures extract values from a step’s result and store them as variables for use in subsequent steps. Add a captures array to any step.

Example

Capture fields

Capture strategies

snapshot

Capture a value from the current page DOM. Use pattern to extract a substring.

url

Extract from the current page URL.

ai

Use AI to extract a value from the page. Provide a prompt describing what to extract.

expression

Evaluate a template expression. Useful for transforming or combining captured values.

evaluate

Run JavaScript in the page context and capture the result.

Using captured values

Captured values are available as template variables in subsequent steps:

Regex patterns

When using pattern, the value must be a valid regular expression. Use group to select a specific capture group:
  • group: 0 — Entire match (default)
  • group: 1 — First capture group
  • group: 2 — Second capture group