Skip to main content

Scrape and email business leads with Claude, Apify, Google Sheets and Gmail

Workflow preview

Workflow preview
100%
Scrape and email business leads with Claude, Apify, Google Sheets and Gmail preview
Open on n8n.io

1. Workflow Overview

Scrape leads from businesses with Claude and Apify to Gmail outreach Documentation : Notion Guide ![Wo...

Best for

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

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.splitout, @n8n/n8n-nodes-langchain.anthropic, n8n-nodes-base.if, n8n-nodes-base.gmail, n8n-nodes-base.code, n8n-nodes-base.googlesheets, 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 Dr. Firas.

Original n8n.io source

1.1 Workflow description

Title
Scrape and email business leads with Claude, Apify, Google Sheets and Gmail
Workflow name
Scrape and email business leads with Claude, Apify, Google Sheets and Gmail

💥 Scrape leads from businesses with Claude and Apify to Gmail outreach

📄 Documentation: Notion Guide

Automatically scrape business leads with Claude Co-Work and Apify, send the data to n8n through a webhook, store it in Google Sheets, generate personalized outreach emails, and send them automatically with Gmail.

This workflow combines lead scraping, lead qualification, data organization, AI copywriting, and cold outreach into one automated pipeline.


Who is this for?

This template is ideal for:

  • Agencies offering SEO, automation, web design, or lead generation services
  • Freelancers looking to automate prospecting
  • Sales teams doing cold outreach
  • Entrepreneurs searching for local business leads
  • Anyone using AI to scale outbound email campaigns

What problem is this workflow solving? / Use case

Manual prospecting is slow and repetitive.

Most businesses waste hours every week:

  • Searching for leads manually
  • Copying business data into spreadsheets
  • Writing cold emails one by one
  • Sending outreach emails manually

This workflow solves that by automating the full process from lead discovery to email delivery.

Example use case:

  • Use Claude Co-Work with Apify to find restaurants in Paris
  • Scrape lead data such as business name, address, website, phone number, email, and booking status
  • Automatically send the collected leads to n8n through a webhook
  • Save lead data in Google Sheets
  • Generate a personalized outreach email for each valid lead
  • Send the email automatically with Gmail

What this workflow does

  1. Claude Co-Work uses Apify to scrape business leads and collect their data
  2. Claude Co-Work automatically triggers the n8n webhook with the scraped lead data
  3. n8n splits each business lead into separate items
  4. n8n appends lead data to Google Sheets
  5. n8n checks whether the lead has an email address
  6. n8n uses Claude to generate a personalized outreach email
  7. n8n extracts the email subject and body automatically
  8. n8n sends the email via Gmail

Expected outcome:

  • Automated lead scraping with Claude Co-Work and Apify
  • Organized lead database in Google Sheets
  • Personalized AI-generated outreach emails
  • Automated email sending
  • Faster prospecting with less manual work

Setup

Before using this template, create and connect the following accounts:

  • Google Sheets account
  • Gmail account
  • Anthropic / Claude account required to run Claude Co-Work
  • Apify account required for scraping lead data

Then configure:

1. Claude Co-Work + Apify

Set up Claude Co-Work so it can use Apify to scrape lead data before n8n starts.

Claude Co-Work should collect fields such as:

  • collection_date
  • business_category
  • region_state
  • city_name
  • street_address
  • business_name
  • business_description
  • website_url
  • phone_number
  • customer_rating
  • email_address
  • contact_status
2. Webhook

Configure Claude Co-Work to send the scraped data to the n8n Webhook node.

The webhook receives the lead payload and starts the workflow automatically.

3. Google Sheets

Replace:

  • YOUR_ID_GOOLE_SHEETS
  • YOUR_ID-sheet_GOOLE_SHEETS

With your own Google Sheet ID and Sheet tab ID.

4. Claude Prompt

Customize the outreach message inside the Outreach email copywriter node.


How to customize this workflow to your needs

Change target industry

Replace restaurants with:

  • Dentists
  • Lawyers
  • Real estate agencies
  • Coaches
  • Ecommerce stores
  • Local businesses
Change outreach offer

Instead of SEO or booking systems, promote:

  • Web design
  • AI chatbots
  • Lead generation
  • Marketing automation
  • CRM setup
  • Ads management

Notes

  • Claude Co-Work and Apify handle the lead scraping step before n8n starts
  • The webhook is triggered automatically after the lead data is collected
  • Phone numbers are automatically cleaned before saving to Google Sheets
  • Only leads with email addresses continue to outreach
  • Gmail errors continue without stopping the workflow

Built for users who want to automate scraping, prospecting, and outbound sales with AI.

🎥 Watch This Tutorial


👋 Need help or want to customize this?

📩 Contact: LinkedIn 📺 YouTube: @DRFIRASS 🚀 Workshops: n8n courses (in French)

Need help customizing?

Contact me for consulting and support : Linkedin / Youtube / 🚀 n8n courses (in French)

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 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - Split Out

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

Block 3 - Outreach email copywriter

Type / Role
@n8n/n8n-nodes-langchain.anthropic - anthropic
Config choices
Version 1

Block 4 - If

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

Block 5 - Send email to Leads

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

Block 6 - Split Email Text

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

Block 7 - Append Leads in sheet

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

Block 8 - Sticky Note

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

Block 9 - Sticky Note1

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

Block 10 - Sticky Note2

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

3. Summary Table

Workflow Scrape and email business leads with Claude, Apify, Google Sheets and Gmail
Complexity intermediate
Nodes 10
Categories Lead Generation, Multimodal AI
Author Dr. Firas
Published 19 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15153/15153.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 and email business leads with Claude, Apify, Google Sheets and Gmail do?

Scrape leads from businesses with Claude and Apify to Gmail outreach Documentation : Notion Guide ![Wo...

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, Multimodal AI use case.