CLOUDCRUISE UNITED

Extract recovery fixture

ExtractDatamodel — Invoice Line Items (Lazy Accordion)

Line items sit inside a collapsed accordion, closed by default. Opening it fetches items in two waves — the first 3 render immediately, the remaining 4 land 800ms later. Use ?open=true to load with the panel already expanded and settled.

{"open":false,"wave":0,"visibleCount":0,"totalCount":7}
Why this is hard
  • An xpath for the line-items table finds zero matches while the accordion is closed — the panel isn't mounted, not broken
  • Even once opened, firing extraction before the second wave lands captures only 3 of 7 rows — a partial read that looks complete
  • Both failure shapes present identically as "xpath resolved fewer matches than expected," but the fix is timing, not selector repair
  • Real-world analogue: collapsed EHR chart sections, paginated/lazy-fetched grids inside a modal
Workflow node config
{
  "action": "EXTRACT_DATAMODEL",
  "parameters": {
    "execution": "LLM_DOM",
    "extract_data_model": {
      "type": "object",
      "properties": {
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "sku":   { "type": "string" },
              "qty":   { "type": "number" },
              "price": { "type": "string" }
            }
          }
        }
      }
    }
  }
}