LinkedIn Lead Generation: Auto DM System with Comment Triggers using Unipile & NocoDB - n8n Workflow | Neura Market

    LinkedIn Lead Generation: Auto DM System with Comment Triggers using Unipile & NocoDB

    ## Short Description This LinkedIn automation workflow monitors post comments for specific trigger words and automatically sends direct messages with lead magnets to engaged users. The system checks connection status, handles non-connected users with connection requests, and prevents duplicate outreach by tracking all interactions in a database. ## Key Features - **Comment Monitoring**: Scans LinkedIn post comments for customizable trigger words. - **Connection Status Check**: Determines if users are 1st-degree connections. - **Automated DMs**: Sends personalized messages with lead magnet links to connected users. - **Connection Requests**: Asks non-connected users to connect via comment replies. - **Duplicate Prevention**: Tracks interactions in NocoDB to avoid repeat messages. - **Message Rotation**: Uses different comment reply variations for authenticity. - **Batch Processing**: Handles multiple comments with built-in delays. ## Who This Workflow Is For - Content creators looking to convert post engagement into leads. - Coaches and consultants sharing valuable LinkedIn content. - Anyone wanting to automate lead capture from LinkedIn posts. ## How It Works 1. **Setup**: Configure post ID, trigger word, and lead magnet link via form. 2. **Comment Extraction**: Retrieves all comments from the specified post using [Unipile](https://www.unipile.com/?utm_source=partner&utm_campaign=spalato). 3. **Trigger Detection**: Filters comments containing the specified trigger word. 4. **Connection Check**: Determines if commenters are 1st-degree connections. 5. **Smart Routing**: Connected users receive DMs, others get connection requests. 6. **Database Logging**: Records all interactions to prevent duplicates. ## Setup Requirements ### Required Credentials - **[Unipile](https://www.unipile.com/?utm_source=partner&utm_campaign=spalato) API Key**: For LinkedIn API access. - **NocoDB API Token**: For database tracking. ### Database Structure **Table: leads** - `linkedin_id`: LinkedIn user ID. - `name`: User's full name. - `headline`: LinkedIn headline. - `url`: Profile URL. - `date`: Interaction date. - `posts_id`: Post reference. - `connection_status`: Network distance. - `dm_status`: Interaction type (sent/connection request). ## Customization Options - **Message Templates**: Modify DM and connection request messages. - **Trigger Words**: Change the words that activate the workflow. - **Timing**: Adjust delays between messages (8-12 seconds default). - **Reply Variations**: Add more comment reply options for authenticity. ## Installation Instructions 1. Import the workflow into your n8n instance. 2. Set up NocoDB database with required table structure. 3. Configure [Unipile](https://www.unipile.com/?utm_source=partner&utm_campaign=spalato) and NocoDB credentials. 4. Set environment variables for Unipile root URL and LinkedIn account ID. 5. Test with a sample post before full use.

    Platform
    n8n
    Category
    Marketing
    Price
    Free
    Creator
    Alexandra Spalato
    • demo
    • unipile
    • linkedin
    • if
    • code
    • wait
    • merge
    • filter
    • nocoDb
    • splitOut
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related Marketing workflows

    • Automate UGC Video Creation and Instagram Posting with Google Gemini and Veo 3Free
    • Automate Lead Generation and Cold Email Outreach
    Free
  1. Automate Professional Video Ad Creation from Product ImagesFree
  2. Track SEO Keyword Rankings with Bright Data MCP and GP-40 AI AnalysisFree
  3. Automate Google Maps Data Scraping and Email Discovery for Local Business OutreachFree
  4. Automate AI-Driven Social Media Content for Auto ServicesFree
  5. All Marketing workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.