Blocks

Stagehand Extract

Extract data from websites

Use Stagehand to extract structured data from webpages using Browserbase and OpenAI.

Back to Catalog
Toolsstagehand

Block Preview

Stagehand Extract

Extract data from websites

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the stagehand block with monitoring enabled in production.

Inputs (UI)

URL

short-input

Placeholder: Enter the URL of the website to extract data from

Layout: full

Instruction

long-input

Placeholder: Enter detailed instructions for what data to extract from the page...

Layout: full

OpenAI API Key

short-input

Placeholder: Enter your OpenAI API key

Layout: full

Schema

code

Placeholder: Enter JSON Schema...

Layout: full

Inputs (API)

url

string

Required

instruction

string

Required

schema

json

Required

apiKey

string

Required

Outputs

Primary response type:

{
  "data": "json"
}

Tool Access

stagehand_extract
Stagehand Extract | NowFlow Blocks