| name | firecrawl-core-workflow-a |
| description | Execute Firecrawl primary workflow: scrape and crawl websites into LLM-ready markdown.
Use when scraping single pages, crawling entire sites, or building content
ingestion pipelines with Firecrawl's scrapeUrl and crawlUrl methods.
Trigger with phrases like "firecrawl scrape", "firecrawl crawl site",
"scrape page to markdown", "crawl documentation".
|
| 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 A — Scrape & Crawl
Overview
Primary workflow for Firecrawl: convert websites into clean LLM-ready markdown. Covers single-page scraping with scrapeUrl, multi-page crawling with crawlUrl, async crawl jobs with polling, and content processing pipelines.
Prerequisites
@mendable/firecrawl-js installed
FIRECRAWL_API_KEY environment variable set
- Target URL(s) identified
Instructions
Step 1: Single-Page Scrape
import FirecrawlApp from "@mendable/firecrawl-js";
const firecrawl = new FirecrawlApp({
apiKey: process.env.FIRECRAWL_API_KEY!,
});
const result = await firecrawl.scrapeUrl("https://docs.example.com/api", {
formats: ["markdown"],
onlyMainContent: true,
waitFor: 2000,
});
if (result.success) {
console.log("Title:", result.metadata?.title);
console.log("Source:", result.metadata?.sourceURL);
console.log(, result.?.(, ));
}