Block 1 - Remove Duplicate URLs
- Type / Role
- n8n-nodes-base.removeDuplicates - removeDuplicates
- Config choices
- Version 1.1
This workflow is provided as-is. Please review and test before using in production.
Overview This workflow automates the discovery, extraction, enrichment, and storage of business information from Google Maps search queries using AI tools, scrapers, and Google Sheets. It is ideal ...
n8n-nodes-base.removeduplicates, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.filter, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.wait, n8n-nodes-base.executeworkflow
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Msaid Mohamed el hadi.
Original n8n.io sourceThis workflow automates the discovery, extraction, enrichment, and storage of business information from Google Maps search queries using AI tools, scrapers, and Google Sheets.
It is ideal for:
Trigger The automation starts via schedule (every hour).
Read Queries from Google Sheet
Loads unprocessed keywords from a Google Sheet tab named keywords.
Loop Through Keywords Each keyword is used to search Google Maps for relevant businesses.
Extract URLs JavaScript parses HTML to find all external website URLs from the search results.
Clean URLs Filters out irrelevant domains (e.g., Google-owned, example.com, etc.), and removes duplicates.
Loop Through URLs For each URL:
Checks if it already exists in the Google Sheet (to prevent duplication).
Calls the APIFY Actor to extract full business data.
Optionally uses AI Agent (Gemini) to provide detailed insight on the business, including:
Converts the AI result (text) to a structured JSON object.
Save to Google Sheet
Adds all extracted and AI-enriched business information to a separate tab (Sheet1).
Mark Queries as Processed
Updates the original row in keywords to avoid reprocessing.
The following information is saved per business:
If you’d like a custom AI-powered automation like this for your business or agency, feel free to contact me:
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.
Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.
| Workflow | AI-powered Google Maps business scraper with enrichment & export to sheets |
|---|---|
| Complexity | advanced |
| Nodes | 25 |
| Categories | Lead Generation, AI Summarization |
| Author | Msaid Mohamed el hadi |
| Published | 25 Jul 2025 |
Use the JSON export at /data/workflows/6439/6439.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
Overview This workflow automates the discovery, extraction, enrichment, and storage of business information from Google Maps search queries using AI tools, scrapers, and Google Sheets. It is ideal ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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, AI Summarization use case.