# Cloudflare Browser Run Integrations

Render a live page from a FastHook workflow. Send screenshots to your team, print PDFs from order data, or preserve a published article as Markdown.

## Setup notes

- **Connect your Cloudflare account** Enter the account ID and an API token with Browser Run Edit for that account. FastHook verifies the connection by listing browser sessions.
- **Choose what to capture** Use Screenshot for a PNG, PDF for a printable document, or Markdown for an article. Set the viewport when the page layout matters. Use a selector to read specific elements.
- **Pass files to the next step** Map the file output into a Drive upload, an R2 object or another file-aware action. Set a filename so recipients can identify the capture.
- **Manage longer browser tasks** Use a crawl job ID to retrieve subsequent result pages. For a multi-step browser session, keep its session ID and close the browser when the work finishes. Browser time is metered in your Cloudflare account.

## Workflow templates

- [Capture mobile page screenshots for new Trello review cards](https://www.fasthook.io/templates/trello-new-cards-to-browser-screenshot.md): Use a Trello board for page review requests.
- [Capture a mobile incident page screenshot from Jira](https://www.fasthook.io/templates/jira-new-issues-to-browser-screenshot.md): Watch a Jira incident project or JQL filter.
- [Read rendered page content after new Webflow CMS items](https://www.fasthook.io/templates/webflow-cms-items-to-browser-scrape.md): After a CMS item is created in the selected Webflow site, use Cloudflare Browser Run to read elements matching a CSS selector on the configured public page.
- [Capture a mobile storefront preview for new Shopify products](https://www.fasthook.io/templates/shopify-new-products-to-browser-screenshot.md): Use Cloudflare Browser Run to save a 390 × 844 PNG of a selected public storefront page whenever Shopify creates a product.
- [Archive published WordPress articles in R2](https://www.fasthook.io/templates/wordpress-published-snapshots-to-r2.md): Capture the published WordPress permalink and save its rendered Markdown and desktop screenshot together in an R2 bucket.
- [File WooCommerce packing slips in Google Drive](https://www.fasthook.io/templates/woocommerce-packing-slips-to-google-drive.md): Turn each new order into a printable PDF listing the items and quantities to pack.
- [Track broken checkout links in Linear](https://www.fasthook.io/templates/scheduled-checkout-link-to-linear.md): Check the checkout button on a schedule.
- [Share desktop and mobile deployment previews in Slack](https://www.fasthook.io/templates/webhook-deployment-screenshots-to-slack.md): Render the deployed page at two viewport sizes and attach both PNGs to one Slack message.

## Actions

- **Activate a browser tab** — Bring a specific page to the foreground in its browser session.
- **Cancel a website crawl** — Stop a crawl that is still processing pages.
- **Capture several page formats together** — Request a screenshot, Markdown, HTML or other supported formats in one visit.
- **Close a browser session** — Release the selected browser when your workflow has finished using it.
- **Close a browser tab** — Close the selected page while keeping the rest of the session open.
- **Collect links from a page** — Return the links that appear on the rendered page.
- **Create a live view link** — Create a time-limited link to watch or interact with the chosen session.
- **Create a PDF from a page or HTML** — Render a printable document and pass the PDF file to the next step.
- **Extract structured data from a page** — Use a prompt and optional JSON schema to extract fields with Workers AI.
- **Get browser session details** — Check the state of a particular session before continuing work.
- **Get details of a browser tab** — Read the selected target’s title, URL and connection details.
- **Get the browser version** — Inspect the browser build and its supported protocol version.
- **Get the rendered HTML** — Read the HTML after the browser loads the page and runs its JavaScript.
- **List browser sessions** — Find sessions in the connected account and page through results by offset.
- **List browser targets** — Discover debuggable pages in the selected browser session.
- **List tabs in a browser session** — Read the open targets and their IDs to select a page for the next step.
- **Open a browser tab** — Create a new page in an existing session, optionally at a specified URL.
- **Read a browser recording** — Retrieve recorded events for a session that had recording enabled.
- **Read a page as Markdown** — Convert the rendered article or page to text that preserves headings and links.
- **Read a page’s accessibility tree** — Inspect the roles and accessible names exposed by the rendered page.
- **Read pages from a crawl** — Inspect the crawl status and page results. Use the returned cursor to continue.
- **Read recorded network activity** — Inspect network requests captured during a recorded browser session.
- **Read selected page elements** — Extract text and attributes from elements matching your CSS selectors.
- **Read the browser protocol schema** — Discover the Chrome DevTools commands supported by this browser.
- **Run a script in a new browser** — Start a browser and execute a browser automation script.
- **Run a script in an existing session** — Continue a multi-step browser task using its session ID.
- **Start a browser session** — Reserve a browser for several steps and keep its session ID.
- **Start a website crawl** — Queue a crawl and keep the job ID to retrieve its pages later.
- **Take a screenshot** — Capture a page or selected element at the viewport size you choose.
