Skip to main content
cloudflare.extractMarkdown renders a page with Cloudflare Browser Run and converts its content to Markdown.
automations/extract-cloudflare-markdown.automation.ts

Inputs

Provide accountId and exactly one of url or html. cacheTtl defaults to 5 seconds. Set it to 0 to turn off Cloudflare caching. Optional browser controls cover timeouts, request and resource filters, authentication, cookies, scripts, styles, headers, JavaScript, media type, user agent, viewport, navigation, and wait conditions.

Output

Returns Markdown as a string. Cloudflare may prefix it with a YAML metadata block when the page exposes supported metadata. The action consumes Browser Run duration and cannot be replayed safely.