AI Extract
ai-extract pulls structured data out of the current page and stores it in a variable. The schema you provide tells the model what shape to return.
yaml
- ai-extract:
as: invoice
schema:
number: string
total: number
due_date: string
- page-check:
expression: "{{ var.invoice.total }} > 0"The result is available on subsequent steps under var.invoice.