Generate Ideal Customer Profile Leads & Personalized Pitches with GPT-4o-mini, Perplexity and Apify
n8n Workflow: Automated Lead Generation & Personalized Outreach
Overview This n8n workflow automates the entire lead generation and personalized email creation process for businesses. It analyzes a company's profile, identifies ideal customer profiles (ICP), finds matching leads, and generates customized outreach emails.
Workflow Components
- JotForm Trigger Purpose: Form Submission Entry Point
Captures business information through JotForm (Form ID: 252802732808054) Initiates the automation workflow when form is submitted Collects company website and business details
- Perplexity API Integration Purpose: Company Analysis
Method:** POST request to Perplexity AI Search API Function:** Performs detailed research on the submitted company website Output:** Comprehensive business intelligence and market positioning data
- ICP Finder (OpenAI GPT-4o-mini) Purpose: Ideal Customer Profile Creation
Model:** GPT-4o-mini Role:** Expert client acquisition manager Task:** Analyzes company details and generates best-fit customer profile Input:** Company snippet from Perplexity research Output:** Detailed ICP description
- Edit Fields Purpose: Data Transformation
Extracts and formats the ICP output Prepares data for next workflow stage Ensures clean data flow between nodes
- ICP Industry Finder (OpenAI GPT-4o-mini) Purpose: Industry Classification
Model:** GPT-4o-mini Role:** Expert ICP analyzer Task:** Identifies specific business sector matching the ICP Rules:** Returns single industry sector only Uses professional terminology (e.g., "healthcare", "call centre", "plumber") Excludes all SaaS-related companies Avoids generic terms like "technology industry" Output:** Single industry sector name
- Leads Generator (Apify API) Purpose: Lead Discovery
API:** Local Business Lead Generator by james.logantech Method:** Synchronous run with dataset items retrieval Configuration:** Location: United States Maximum Results: 5 leads Business Types: Based on ICP industry output Output:** List of qualified business leads
- Loop Over Items Purpose: Batch Processing
Processes leads individually Enables personalized email creation for each lead Controls workflow iteration
- Personalized Emails (Apify API) Purpose: Custom Email Generation
API:** Pitches Pro by onescales Method:** Synchronous run with dataset items retrieval Configuration:** Promoting: Automation services Benefits: "Save 10+ hours per week by automating manual tasks" Goal: Partnership Tone: Professional yet approachable, confident but not pushy Language: English Additional Notes: Focus on time-saving, avoid technical jargon, include soft CTA Output:** Personalized email for each lead
Data Flow JotForm → Perplexity Analysis → ICP Generation → Field Formatting → Industry Classification → Lead Discovery → Batch Processing → Email Personalization
Key Features
✅ Fully Automated: No manual intervention required
✅ AI-Powered: Uses GPT-4o-mini for intelligent ICP analysis
✅ Personalized: Custom emails for each prospect
✅ Scalable: Processes multiple leads in batches
✅ Time-Saving: Automates 10+ hours of manual work per week
Requirements
APIs Required:** Perplexity AI (with Authorization token) OpenAI (GPT-4o-mini access) Apify (2 actors: Local Business Lead Generator & Pitches Pro) Form Platform:** JotForm account n8n Instance:** Self-hosted or cloud
Related Templates
Automate Free IP Analysis: NixGuard AI Summaries & Wazuh Integration
Supercharge Your Security Operations for Free Stop wasting time manually investigating suspicious IP addresses. This wo...
AI Agent with Ollama for current weather and wiki
This workflow template demonstrates how to create an AI-powered agent that provides users with current weather informati...
Automate Daily YouTrack Task Summaries to Discord by Assignee
Daily YouTrack In-Progress Tasks Summary to Discord by Assignee Keep your team in sync with a daily summary of tasks cu...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments