Skip to main content

LangGraph

Integrate Firecrawl with LangGraph for building agent workflows
1 min read

This guide shows how to integrate Firecrawl with LangGraph to build AI agent workflows that can scrape and process web content.

Setup#

Create .env file:

Note: If using Node < 20, install dotenv and add import 'dotenv/config' to your code.

Basic Workflow#

This example demonstrates a basic LangGraph workflow that scrapes a website and analyzes the content.

Multi-Step Workflow#

This example demonstrates a more complex workflow that scrapes multiple URLs and processes them.

For more examples, check the LangGraph documentation.