| name | firecrawl-core-workflow-b |
| description | Execute Firecrawl secondary workflow: LLM extraction, batch scraping, and site mapping.
Use when extracting structured data from pages, batch scraping known URLs,
or discovering site structure with the map endpoint.
Trigger with phrases like "firecrawl extract", "firecrawl batch scrape",
"firecrawl map site", "firecrawl structured data", "firecrawl JSON extract".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Grep |
| version | 1.11.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","firecrawl","workflow"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Firecrawl Core Workflow B — Extract, Batch & Map
Overview
Secondary workflow complementing the scrape/crawl workflow. Covers LLM-powered structured data extraction with JSON schemas, batch scraping multiple known URLs, and rapid site map discovery. Use this when you need typed data rather than raw markdown.
Prerequisites
@mendable/firecrawl-js installed
FIRECRAWL_API_KEY environment variable set
- Understanding of JSON Schema (for extract)
Instructions
Step 1: LLM Extract — Structured Data from Pages
import FirecrawlApp from "@mendable/firecrawl-js";
const firecrawl = new FirecrawlApp({
apiKey: process.env.FIRECRAWL_API_KEY!,
});
const result = await firecrawl.scrapeUrl("https://firecrawl.dev/pricing", {
formats: ["extract"],
extract: {
schema: {
type: "object",
properties: {
plans: {
type: "array",
items: {
type: "object",
properties: {
name: { type: "string" },
price: { type: "string" },
credits_per_month: { type: "number" },
: { : , : { : } },
},
: [, ],
},
},
},
},
},
});
.(, .(result., , ));