Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Lead Generation & Enrichment

Lead Generation & Enrichment

Scrape Google Maps Leads and Write Outreach with AI

When you run it, Apify scrapes Google Maps businesses, Firecrawl enriches their sites, an OpenAI agent writes personalized outreach and leads are saved to Google Sheets.

What it does

## Try It Out! ### This n8n template demonstrates how to automate business lead generation from Google Maps using the Apify Google Maps Scraper, with built-in enrichment and personalized outreach—all in one seamless workflow. For leads missing contact or social info, a second workflow crawls their websites and extracts social media profiles automatically. Use cases include: - Building targeted lead lists for sales or marketing - Enriching business data for CRM or analytics - Automating personalized email or LinkedIn outreach ### How it works * The workflow starts with a trigger (manual, webhook, or schedule) to kick off the process. * The Apify Google Maps Scraper node collects business data and, if enrichment is enabled in the scraper settings, automatically enriches each lead with contact details and social profiles. * AI-powered nodes generate personalized outreach messages for each lead, using the enriched business data and your custom prompt. * Leads that do not have enrichment (e.g., missing contact or social info) are automatically saved to a separate Google Sheet. * A second workflow monitors this Google Sheet, and for each un-enriched lead: * Uses Firecrawl to scrape the business’s website. * Runs a Code node to extract social media profiles (LinkedIn, Facebook, Twitter, Instagram, etc.) from the website content. * Updates the Google Sheet with any new social/contact info found. * The final enriched leads and personalized messages can be sent to your CRM, email tool, or exported as needed. ### How to use * Start with the manual trigger node, or swap it for a webhook or schedule trigger to automate. * Set your search parameters (location, keywords, etc.) in the Apify Google Maps Scraper node. * In the Apify scraper settings, enable enrichment to automatically gather contact and social info. * Update the personalization step to fit your outreach style or data needs. * Connect the final output to your preferred destination (email, CRM, Google Sheets, etc.). * For leads without enrichment: * Use the provided second workflow: * It reads the Google Sheet of un-enriched leads. * Uses Firecrawl to crawl each website. * Extracts social media links using a Code node. * Updates the Google Sheet with any new info found. * This allows you to further enrich your lead list automatically, even if the initial scraper missed some data. ### Requirements * Apify accoun

The steps

  1. When clicking ‘Execute workflow’
  2. HTTP Request
  3. Edit Fields2
  4. Loop Over Items
  5. AI Agent
  6. Append or update row in sheet3
  7. Code
  8. Filter3
  9. Filter5
  10. Edit Fields
  11. OpenAI Chat Model
  12. Filter
  13. Edit Fields1
  14. Append or update row in sheet

21 steps in total.

Similar automations