cloudflare.extractJson renders a page and uses Cloudflare AI to extract structured data.
automations/extract-cloudflare-json.automation.ts
Inputs
ProvideaccountId, exactly one of url or html, and at least one of prompt or responseFormat. responseFormat accepts a type and optional JSON Schema. customAi supplies an ordered fallback list of model names and optional authorization values. cacheTtl defaults to 5 seconds, and the common Browser Run page controls are available.