Skip to main content

Scrape public email addresses from any website using Firecrawl

Workflow preview

Workflow preview
100%
Scrape public email addresses from any website using Firecrawl preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who's it for This template is perfect for sales professionals, marketers, and business developers who need to quickly gather contact information from company websites. Whether you're building prosp...

Best for

  • Lead Generation automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.stopanderror, n8n-nodes-base.wait, n8n-nodes-base.set, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Lucas Walter.

Original n8n.io source

1.1 Workflow description

Title
Scrape public email addresses from any website using Firecrawl
Workflow name
Scrape public email addresses from any website using Firecrawl

Who's it for

This template is perfect for sales professionals, marketers, and business developers who need to quickly gather contact information from company websites. Whether you're building prospect lists, researching potential partners, or collecting leads for outreach campaigns, this automation saves hours of manual email hunting.

What it does

This workflow automatically discovers and extracts email addresses from any website by:

  • Taking a website URL as input through a simple form
  • Using Firecrawl's mapping API to find relevant pages (about, contact, team pages)
  • Batch scraping those pages to extract email addresses
  • Intelligently handling common email obfuscations like "(at)" and "(dot)"
  • Returning a clean, deduplicated list of valid email addresses

The automation handles rate limiting, retries failed requests, and filters out invalid or hidden email addresses to ensure you get quality results.

How to set up

  1. Get Firecrawl API access: Sign up at firecrawl.dev and obtain your API key
  2. Configure credentials: In n8n, create a new HTTP Header Auth credential named "Firecrawl" with:
    • Header Name: Authorization
    • Header Value: Bearer YOUR_API_KEY
  3. Import the workflow: Copy the workflow JSON into your n8n instance
  4. Test the form: Activate the workflow and test with a sample website URL

How to customize the workflow

Search parameters: Modify the search parameter in the map_website node to target different page types (currently searches for "about contact company authors team")

Extraction limits: Adjust the limit parameter to scrape more or fewer pages per website

Retry logic: The workflow includes retry logic with a 12-attempt limit - modify the check_retry_count node to change this

Output format: The set_result node formats the final output - customize this to match your preferred data structure

Email validation: The JSON schema in start_batch_scrape defines how emails are extracted - modify the prompt or schema for different extraction rules

The workflow is designed to be reliable and handle common edge cases like rate limiting and failed requests, making it production-ready for regular use.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - form_trigger

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - map_website

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - start_batch_scrape

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - check_retry_count

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - too_many_attempts_error

Type / Role
n8n-nodes-base.stopAndError - stopAndError
Config choices
Version 1

Block 6 - rate_limit_wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 7 - set_result

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - check_scrape_completed

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 9 - fetch_scrape_results

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Scrape public email addresses from any website using Firecrawl
Complexity intermediate
Nodes 10
Categories Lead Generation
Author Lucas Walter
Published 08 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5786/5786.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Scrape public email addresses from any website using Firecrawl do?

Who's it for This template is perfect for sales professionals, marketers, and business developers who need to quickly gather contact information from company websites. Whether you're building prosp...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation use case.