CRM Integration
Generated in 11.89s

AI-Powered Lead Generation Machine

Advanced multi-platform lead generation system that collects leads from LinkedIn, Reddit, and X (Twitter), qualifies them using AI, personalizes outreach, automates follow-ups, and tracks ROI with audit logs.

Prompt

You are an expert n8n workflow architect. Create a COMPLETE, production-ready n8n workflow for an advanced, AI-powered Lead Generation Machine. GOAL: Automatically collect leads from LinkedIn, Reddit, X (Twitter), and inbound sources, intelligently qualify them using AI, personalize outreach, automate follow-ups, track ROI, and maintain audit logs — with zero manual work. ==================== A. TRIGGERS ==================== 1. Webhook Trigger (POST) - Accept lead data: name, email, phone, company, role, message, profile URL, source 2. Scheduled Trigger (Cron) - Runs daily - Used for LinkedIn, Reddit, and X lead collection ==================== B. LEAD COLLECTION ==================== 3. LinkedIn Scraping - Use PhantomBuster / TexAu / Apify - Extract: Name, Role, Company, LinkedIn URL, Location - Source tag: LinkedIn 4. Reddit Monitoring - Monitor subreddits + keywords - Extract: Username, text, subreddit, post URL - Use AI to detect buying intent - Source tag: Reddit 5. X (Twitter) Monitoring - Monitor keywords, hashtags, competitor mentions - Extract: Username, bio, tweet text, profile URL - Use AI to detect intent - Source tag: X ==================== C. DATA CLEANING & EMAIL DISCOVERY ==================== 6. Normalize Data - Trim spaces - Standardize names - Lowercase emails 7. Email Discovery - Use Hunter / Apollo / Clearbit (mock if unavailable) - If no email → mark "No Email Found" 8. Email Validation - Validate email format - Stop workflow if invalid ==================== D. DUPLICATE CHECK ==================== 9. Duplicate Detection - Check by email OR social profile URL - Use Google Sheets / Airtable - Stop if duplicate ==================== E. ENRICHMENT ==================== 10. Company & Person Enrichment - Add: company size, industry, website, country ==================== F. AI BUYER PERSONA DETECTION (NEW) ==================== 11. AI Persona Classification - Use OpenAI node - Classify lead as: - Founder - CXO - Marketing Head - Sales Head - Developer - SMB Owner - Store persona tag ==================== G. LEAD SCORING & INTENT ==================== 12. Rule-Based Scoring (0–100) - Business email +30 - Decision-maker role +25 - Company size >10 +20 - Strong Reddit/X intent +15 - Industry match +10 13. Lead Status - Hot (≥70) - Warm (40–69) - Cold (<40) ==================== H. AI QUALIFICATION ==================== 14. OpenAI Qualification - Summarize intent in 2 lines - Assess urgency - Suggest best outreach channel - Save output ==================== I. TIME-ZONE & BEST-TIME SENDING (NEW) ==================== 15. Time Optimization - Detect lead country/time zone - Schedule email/DM at best local time ==================== J. DATA STORAGE ==================== 16. Central Lead Database - Store in Google Sheets / Airtable - Include: - Persona - Lead score - Intent - Outreach status - Source ==================== K. MULTI-STEP OUTREACH & FOLLOW-UPS (NEW) ==================== 17. Outreach Logic IF Hot Lead: - Generate personalized cold email (AI) - Generate LinkedIn/X DM copy - Generate short AI voice note (WhatsApp/Telegram) - Send immediately IF Warm Lead: - Delay first message by 24 hours - Softer email tone IF No Reply: - Follow-up 1 after 2 days - Follow-up 2 after 5 days - Break-up message after 10 days ==================== L. AUTO CALENDAR BOOKING (NEW) ==================== 18. Meeting Automation - If lead replies with interest: - Send Calendly link - Auto-update status to "Meeting Booked" ==================== M. LEAD COOLING DETECTION (NEW) ==================== 19. Cooling Logic - If no activity for 30–60 days: - Mark as "Cooling" - Trigger re-engagement campaign ==================== N. LEAD SOURCE ROI ANALYTICS (NEW) ==================== 20. Source Performance Tracking - Track: - Leads per source - Replies per source - Meetings per source - Conversion rate - Update analytics dashboard daily ==================== O. AUDIT LOGS (NEW) ==================== 21. Activity Logging - Log every action: - Lead created - Email/DM sent - Follow-up sent - Meeting booked - Store timestamp + action + source ==================== P. ERROR HANDLING ==================== 22. Error Trigger - Catch failures - Log errors - Notify admin ==================== Q. BEST PRACTICES ==================== - Modular node structure - Clear node names - No hardcoded secrets - Credential placeholders only - Scalable and readable design OUTPUT FORMAT: - Generate the full n8n workflow - Node-by-node structure - Logical connections - Ready to recreate or import in n8n

English: Create an AI-powered lead generation workflow that automatically collects leads from LinkedIn, Reddit, X (Twitter), qualifies them using AI, personalizes outreach, automates follow-ups, and tracks ROI.

Generated Workflow

Loading workflow preview...

n8nworkflowlead-generationailinkedinreddittwitteroutreachautomation

Create Your Own Workflows

Install n8n Builder and generate custom workflows with AI in seconds.