Templates / Agentic B2B lead enrichment from Google Search to Google Sheets

Agentic B2B lead enrichment from Google Search to Google Sheets

Ready for 3.0

by Dhruv Mali ✓ · 567 views · created 2025-09-23 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 27 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini Chat Model, Google Sheets and Gmail. It also calls google.serper.dev and api.scraperapi.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Edit Fields (Edit Fields (Set)): sets 1 field: search_query
  2. Serper Search (HTTP Request): calls google.serper.dev (POST)
  3. parse search results (Code): runs custom JavaScript code
  4. Normalize leads (Code): runs custom JavaScript code
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Send a message (Gmail): uses Gmail
  7. Wait: waits 1.5 seconds
  8. Fetch Homepage (HTTP Request): calls an HTTP API
  9. Home Page Analyst (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  10. Format output (Code): runs custom JavaScript code

…plus 13 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelGoogle SheetsGmail

HTTP calls to: google.serper.dev, api.scraperapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (12)

From the author

How it works This is an advanced "Agentic" workflow that acts as an autonomous lead generation specialist. It goes beyond simple scraping by "thinking" about where to look for contact info. 1. Search & Filter: It performs a Google Search for your niche (e.g.,…

Excerpt from Dhruv Mali's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.