🎣 Send LinkedIn connection requests to competitor post commenters via ConnectSafely.ai

⚡ 31 views · 🎣 Lead Generation & Enrichment

💡 Pro Tip — For competitive intelligence, ScraperNode can automate the data collection — Yelp reviews, Glassdoor company data, and Crunchbase profiles all return structured JSON you can feed straight into this workflow.

View All Scrapers

Description

Who’s it for

This workflow is built for sales professionals, recruiters, growth marketers, and founders who want to convert engaged LinkedIn audiences into warm leads. Perfect for anyone running competitive intelligence, building prospect lists from viral content, or targeting people who’ve already shown interest in your industry.

If you’re watching competitors get massive engagement on their posts while their commenters slip away uncontacted, this automation captures those profiles and sends personalized connection requests automatically—with built-in daily limits that respect LinkedIn’s guidelines.

Ideal for:


How it works

The workflow extracts all commenters from any LinkedIn post, filters out competitor employees, and sends personalized connection requests with intelligent daily limits that automatically pause overnight and resume the next day.

The process flow:

  1. Submit a form with the post URL, competitor name, and optional custom message
  2. Extract all commenters from the post via ConnectSafely.ai API
  3. Deduplicate profiles to avoid sending multiple requests
  4. Loop through each profile sequentially
  5. Check daily limit—if reached, automatically wait until midnight and resume
  6. Filter out profiles that work at the competitor company
  7. Send personalized connection request with {firstName} placeholder support
  8. Log results and increment the daily counter
  9. Wait 3 seconds between requests for safety
  10. Generate a summary report when complete

The magic: When you hit your daily limit (default: 8), the workflow calculates seconds until midnight, pauses automatically, then resumes processing the next day. Submit once, let it run for days.


Setup steps

Step 1: Get Your ConnectSafely.ai API Credentials

Obtain API Key:

  1. Log into ConnectSafely.ai Dashboard
  2. Click API Key in the left side menu
  3. Copy your API key (you’ll need this in the next step)

Add Bearer Auth Credential in n8n:

  1. Go to Credentials in n8n
  2. Click Add Credential → Header Auth
  3. Set Name: Authorization
  4. Set Value: Bearer YOUR_API_KEY (replace with your actual key)
  5. Save the credential

Step 2: Configure the Workflow

2.1 Open the Set Config Node

Customize your daily limit and other settings:

ParameterDescriptionDefault
dailyLimitMaximum connection requests per day8

Pro Tips:

2.2 Update HTTP Request Nodes

Select your ConnectSafely.ai Header Auth credential in these nodes:


Step 3: Test the Workflow

  1. Click Test Workflow on the Form Trigger node
  2. Fill in the form:
    • Post URL: Full LinkedIn post URL (e.g., https://www.linkedin.com/posts/competitor_topic-activity-123456789)
    • Competitor Name: Company name to filter out (e.g., Competitor Inc)
    • Connection Message: Optional personalized message with {firstName} placeholder
  3. Monitor the execution:
    • Verify comments are extracted
    • Check that competitor employees are filtered
    • Confirm connection requests are sent
    • Watch the daily limit counter increment

Step 4: Deploy for Production

  1. Activate the workflow using the toggle in the top-right
  2. Access the form via the production URL shown in the Form Trigger node
  3. Bookmark the form URL for easy access
  4. Submit the form and let the workflow run automatically

Customization

Connection Message Templates

Sales Outreach:

Hi {firstName}, noticed your comment on that [industry] post. I'm working on similar challenges at [Your Company]—would love to connect and share insights.

Recruiting:

Hi {firstName}, your perspective on [topic] stood out. We're building something exciting at [Company] and I'd love to connect.

Founder Networking:

Hey {firstName}, great take on that thread. Always looking to connect with folks thinking deeply about [industry]. Let's stay in touch!

Minimal (Higher Acceptance):

Hi {firstName}, enjoyed your comment. Let's connect!

Adjusting Daily Limits

Open the Set Config node and modify:

{
  "dailyLimit": 10
}

Recommended limits by account age:

Extending the Workflow

Add CRM Integration: Connect the Summary output to HubSpot, Salesforce, or Pipedrive to automatically create contacts

Add Slack Notifications: Insert a Slack node after Summary to get daily reports in your channel

Chain with Follow-up: Schedule a separate workflow to send follow-up messages to accepted connections

Add Lead Scoring: Insert a Code node to score leads based on headline, company size, or other criteria before sending requests


Output Data Format

Form Input:

{
  "postUrl": "https://www.linkedin.com/posts/competitor_topic-activity-123456789",
  "competitorName": "Competitor Inc",
  "connectionMessage": "Hi {firstName}, let's connect!"
}

Summary Output:

{
  "totalProcessed": 45,
  "connectionsSent": 32,
  "skippedCompetitor": 8,
  "skippedOther": 5,
  "dailyLimitReached": true,
  "daysSpanned": 4
}

Individual Result (per profile):

{
  "profileId": "john-doe-123",
  "name": "John Doe",
  "action": "sent",
  "timestamp": "2025-01-29T14:30:00.000Z"
}

Use Cases

Competitive Lead Capture: Your competitor posts about a product launch and gets 200 comments. Those commenters are interested in your space—capture them before your competitor does.

Event Attendee Networking: Conference speaker posts their slides and gets engagement. Connect with attendees who couldn’t make your session.

Thought Leadership Amplification: Industry influencer sparks a debate. Everyone commenting is a potential prospect or partner.

Talent Sourcing: Competitor announces layoffs and employees comment. Recruit displaced talent automatically.

Community Building: Popular post in your niche generates discussion. Build your network with engaged professionals.

Partner Discovery: Integration partner’s post attracts their customers. Connect with potential mutual customers.


Troubleshooting

Common Issues & Solutions

Issue: “No comments found” error

Issue: Daily limit reached immediately

Issue: All profiles skipped as “competitor”

Issue: Connection requests failing

Issue: Workflow stops unexpectedly

Issue: {firstName} not replaced in message

Issue: Rate limit errors from API


Important Notes

Daily Limit Behavior:

Compliance Considerations:

Best Practices:


Documentation & Resources

Official Documentation

Support Channels


Connect With Us

Stay updated with the latest automation tips, LinkedIn strategies, and platform updates:


Need Custom Workflows?

Looking to build sophisticated LinkedIn automation workflows tailored to your business needs?

Contact our team for custom automation development, strategy consulting, and enterprise solutions.

We specialize in:

đź”— Nodes Used

HTTP Request, n8n Form Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup