This is an n8n community node. It lets you use Firecrawl in your n8n workflows.
🔥 Turn entire websites into LLM-ready markdown or structured data. Scrape, crawl and extract with a single API.
n8n is a fair-code licensed workflow automation platform.
Installation Operations AI Agent Tool Usage Credentials Compatibility Resources Version history
Follow the installation guide in the n8n community nodes documentation.
The Firecrawl node supports the following operations:
- Search and optionally scrape search results
- Input a website and get all the website urls
- Scrapes a URL and get its content in LLM-ready format (markdown, structured data via LLM Extract, screenshot, html)
- Scrapes all the URLs of a web page and return content in LLM-ready format
- Start a batch job to scrape multiple URLs at once
- Get the status/result of a batch scrape job by ID
- Retrieve errors for a batch scrape job by ID
- List all currently active crawl jobs for your team
- Preview crawl parameters generated from a natural-language prompt
- Cancel a running crawl job by ID
- Retrieve errors for a crawl job by ID
- Check the current status of a crawl job
- Get structured data from single page, multiple pages or entire websites with AI
- Get the current status of an extraction job
- Get remaining and plan tokens for the authenticated team
- Get remaining and plan credits for the authenticated team
- Get historical credit usage for your team
- Get historical token usage for your team
- Get your team's current queue load (waiting, active, max concurrency)
This node can be used as a tool with n8n's AI Agent node, allowing AI agents to scrape, crawl, and extract data from websites dynamically.
- n8n version 1.79.0 or higher is required for AI tool support
- Set the environment variable
N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=trueto enable community nodes as AI tools
version: '3'
services:
n8n:
image: n8nio/n8n
environment:
- N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
ports:
- "5678:5678"
volumes:
- ~/.n8n:/home/node/.n8n- Add the AI Agent node to your workflow
- Connect the Firecrawl node as a tool input to the AI Agent
- The AI agent can now dynamically decide when and how to use Firecrawl operations
When using Firecrawl as an AI tool, you can let the AI agent decide parameter values dynamically using the $fromAI() function. Click the "Let the model define this parameter" button next to any field to enable this feature.
Example expressions:
// Let AI decide the URL to scrape
{{ $fromAI("url", "The URL to scrape", "string") }}
// Let AI decide the search query
{{ $fromAI("query", "Search query for finding relevant pages", "string") }}
// Let AI decide whether to include subdomains
{{ $fromAI("includeSubdomains", "Whether to include subdomains", "boolean", false) }}- Use clear operation names: The AI agent uses operation descriptions to decide when to use each tool
- Provide context in prompts: When using the Extract operation, provide clear prompts to guide data extraction
- Set reasonable limits: Configure default limits to prevent excessive API usage
- Use the Map operation first: For unknown sites, use Map to discover URLs before scraping
To use the Firecrawl node, you need to:
- Sign up for a Firecrawl account at https://firecrawl.dev
- Get your API key from the Firecrawl dashboard
- In n8n, add your Firecrawl API key to the node's credentials
Caution
The API key should be kept secure and never shared publicly
- Minimum n8n version: 1.79.0 (required for AI tool support)
- Tested against n8n versions: 1.79.0+
- Node.js version: 18 or higher
Note: If you don't need AI tool support, earlier versions of n8n may work, but 1.79.0+ is recommended.
- AI Agent Tool Support: Node can now be used as a tool with n8n's AI Agent node
- Added
usableAsTool: trueto enable tool mode - Enhanced all field descriptions for better AI context understanding
- Supports
$fromAI()function for dynamic parameter values
- Added
- Updated minimum n8n version requirement to 1.79.0
- Improved operation descriptions for clearer AI agent decision making
- Add support for additional Firecrawl endpoints:
- Batch Scrape (start/status/errors)
- Crawl Active
- Crawl Params Preview
- Cancel Crawl
- Get Crawl Errors
- Team Token Usage
- Team Credit Usage
- Historical Credit Usage
- Historical Token Usage
- Team Queue Status
- Wire new operations into the node and align with Firecrawl API v2
- API version updated to /v2
- Unified sitemap configuration parameters in Map operation
- Replaced
ignoreSitemapandsitemapOnlywith unifiedsitemapparameter sitemapparameter now accepts: "include" (default), "only", or "skip"
- Add additional fields property for custom data in Firecrawl API nodes
- Add integration parameter in all endpoint calls
- Support for Search operation
- Initial release
- Support for all basic Firecrawl operations:
- Map URLs
- Scrape URL
- Crawl Website
- Get Crawl Status
- Extract Data
- Get Extract Status
- Basic error handling and response processing
- Support for custom body options
Refer to our documentation on creating nodes for detailed information on building your own nodes.