Use this powerful n8n workflow to automate B2B lead generation. Scrape Google Maps via Apify, analyze websites, and use the OpenAI n8n node to generate personalized sales emails, saving all results to Google Sheets. Find more advanced n8n templates.
Download this n8n workflow template and start using it instantly.
This specialized n8n workflow solves the tedious, resource-intensive problem of manual lead research and cold email personalization. By utilizing the Apify n8n node, the process starts by automatically pulling qualified local business leads from Google Maps based on configured criteria (e.g., location and business type). For each lead, the n8n workflow analyzes the business's website content via an HTTP Request n8n node. It then passes this highly relevant contextual data to the OpenAI n8n node, which drafts a unique, highly personalized sales pitch. This pitch specifically connects your defined service's Unique Selling Proposition (USP) directly to the lead's profile and scraped needs. Finally, all the structured data, including the AI-generated email draft, is cataloged reliably in Google Sheets. This robust n8n workflow template significantly accelerates B2B outreach efforts, ensuring maximum personalization and efficiency.
The entire automated process starts with a manual n8n trigger, following these key steps:
Set n8n node, titled 'Workflow Configuration,' defines critical parameters. These include the target geographical area and search query (e.g., '渋谷 カフェ'), the maximum number of leads (maxPlaces), and specific details about the service being sold, such as serviceName and serviceStrength.Split in Batches n8n node, 'Loop Over Items,' iterates through each lead provided by Apify. An IF n8n node checks if a valid website URL exists for the business. Only leads with a website proceed down the main path of the n8n workflow.Code n8n node cleans the HTML by removing scripts and styles and extracts the first 2000 characters of essential plain text. This is crucial context for the AI.To deploy this powerful n8n workflow and start generating leads, follow these installation steps:
compass/google-maps-scraper).店舗名, 住所, Webサイト, 電話番号, サイトから取得した情報, 生成されたメール件名, 生成されたメール本文.Set n8n node and update the following values to match your outreach campaign:searchQuery: Your target keyword and location (e.g., 'London bakeries').serviceName and serviceStrength: Describe your product's name and its key benefit (USP).This n8n workflow template uses several critical n8n nodes to achieve complex automation:
Manual Trigger n8n Trigger: Starts the n8n workflow execution upon user command. Essential for testing and single-run operations.
Workflow Configuration (Set n8n node): Holds all dynamic variables for the run, centralizing parameters like search query, lead limits, and service details. This makes the n8n workflow highly reusable.
Get user runs list (Apify n8n node): Responsible for executing the Google Maps Scraper and retrieving the results, supplying the subsequent nodes with structured lead data.
Loop Over Items (Split In Batches n8n node): Ensures that every single lead harvested by Apify is processed sequentially through the subsequent AI and scraping logic.
Check Website URL Exists (If n8n node): A core logic n8n node that filters the data stream, ensuring the costly website scraping and AI generation steps are only performed on leads that provide a valid website address (website field is not empty).
Fetch Website HTML (HTTP Request n8n node): Downloads the raw content from the business's website using the URL passed from the Apify n8n node.
Extract Text from HTML (Code n8n node): A custom n8n node that executes JavaScript to sanitize the retrieved HTML, extracting clean, readable text to provide focused context for the AI generation step.
Generate Personalized Email (OpenAI n8n node): The key generative n8n node. It accepts the scraped text and user configuration, leveraging Large Language Models to craft unique, context-aware sales emails. It outputs the generated email body and subject line.
Automate personalized promo card generation and email delivery using this robust n8n workflow. Features email verification, success logging to Google Sheets, and admin error alerts for fraud prevention.

Use this powerful n8n workflow to automate hyper-personalized music promotion and booking emails. It analyzes Gmail context, filters contacts, and uses advanced GPT integration for custom HTML drafts.

Automate your marketing outreach using this powerful n8n workflow. It pulls offer data from Google Sheets, generates persuasive copy using Llama AI, and delivers personalized emails through Gmail. Find more useful n8n templates here.

Use this powerful n8n workflow template to automate cold outreach. Scrape LinkedIn profiles via Apify, enrich data, and generate highly personalized emails using the Claude 3.7 LLM via the OpenRouter n8n node, then send automatically via Gmail.

Use this powerful n8n workflow to automate highly personalized sales emails. Integrates MadKudu research, OpenAI content generation, and seamless synchronization into Outreach.io sequences and CRM fields.

Use this powerful n8n workflow to automatically scrape LinkedIn job openings, enrich leads via Apollo.io, and generate hyper-personalized cold emails using Google Gemini. Ideal n8n templates for B2B sales.









































