Firecrawl Website Content Extractor

# Firecrawl Website Content Extractor (n8n Workflow) This n8n automation workflow uses **Firecrawl API** to extract structured data (e.g., quotes and authors) from web pages - such as [Quotes to Scrape](https://quotes.toscrape.com/) - and handles retries in case of delayed extraction. --- ## Workflow Overview ### Purpose: - Crawl and extract **structured web data** using Firecrawl - Wait for asynchronous scraping to complete - Retrieve and validate results - Support retries if content is not ready --- ## Step-by-Step Node Breakdown ### 1. **Manual Trigger** - Node: `When clicking test workflow` - Used to **manually test** or execute the workflow during setup or debugging. --- ### 2. **Firecrawl Extract API Request** - Node: `Extract` - Sends a `POST` request to `https://api.firecrawl.dev/v1/extract` - Payload includes: - `urls`: List of pages to crawl (`https://quotes.toscrape.com/`) - `prompt`: Extract all quotes and their corresponding authors from the website. - `schema`: JSON schema defining expected structure (`quotes[]`, each with `text` and `author`) > Uses an **HTTP Header Auth** credential for Firecrawl API --- ### 3. **Wait for 30 Seconds** - Node: `30 Secs` - Gives Firecrawl time to finish processing in the background - Prevents hitting the API before results are ready --- ### 4. **Get Results** - Node: `Get Results` - Performs a `GET` request to the status URL using `{{ $(Extract).item.json.id }}` to retrieve extraction results. --- ### 5. **Condition Check** - Node: `If` - Checks if the `data` array is empty (i.e., no results yet) - If **data is empty**: - Waits **10 more seconds** and retries - If **data is available**: - Passes data to the next step (e.g., processing or storage) --- ### 6. **Retry Delay** - Node: `10 Seconds` - Waits briefly before sending another `GET` request to Firecrawl --- ### 7. **Edit Fields (Optional Output Formatting)** - Node: `Edit Fields` - Placeholder to structure or format the extracted results (quotes and authors) --- ## Sticky Note: Firecrawl Setup Guide Included as an embedded reference: - [10% Firecrawl Discount](https://firecrawl.link/nateherk) - Instructions to: - Add Firecrawl API credentials in **n8n** - Use Firecrawl Community Node for **self-hosted** instances - Set up the schema and prompt for targeted data extraction --- ## Key Features - API-based crawling with schema-structured output - Smart waiting + retry mechanism - AI prompt integration for intelligent data parsing - Flexible for different URLs, prompts, and schemas --- ## Sample Output Schema ```json { "quotes": [ { "text": "The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.", "author": "Albert Einstein" }, { "text": "It is our choices, Harry, that show what we truly are, far more than our abilities.", "author": "J.K. Rowling" } ] } ```

n8n

Firecrawl Website Content Extractor (n8n Workflow)

This n8n automation workflow uses Firecrawl API to extract structured data (e.g., quotes and authors) from web pages - such as Quotes to Scrape - and handles retries in case of delayed extraction.


Workflow Overview

Purpose:

  • Crawl and extract structured web data using Firecrawl
  • Wait for asynchronous scraping to complete
  • Retrieve and validate results
  • Support retries if content is not ready

Step-by-Step Node Breakdown

1. Manual Trigger

  • Node: When clicking test workflow
  • Used to manually test or execute the workflow during setup or debugging.

2. Firecrawl Extract API Request

  • Node: Extract
  • Sends a POST request to https://api.firecrawl.dev/v1/extract
  • Payload includes:
    • urls: List of pages to crawl (https://quotes.toscrape.com/)
    • prompt: Extract all quotes and their corresponding authors from the website.
    • schema: JSON schema defining expected structure (quotes[], each with text and author)

Uses an HTTP Header Auth credential for Firecrawl API


3. Wait for 30 Seconds

  • Node: 30 Secs
  • Gives Firecrawl time to finish processing in the background
  • Prevents hitting the API before results are ready

4. Get Results

  • Node: Get Results
  • Performs a GET request to the status URL using {{ $(Extract).item.json.id }} to retrieve extraction results.

5. Condition Check

  • Node: If
  • Checks if the data array is empty (i.e., no results yet)
  • If data is empty:
    • Waits 10 more seconds and retries
  • If data is available:
    • Passes data to the next step (e.g., processing or storage)

6. Retry Delay

  • Node: 10 Seconds
  • Waits briefly before sending another GET request to Firecrawl

7. Edit Fields (Optional Output Formatting)

  • Node: Edit Fields
  • Placeholder to structure or format the extracted results (quotes and authors)

Sticky Note: Firecrawl Setup Guide

Included as an embedded reference:

  • 10% Firecrawl Discount
  • Instructions to:
    • Add Firecrawl API credentials in n8n
    • Use Firecrawl Community Node for self-hosted instances
    • Set up the schema and prompt for targeted data extraction

Key Features

  • API-based crawling with schema-structured output
  • Smart waiting + retry mechanism
  • AI prompt integration for intelligent data parsing
  • Flexible for different URLs, prompts, and schemas

Sample Output Schema

{
  "quotes": [
    {
      "text": "The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.",
      "author": "Albert Einstein"
    },
    {
      "text": "It is our choices, Harry, that show what we truly are, far more than our abilities.",
      "author": "J.K. Rowling"
    }
  ]
}
$4.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related AI workflows

More from Aashit Sharma

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.