Templates / Generate Google Maps lead lists with SerpApi, Google Gemini and Sheets

Generate Google Maps lead lists with SerpApi, Google Gemini and Sheets

Ready for 3.0

by JESUS PACAHUALA ARROYO · 259 views · created 2026-02-25 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs when someone submits an n8n form (“Búscador de Negocios”). Along the way it connects Google Gemini Chat Model and Google Sheets.

How it runs

Trigger: When someone submits an n8n form (“Búscador de Negocios”).

  1. Fetch Google Maps Data (SerpApi) (HTTP Request): calls an HTTP API
  2. Extract Business List (Split Out): splits a list into separate items
  3. Filter: keeps only the items that match a condition
  4. Prioritize Low-Rating Leads (Sort): sorts the items
  5. Select Top 5 Critical Cases (Limit): keeps the first few items
  6. Batch Leads for AI Processing (Aggregate): combines items into one
  7. Market Intelligence Strategy Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  8. Clean AI Raw Response (Edit Fields (Set)): sets 1 field: datos_limpios
  9. Parse AI Output to JSON (Code): runs custom JavaScript code
  10. Final Data Formatting (Edit Fields (Set)): sets 2 fields: Estado, Fecha_Procesamiento

…plus 1 more step. See the full node list below.

Services it uses

Google Gemini Chat ModelGoogle Sheets

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (12)

From the author

This workflow automates the process of identifying local businesses with a weak digital presence to offer them specialized marketing services. By combining real-time data from Google Maps with the analytical power of Gemini AI, it transforms raw search…

Excerpt from JESUS PACAHUALA ARROYO'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.