Business Process Automationintermediate
September 22, 2025
5 min read
30 minutes
Automated Local Business Lead Generator with SerpAPI - n8n Workflow
Automate lead generation with n8n. Discover businesses via Google Maps, analyze with AI, and organize leads in Google Sheets with real-time Telegram alerts.
By Kazi Sakib

Finding potential business clients feels like searching for needles in a haystack. You spend hours scrolling through Google Maps, copying contact details, crafting individual outreach messages, and keeping track of prospects across scattered spreadsheets. Meanwhile, your competition is probably doing the same manual grunt work, leaving everyone exhausted and underperforming.
What if you could automate this entire process? What if a single workflow could discover businesses, analyze their needs, craft personalized messages, and organize everything for follow-up, all while you focus on closing deals?
This n8n workflow solves the lead generation puzzle through three powerful capabilities:
- Intelligent Discovery: Automatically searches Google Maps for businesses matching your target criteria, extracting comprehensive contact and business information
- AI-Powered Analysis: Uses OpenAI to analyze each business and generate personalized outreach messages based on their specific situation and growth opportunities
- Seamless Organization: Stores everything in organized Google Sheets and sends real-time notifications via Telegram for immediate follow-up
Prerequisites: Your Lead Generation Toolkit
Before diving into this automated lead generation system, you need access to these essential APIs and platforms:
- SerpAPI Account: For extracting business data from Google Maps searches
- OpenAI API: To power the AI analysis and message generation
- Google Sheets API: For storing input parameters and organizing results
- Telegram Bot API: For instant notifications when new leads are processed
- N8N Platform: The automation engine that orchestrates everything together
Key Components: The Building Blocks
This workflow combines several n8n nodes into a cohesive lead generation system:
- Manual Trigger: Initiates the workflow on demand
- Google Sheets: Manages input data and stores results
- HTTP Request: Communicates with SerpAPI for business discovery
- Split Out: Processes multiple business results individually
- Basic LLM Chain: Connects to OpenAI for intelligent analysis
- Conditional Logic (If nodes): Routes data based on business characteristics
- Telegram: Sends notifications for immediate action
- Limit: Controls processing volume for cost management
Step 1: Setting Up Your Business Search Parameters
Your lead generation journey begins with a Google Sheet containing your target criteria. Create columns for keywords (like "restaurant," "dentist," or "fitness center"), specific locations ("Downtown Miami" or "Brooklyn Heights"), and country codes for geographical targeting.

The workflow reads this sheet automatically, transforming your static list into dynamic search parameters. This approach means you can update your targeting criteria without touching the workflow itself. Simply modify the spreadsheet, and your next run will search for entirely different business types or locations.
Step 2: Automated Business Discovery Through SerpAPI
Here's where the magic happens. The workflow sends your search parameters to SerpAPI, which performs Google Maps searches and returns comprehensive business information. Each search yields details like business names, addresses, phone numbers, websites, ratings, review counts, and business categories.

The HTTP Request node constructs queries combining your keywords with locations, such as "coffee shop Downtown Seattle" or "law firm Manhattan." SerpAPI handles the heavy lifting of parsing Google Maps results, returning structured data instead of requiring you to scrape web pages manually.
Step 3: Processing and Organizing Business Data
Raw API responses contain arrays of multiple businesses, so the Split Out node breaks these into individual records for personalized processing. Each business gets saved to your results Google Sheet with a unique identifier, creating a permanent database of prospects.
The workflow automatically generates WhatsApp contact links from phone numbers, making it easier to reach prospects through their preferred communication channels. This systematic organization ensures no potential lead falls through the cracks.
Step 4: AI-Powered Business Analysis and Message Generation
This step transforms raw business data into actionable insights. The workflow sends business information to OpenAI, which analyzes each company's positioning, identifies what customers likely appreciate, and suggests specific growth opportunities.
"You are a digital business consultant. Based on the business information below, write a professional message directly addressed to the business owner. The message should include: A brief summary of how the business is currently positioned, what customers likely appreciate most about the business, areas that could be improved for better visibility, engagement, or conversions, one actionable suggestion or opportunity for growth, and a short, persuasive closing line inviting them to improve their online presence or marketing strategy."
The AI generates personalized outreach messages for each business, considering their specific industry, location, and review patterns. These aren't generic templates but tailored recommendations that demonstrate genuine understanding of each prospect's situation.
Step 5: Smart Filtering and Prioritization
Not every business requires the same approach. The workflow includes conditional logic that processes businesses differently based on their characteristics. Companies with websites get additional analysis, while those without websites follow a streamlined path.
The Limit node controls how many businesses get processed in each run, helping manage API costs while ensuring thorough analysis. Processing five businesses at a time strikes the right balance between efficiency and budget control.
Step 6: Real-Time Notifications and Follow-Up Organization
When the workflow completes processing, it automatically sends formatted summaries to your Telegram chat. These notifications include business names, types, locations, and WhatsApp contact links, enabling immediate action on hot prospects.

All data gets organized in your Google Sheets with clear columns for tracking follow-up activities. You can see which businesses have been contacted, which need additional research, and which represent the highest-value opportunities.

Transforming Your Business Development Process
This automated lead generation system delivers value across multiple dimensions:
For Sales Teams: Replace hours of manual research with systematic prospect discovery. Focus energy on relationship building instead of data gathering.
For Marketing Agencies: Generate qualified leads for clients in any local market. Scale your prospecting efforts without proportionally increasing research time.
For Business Development: Identify expansion opportunities in new markets by quickly understanding the competitive landscape and potential partners.
For Consultants: Discover businesses that could benefit from your expertise, complete with AI-generated insights about their specific challenges and opportunities.
The workflow processes everything systematically, ensuring consistent quality while dramatically reducing the time between identifying a prospect and initiating contact. Instead of spending days researching and contacting a handful of businesses, you can process dozens with personalized approaches in the same timeframe.
Your lead generation process transforms from reactive searching to proactive discovery. The combination of automated research, AI-powered analysis, and organized follow-up creates a sustainable competitive advantage that scales with your business growth.
This isn't just automation for automation's sake. It's strategic leverage that frees you to focus on what humans do best: building relationships, solving problems, and closing deals. The machine handles the research; you handle the results.
Share this article
Help others discover this content
Tap and hold the link button above to access your device's native sharing options
More in Business Process Automation
Continue exploring workflows in this category

Business Process Automationintermediate
1 min read
Turn Your Customer Support Into a Sentiment-Sensing Machine with n8n and AI
Nayma Sultana
Sep 23
Est: 35 minutes

Business Process Automationintermediate
1 min read
AI-Powered HR Management Through Telegram - N8N Workflow
Nayma Sultana
Sep 16
Est: 55 minutes

Business Process Automationadvanced
1 min read
Business Canvas Generator N8N Workflow
Kazi Sakib
Sep 16
Est: 45 minutes