End-to-end B2B real estate lead enrichment & outreach with Apify, Relevance, OpenAI & Sheets
This advanced n8n workflow automates the full lead enrichment, qualification, and personalized outreach process tailored specifically for the B2B real estate sector. Integrating top platforms like Apify, Relevance, OpenAI, and Google Sheets, it empowers sales and marketing teams to streamline prospect data enrichment, lead scoring, and engagement without manual data handling.
Features:
-
Form-Driven Lead Capture: Automated intake via Fillout form submissions capturing comprehensive lead and project details.
-
Email Verification:Ensures email validity with Apify, allowing outreach only to verified contacts.
-
Company & Profile Enrichment:Deep crawls of company websites paired with detailed LinkedIn profile scraping using Relevance.
-
Project Documentation Processing:Downloads and extracts text from submitted PDF project briefs or investor decks, enhancing semantic search capabilities.
-
Unified Lead Profiles: Merges all data sources—email validation, website content, LinkedIn insights, and project documents—to build enriched, actionable lead records.
-
AI-Driven Summaries & Scoring: Uses OpenAI to generate readable profile/company/project summaries and assigns lead quality scores to prioritize efforts.
-
Instant Hot Lead Alerts: Routes urgent prospects to Slack channels for rapid internal response.
-
Personalized Outreach Automation: Creates unique icebreaker messages based on AI insights and automates email sending via Gmail.
-
Robust Data & Report Management: Maintains lead data and automated PDF summaries in fresh copies of Google Sheets for organized tracking and collaboration.
-
Manual Controls & Semantic Indexing: Supports manual workflow triggers and inserts project document embeddings into Pinecone vector stores for enhanced document intelligence.
Who’s This For
-
Commercial Real Estate Brokers & Agents: Automate lead qualification, enrich prospect data, and accelerate personalized outreach to close deals faster.
-
Real Estate Investors & Developer Teams: Efficiently gather and analyze investment project data, verify contacts, and monitor promising leads with AI-enhanced scoring and notifications.
-
B2B Real Estate Marketing & Sales Teams: Streamline lead intake from web forms and optimize campaign engagement with AI-driven profiling and tailored messaging.
-
Property Management Firms: Centralize client and project data enrichment, validation, outreach, and reporting in an automated, scalable workflow.
-
Business Development Managers in Real Estate Sector: Gain actionable insights from multiple data sources (LinkedIn, websites, project decks) to prioritize outreach and close high-value clients.
-
Anyone looking for scalable, AI-powered B2B lead enrichment and outreach automation in the real estate industry.
Setup Instructions Ensure you have an n8n instance and API/OAuth credentials for Apify, Relevance, OpenAI, Google Sheets, Gmail, and Slack. Import the workflow JSON into n8n, then configure all credentials in the Credentials manager. Link the Fillout trigger node to your form webhook. Prepare a Google Sheets master template; the workflow copies it fresh each run for clean data. Add your OpenAI and Slack API keys, configure Gmail OAuth for email sending, then test end-to-end before activating.
End-to-End B2B Real Estate Lead Enrichment & Outreach with Apify, Relevance, OpenAI & Sheets
This n8n workflow automates the process of enriching B2B real estate leads and initiating personalized outreach. It starts by extracting new leads from a Google Sheet, enriches them with property data using Apify, leverages OpenAI for relevance scoring and email generation, and then facilitates outreach via Gmail and Slack.
What it does
- Triggers on New Google Sheet Rows: The workflow is activated whenever new rows (representing new leads) are added to a specified Google Sheet.
- Extracts Lead Data: It reads the newly added lead data from the Google Sheet.
- Enriches Lead with Apify: For each lead, it makes an HTTP request to an Apify actor to gather detailed property information based on the provided lead data.
- Processes Apify Results: It extracts relevant data from the Apify response, such as property details, and prepares it for further AI processing.
- Calculates Lead Relevance with OpenAI: It uses an OpenAI Chat Model to assess the relevance of each lead based on the enriched property data and a predefined persona, outputting a relevance score and a brief explanation.
- Generates Personalized Outreach Email with OpenAI: For relevant leads (score > 6), it uses another OpenAI Chat Model to generate a personalized outreach email draft.
- Stores Enriched Data in Google Drive: It saves the enriched lead data, including relevance scores and email drafts, as a JSON file in Google Drive for record-keeping.
- Updates Google Sheet: It updates the original Google Sheet with the enrichment results, relevance score, explanation, and generated email draft.
- Notifies via Slack (High Relevance): If a lead's relevance score is high (e.g., > 6), it sends a notification to a Slack channel with the lead details and generated email.
- Sends Email via Gmail (High Relevance): For highly relevant leads, it sends the personalized outreach email via Gmail.
- Merges Data: The workflow uses a Merge node to combine data streams from different branches (e.g., after Google Drive upload and Google Sheet update) before proceeding.
Prerequisites/Requirements
- n8n Account: A running n8n instance.
- Google Sheets: A Google Sheet containing your B2B real estate leads.
- Google Drive: A Google Drive account for storing enriched data.
- Apify Account: An Apify account with access to a property data scraping actor.
- OpenAI API Key: An OpenAI API key for AI Agent, Chat Model, and Embeddings.
- Slack Account: A Slack workspace for notifications.
- Gmail Account: A Gmail account for sending outreach emails.
Setup/Usage
- Import the workflow: Download the JSON provided and import it into your n8n instance.
- Configure Credentials:
- Google Sheets: Set up a Google Sheets credential to connect to your lead spreadsheet.
- Google Drive: Configure a Google Drive credential for file storage.
- HTTP Request (Apify): Set up an HTTP Request node with your Apify API key and the URL for your chosen Apify actor.
- OpenAI: Configure OpenAI credentials for the "AI Agent", "Embeddings OpenAI", and "OpenAI Chat Model" nodes.
- Slack: Set up a Slack credential and specify the channel for notifications.
- Gmail: Configure a Gmail credential for sending emails.
- Customize Google Sheets Trigger:
- Specify the Spreadsheet ID and Sheet Name where your leads are located.
- Ensure the trigger is set to "New Row" to process new leads automatically.
- Adjust Apify Request:
- Modify the HTTP Request node to correctly call your Apify actor, passing the necessary lead data (e.g., address, company name).
- Refine OpenAI Prompts:
- In the "AI Agent" node, adjust the prompt to accurately assess lead relevance based on your specific criteria and target persona.
- In the "OpenAI Chat Model" node used for email generation, customize the prompt to generate outreach emails that align with your brand voice and sales strategy.
- Set Relevance Thresholds:
- In the "Switch" node, adjust the condition for
relevance_scoreto define what constitutes a "high relevance" lead for Slack notifications and email outreach.
- In the "Switch" node, adjust the condition for
- Configure Slack and Gmail:
- Specify the target Slack channel and customize the message content.
- Set the recipient, subject, and body of the Gmail email, utilizing the generated email draft.
- Activate the workflow: Once configured, activate the workflow to start processing new leads automatically.
Related Templates
Send WooCommerce discount coupons to customers via WhatsApp using Rapiwa API
Who is this for? This workflow is ideal for WooCommerce store owners who want to automatically send promotional WhatsApp messages to their customers when new coupons are created. It’s designed for marketers and eCommerce managers looking to boost engagement, streamline coupon sharing, and track campaign performance effortlessly through Google Sheets. Overview This workflow listens for WooCommerce coupon creation events (coupon.created) and uses customer billing data to send promotional WhatsApp messages via the Rapiwa API. The flow formats the coupon data, cleans phone numbers, verifies WhatsApp registration with Rapiwa, sends the promotional message when verified, and logs each attempt to Google Sheets (separate sheets for verified/sent and unverified/not sent). What this Workflow Does Listens for new coupon creation events in WooCommerce via the WooCommerce Trigger node Retrieves all customer data from the WooCommerce store Processes customers in batches to control throughput Cleans and formats customer phone numbers for WhatsApp Verifies if phone numbers are valid WhatsApp accounts using Rapiwa API Sends personalized WhatsApp messages with coupon details to verified numbers Logs all activities to Google Sheets for tracking and analysis Handles both verified and unverified numbers appropriately Key Features Automated coupon distribution: Triggers when new coupons are created in WooCommerce Customer data retrieval: Fetches all customer information from WooCommerce Phone number validation: Verifies WhatsApp numbers before sending messages Personalized messaging: Includes customer name and coupon details in messages Dual logging system: Tracks both successful and failed message attempts Rate limiting: Uses batching and wait nodes to prevent API overload Data formatting: Structures coupon information for consistent messaging Google Sheet Column Structure A Google Sheet formatted like this ➤ sample The workflow uses a Google Sheet with the following columns to track coupon distribution: | name | number | email | address1 | couponCode | couponTitle | couponType | couponAmount | createDate | expireDate | validity | status | | ----------- | ------------- | --------------------------------------------------- | --------- | ---------- | -------------- | ---------- | ------------ | ------------------- | ------------------- | ---------- | -------- | | Abdul Mannan | 8801322827799 | contact@spagreen.net | mirpur-DOHS | 62dhryst | eid offer 2025 | percent | 20.00 | 2025-09-11 06:08:02 | 2025-09-15 00:00:00 | unverified | not sent | | Abdul Mannan | 8801322827799 | contact@spagreen.net | mirpur-DOHS | 62dhryst | eid offer 2025 | percent | 20.00 | 2025-09-11 06:08:02 | 2025-09-15 00:00:00 | verified | sent | Requirements n8n instance with the following nodes: WooCommerce Trigger, Code, SplitInBatches, HTTP Request, IF, Google Sheets, Wait WooCommerce store with API access Rapiwa account with API access for WhatsApp verification and messaging Google account with Sheets access Customer phone numbers in WooCommerce (stored in billing.phone field) Important Notes Phone Number Format: The workflow cleans phone numbers by removing all non-digit characters. Ensure your WooCommerce phone numbers are in a compatible format. API Rate Limits: Rapiwa and WooCommerce APIs have rate limits. Adjust batch sizes and wait times accordingly. Data Privacy: Ensure compliance with data protection regulations when sending marketing messages. Error Handling: The workflow logs unverified numbers but doesn't have extensive error handling. Consider adding error notifications for failed API calls. Message Content: The current message template references the first coupon only (coupons[0]). Adjust if you need to handle multiple coupons. Useful Links Dashboard: https://app.rapiwa.com Official Website: https://rapiwa.com Documentation: https://docs.rapiwa.com Support & Help WhatsApp: Chat on WhatsApp Discord: SpaGreen Community Facebook Group: SpaGreen Support Website: https://spagreen.net Developer Portfolio: Codecanyon SpaGreen
Create verified user profiles with email validation, PDF generation & Gmail delivery
Verified User Profile Creation - Automated Email Validation & PDF Generation --- Overview This comprehensive automation workflow streamlines the user onboarding process by validating email addresses, generating professional profile PDFs, and delivering them seamlessly to verified users. 🎯 What This Workflow Does: Receives User Data - Webhook trigger accepts user signup information (name, email, city, profession, bio) Validates Email Addresses - Uses VerifiEmail API to ensure only legitimate email addresses proceed Conditional Branching - Smart logic splits workflow based on email verification results Generates HTML Profile - Creates beautifully styled HTML templates with user information Converts to PDF - Transforms HTML into professional, downloadable PDF documents Email Delivery - Sends personalized welcome emails with PDF attachments to verified users Data Logging - Records all verified users in Google Sheets for analytics and tracking Rejection Handling - Notifies users with invalid emails and provides guidance ✨ Key Features: ✅ Email Verification - Prevents fake registrations and maintains data quality 📄 Professional PDF Generation - Beautiful, branded profile documents 📧 Automated Email Delivery - Personalized welcome messages with attachments 📊 Google Sheets Logging - Complete audit trail of all verified users 🔀 Smart Branching - Separate paths for valid and invalid emails 🎨 Modern Design - Clean, responsive HTML/CSS templates 🔒 Secure Webhook - POST endpoint for seamless form integration 🎯 Perfect Use Cases: User registration systems Community membership verification Professional certification programs Event registration with verified attendees Customer onboarding processes Newsletter signup verification Educational platform enrollments Membership card generation 📦 What's Included: Complete workflow with 12 informative sticky notes Pre-configured webhook endpoint Email verification integration PDF generation setup Gmail sending configuration Google Sheets logging Error handling guidelines Rejection email template 🛠️ Required Integrations: VerifiEmail - For email validation (https://verifi.email) HTMLcsstoPDF - For PDF generation (https://htmlcsstopdf.com) Gmail OAuth2 - For email delivery Google Sheets OAuth2 - For data logging ⚡ Quick Setup Time: 15-20 minutes 🎓 Skill Level: Beginner to Intermediate --- Benefits: ✅ Reduces manual verification work by 100% ✅ Prevents spam and fake registrations ✅ Delivers professional branded documents automatically ✅ Maintains complete audit trail ✅ Scales effortlessly with user growth ✅ Provides excellent user experience ✅ Easy integration with any form or application --- Technical Details: Trigger Type: Webhook (POST) Total Nodes: 11 (including 12 documentation sticky notes) Execution Time: ~3-5 seconds per user API Calls: 3 external (VerifiEmail, HTMLcsstoPDF, Google Sheets) Email Format: HTML with binary PDF attachment Data Storage: Google Sheets (optional) --- License: MIT (Free to use and modify) --- 🎁 BONUS FEATURES: Comprehensive sticky notes explaining each step Beautiful, mobile-responsive email template Professional PDF styling with modern design Easily customizable for your branding Ready-to-use webhook endpoint Error handling guidelines included --- Perfect for: Developers, No-code enthusiasts, Business owners, SaaS platforms, Community managers, Event organizers Start automating your user verification process today! 🚀
Monitor stock market with AI: news analysis & multi-channel alerts via Slack & Telegram
AI Customer Support Triage with Gmail, OpenAI, Airtable & Slack How it Works This workflow monitors your Gmail support inbox every minute, automatically sending each unread email to OpenAI for intelligent analysis. The AI evaluates sentiment (Positive/Neutral/Negative/Critical), urgency level (Low/Medium/High/Critical), categorizes requests (Technical/Billing/Feature Request/Bug Report/General), extracts key issues, and generates professional response templates. The system calculates a priority score (0-110) by combining urgency and sentiment weights, then routes tickets accordingly. Critical issues trigger immediate Slack alerts with full context and 30-minute SLA reminders, while routine tickets post to standard monitoring channels. Every ticket logs to Airtable with complete analysis and thread tracking, then updates a Google Sheets dashboard for real-time analytics. A secondary AI pass generates strategic insights (trend identification, risk assessment, actionable recommendations) and stores them back in Airtable. The entire process takes seconds from email arrival to team notification, eliminating manual triage and ensuring critical issues get immediate attention. --- Who is this for? Customer support teams needing automated prioritization for high email volumes SaaS companies tracking support metrics and response times Startups with lean teams requiring intelligent ticket routing E-commerce businesses managing technical, billing, and return inquiries Support managers needing data-driven insights into customer pain points --- Setup Steps Setup time: 20-30 minutes Requirements: Gmail, OpenAI API key, Airtable account, Google Sheets, Slack workspace Monitor Support Emails: Connect Gmail via OAuth2, configure INBOX monitoring for unread emails AI Analysis Engine: Add OpenAI API key, system prompt pre-configured for support analysis Parse & Enrich Data: JavaScript code automatically calculates priority scores (no changes needed) Route by Urgency: Configure routing rules for critical vs routine tickets Slack Alerts: Create Slack app, get bot token and channel IDs, replace placeholders in nodes Airtable Database: Create base with "tblSupportTickets" table, add API key and Base ID (replace appXXXXXXXXXXXXXX) Google Sheets Dashboard: Create spreadsheet, enable Sheets API, add OAuth2 credentials, replace Sheet ID (1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX) Generate Insights: Second OpenAI call analyzes patterns, stores insights in Airtable Test: Send test email, verify Slack alerts, check Airtable/Sheets data logging --- Customization Guidance Priority Scoring: Adjust urgency weight (25) and sentiment weight (10) in Code node to match your SLA requirements Categories: Modify AI system prompt to add industry-specific categories (e.g., healthcare: appointments, prescriptions) Routing Rules: Add paths for High urgency, VIP customers, or specific categories Auto-Responses: Insert Gmail send node after routine tickets for automatic acknowledgment emails Multi-Language: Add Google Translate node for non-English support VIP Detection: Query CRM APIs or match email domains to flag enterprise customers Team Assignment: Route different categories to dedicated Slack channels by department Cost Optimization: Use GPT-3.5 (~$0.001/email) instead of GPT-4, self-host n8n for unlimited executions --- Once configured, this workflow operates as your intelligent support triage layer—analyzing every email instantly, routing urgent issues to the right team, maintaining comprehensive analytics, and generating strategic insights to improve support operations. --- Built by Daniel Shashko Connect on LinkedIn