
Curated by n8n Markets team
Last updated: July 12, 2026
Stop wasting hours on manual prospecting. This ready-to-use n8n workflow is a fully automated lead generation agent that scrapes local business data directly from Google Maps and organizes it into your Google Sheets—completely on autopilot! How It Works: Automated Triggers: Runs automatically on a customized schedule (set to every 11 days by default, fully adjustable). Smart Scraping: Uses SerpAPI to search Google Maps for your exact target niche (e.g., "interior designers in new delhi"). Intelligent Filtering: Automatically filters out low-quality leads, ensuring only businesses with active websites make it to your list. Seamless Export: Pushes all clean, organized data (Name, Category, Phone Number, Website) directly into a Google Sheet. It even checks for duplicates to update existing rows! What’s Included: 1x .json n8n Workflow Template (Ready to import) Clean, documented code nodes within the workflow for easy customization. Requirements: An active n8n instance (Self-hosted or Cloud) A SerpAPI account A Google Cloud/Sheets credential Get your prospecting on autopilot today and scale your outreach effortlessly!
Node.js: The LTS version must be downloaded and installed from https://nodejs.org. n8n: Installed locally via Command Prompt or Terminal using the command npx n8n. SerpAPI Account: An account at https://serpapi.com with an active API Key. Google Cloud Console Project: A project with the Google Sheets API enabled and an External OAuth Consent Screen configured. Google OAuth Credentials: An OAuth Client ID (Web Application) with the correct Redirect URIs to authenticate n8n. Google Sheet: A blank Google Sheet to act as the database for the extracted leads.
Phase 1 - 1. Install Node.jsDownload and install the LTS version from https://nodejs.org. 2. Open Command Prompt (Windows) or Terminal (macOS) and run npx n8n. 3. Open http://localhost:5678 in your browser and create your admin account. Phase 2 - 1. Import WorkflowIn n8n, open Workflows, click Add Workflow, and open the three-dot menu. 2. Select Import from File, choose Lead Agent.json, verify the nodes appear, and click Save. Phase 3 - 1.Configure SerpAPICopy your API Key from the SerpAPI Dashboard. 2. In n8n, open the SerpAPI node, create a new credential, paste your key, save, and select it. Phase 4 - 1. Google Sheets OAuth (Crucial Step)Go to https://console.cloud.google.com, create a project, and enable the Google Sheets API. 2.Configure the OAuth Consent Screen as External and create an OAuth Client ID for a Web Application. 3.Copy the Redirect URL from the Google Sheets credential in n8n and paste it into the Authorized Redirect URIs in Google Cloud. 4.Copy the newly created Client ID and Client Secret back into n8n, sign in with Google, and ensure both Google Sheets nodes use this credential. Phase 5 - 1. Configure SearchOpen the Search Query node in n8n. 2.Replace the default search query with your target niche and city (e.g., 'Dentists in Chicago'). Phase 6 - 1.Connect Spreadsheet 2.Create a blank Google Sheet and copy the Document ID from its URL (the long string between /d/ and /edit). 3.Paste this Document ID into both of the Google Sheets nodes in your workflow. Phase 7 - 1. TestClick Test Workflow and monitor the execution. 2. Verify that the rows successfully populate in your Google Sheet. Phase 8 - Activate Once testing is successful, toggle the Active switch to enable the workflow. The agent will now run automatically based on its configured trigger schedule
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!