Templates / Scrape & enrich Google Maps leads with Decodo API and Gemini 2.5 Flash

Scrape & enrich Google Maps leads with Decodo API and Gemini 2.5 Flash

Ready for 3.0

by Khairul Muhtadin ✓ · 497 views · created 2025-11-12 · 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 16 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, Google Gemini Chat Model and Telegram. It also calls scraper-api.decodo.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Set Search Parameters (Edit Fields (Set)): sets 4 fields: searchQuery, targetLanguage, country…
  2. Format Error Message (Code): runs custom JavaScript code
  3. Decodo Maps Scraper (HTTP Request): calls scraper-api.decodo.com (POST)
  4. Send Error Notification (Telegram): uses Telegram
  5. Parse & Normalize Data (Code): runs custom JavaScript code
  6. Split Into Batches (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Lead Enrichment (Basic LLM Chain): sends a prompt to an LLM, with model: 2.5 Flash; output parser: Result Parser
  8. Merge Enrichment Data (Edit Fields (Set)): sets 17 fields: id, businessName, category…
  9. Save to Google Sheets (Google Sheets): append or update
  10. Filter Hot Leads (If): checks a condition and branches into true / false

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

Services it uses

Google SheetsGoogle Gemini Chat ModelTelegram

HTTP calls to: scraper-api.decodo.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

Turn Google Maps into a lead machine. This workflow scrapes listings with the Decodo API, scores each business with Google Gemini, and writes ready-to-send outreach emails. Research that took 20 minutes per lead now runs 100 leads in under an hour. Last…

Excerpt from Khairul Muhtadin'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.