Skip to content

Parsing blocks

Parsing blocks

Parser output is a named user variable. It may also be captured when capture is enabled. The cards below show the exact output rules and failure/empty-result behavior of the execution engine.

Parse

The palette-facing unified parser routes to one of the legacy parser engines based on parse_mode.

Interactive block contract

Parse

Parse
Local reference · no request sent
  • parse_mode: LR / Regex / Json / Css / XPath / Cookie / Lambda
  • Common: input_var (default data.SOURCE), output_var (default PARSED), capture
  • Mode-specific fields: delimiters, regex output format, JSON path, selector/attribute/index, XPath, cookie name, or lambda expression

Parse LR

Compatibility parser retained for imported configurations.

Interactive block contract

Parse LR

ParseLR
Local reference · no request sent
  • input_var, left, right, output_var, capture
  • recursive and case_insensitive

Parse Regex

Compatibility parser retained for imported configurations.

Interactive block contract

Parse Regex

ParseRegex
Local reference · no request sent
  • input_var, pattern, output_format (default $1)
  • output_var, capture, multi_line

Parse JSON

Compatibility parser retained for imported configurations.

Interactive block contract

Parse JSON

ParseJSON
Local reference · no request sent
  • input_var, json_path, output_var, capture

Parse CSS

Compatibility parser retained for imported configurations.

Interactive block contract

Parse CSS

ParseCSS
Local reference · no request sent
  • input_var, selector, attribute, index, output_var, capture
  • attribute supports text/innerText, innerHTML/html, outerHTML, or a named HTML attribute

Parse XPath

Compatibility parser retained for imported configurations.

Interactive block contract

Parse XPath

ParseXPath
Local reference · no request sent
  • input_var, xpath, output_var, capture

Compatibility parser retained for imported configurations. Its input default differs from the other parser variants.

Interactive block contract

Parse Cookie

ParseCookie
Local reference · no request sent
  • input_var (default data.COOKIES), cookie_name, output_var, capture

Lambda Parser

Compatibility parser retained for imported configurations.

Interactive block contract

Lambda Parser

LambdaParser
Local reference · no request sent
  • input_var, lambda expression, output_var, capture