Skip to main content

Extract business email addresses using Serper.dev and ScrapingBee from Google Sheets

Workflow preview

Workflow preview
100%
Extract business email addresses using Serper.dev and ScrapingBee from Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Lead Enrichment & Email Discovery from Google Sheets What this workflow does This template automates the enrichment of business leads from a Google Sheet by: Triggering when a row is activated Sear...

Best for

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

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.wait, n8n-nodes-base.set, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jorge Martínez.

Original n8n.io source

1.1 Workflow description

Title
Extract business email addresses using Serper.dev and ScrapingBee from Google Sheets
Workflow name
Extract business email addresses using Serper.dev and ScrapingBee from Google Sheets

Lead Enrichment & Email Discovery from Google Sheets

What this workflow does

This template automates the enrichment of business leads from a Google Sheet by:

  • Triggering when a row is activated
  • Searching for company information with Serper.dev
  • Generating and validating potential contact pages
  • Scraping company pages with ScrapingBee
  • Extracting emails and updating the sheet
  • Marking rows as finished

Prerequisites

  • Google Sheet with columns: business type, city, state, activate
  • Copy the ready-to-use template: Sheet Template
  • Google Sheets API credentials (from Google Cloud)
  • Serper.dev API key (free tier available)
  • ScrapingBee API key (free tier available)

Inputs

  • Google Sheet row: Must include business type, city, state, activate
  • Set Information Node: country, country_code, language, result_count (can also be provided via columns in the sheet)

Outputs

  • Google Sheet update: Company names, URLs, found email addresses (comma-separated if multiple), and status updates (Running, Missing information, Finished)

Configuration Required

  • Connect Google Sheets node with your Google Cloud credentials
  • Add your Serper.dev API key to the HTTP Request node
  • Add your ScrapingBee API key to the scraping node
  • Adjust search and filtering options as needed

How to customize the workflow

  • Send country, country_code, and result_count from the sheet: Add these as columns in your sheet and update the workflow to read their values dynamically, making your search fully configurable per row.
  • Add more blacklist terms: Update the code node with additional company names or keywords you want to exclude from the search results.
  • Extract more contact details: Modify the email extraction code to find other contact info (like phone numbers or social profiles) if needed.

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 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 2 - If

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

Block 3 - Scraping Bee

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

Block 4 - Website Options

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Google Sheets Trigger

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

Block 6 - If1

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

Block 7 - If2

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

Block 8 - Wait

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

Block 9 - If3

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

Block 10 - Set Information

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

Block 11 - Search Companies (Serper.dev)

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

Block 12 - Extract Company & Website

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Update Running Status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 14 - Update Missing Information Status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 15 - Add research Results

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 16 - Test pages

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

Block 17 - Update Finished Status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 18 - Email Extractor

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Get Emails

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 20 - Add Emails

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 21 - Sticky Note

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

Block 22 - Sticky Note1

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

Block 23 - Sticky Note2

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

Block 24 - Sticky Note3

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

Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Extract business email addresses using Serper.dev and ScrapingBee from Google Sheets
Complexity advanced
Nodes 26
Categories Lead Generation
Author Jorge Martínez
Published 06 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7071/7071.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 Extract business email addresses using Serper.dev and ScrapingBee from Google Sheets do?

Lead Enrichment & Email Discovery from Google Sheets What this workflow does This template automates the enrichment of business leads from a Google Sheet by: Triggering when a row is activated Sear...

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.