# Firecrawl
URL: /reference/blocks/firecrawl
Type: reference
Description: Scrape pages and search the web with Firecrawl
Keywords: firecrawl, integrations, block, workflow builder
`firecrawl` — Scrape pages and search the web with Firecrawl.

Where it appears [#where-it-appears]

The **Firecrawl** block lives in the **Integrations** group of the Workflow Builder. Connect the Firecrawl integration before adding it.

Fields [#fields]

| Field               | Type                       | Required | Default | Description                                                                                                                      |
| ------------------- | -------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `resource`          | select                     | Yes      | `web`   | Which Firecrawl resource to work with. Options: `web`.                                                                           |
| `operation`         | select                     | Yes      | —       | Which action to perform on the selected resource.                                                                                |
| `url`               | text (supports references) | Yes      | —       | The web page URL to scrape. Use a literal URL or \<StepName.field> to reference a URL from a previous step.                      |
| `includeScreenshot` | toggle                     | No       | `false` | When on, also capture a screenshot of the page alongside the scraped content. Defaults to off.                                   |
| `searchQuery`       | text (supports references) | Yes      | —       | Text query to search the web for via Firecrawl. Use literal text or \<StepName.field> to reference a value from a previous step. |
| `limit`             | number                     | No       | `10`    | Maximum number of search results to return. Defaults to 10.                                                                      |

Inputs and outputs [#inputs-and-outputs]

Inputs are the configurable fields above. The block produces these outputs:

**Outputs**

Reference an output downstream with `<Firecrawl.field>`.

| Name       | Type    | Description                |
| ---------- | ------- | -------------------------- |
| `success`  | boolean | Whether scraping succeeded |
| `content`  | string  | Scraped content            |
| `markdown` | string  | Content as markdown        |
| `error`    | string  | Error message if failed    |
| `results`  | array   | Array of search results    |
| `count`    | number  | Number of results          |

Example [#example]

A minimal configuration for this block:

```json
{
  "type": "firecrawl",
  "config": {
    "resource": "web",
    "operation": "...",
    "url": "<PreviousStep.field>",
    "includeScreenshot": false,
    "searchQuery": "<PreviousStep.field>",
    "limit": 10
  }
}
```

Limits and failure modes [#limits-and-failure-modes]

* Requires a connected Firecrawl integration. Calls fail if that integration is disconnected or its authorization has expired.
* Required fields (`resource`, `operation`, `url`, `searchQuery`) must be set, or the block fails validation before it runs.
* On failure the `error` output is populated; downstream blocks that reference other outputs may not receive values.

Related [#related]

* [All workflow blocks](/reference/blocks)
* [Workflow Builder overview](/workflow-builder-overview)
* [Integrations](/integrations)