Send Personalized Connection Requests to LinkedIn Post Commenters with ConnectSafely.ai
Go to WorkflowDescription
Send Connection Requests to LinkedIn Post Commenters - Automated Outreach with Personalized Messages using ConnectSafely.AI
Who's it for
This workflow is built for content creators, founders, sales professionals, and LinkedIn thought leaders who want to convert post engagement into real connections. Perfect for anyone who creates content that attracts comments but doesn't have time to manually connect with every person who engages.
If you're publishing LinkedIn content regularly and want to build your network with warm leads (people already interested in what you're saying), this automation handles the tedious work of sending personalized connection requests while you focus on creating more content.
How it works
The workflow automates the entire connection request process by combining intelligent filtering with personalized messaging through ConnectSafely.ai's API.
The process flow:
Displays a web form where you paste your LinkedIn post URL
Fetches all comments from the specified post via ConnectSafely.ai API
Splits commenters into individual items for sequential processing
Loops through each commenter one at a time
Checks relationship status (already connected? pending request?)
Filters out existing connections and pending invitations
Generates unique personalized messages using spin text variations
Sends connection request with the personalized message
Waits 1-2 hours between requests for rate limiting
Loops back to process the next commenter until complete
The smart filtering ensures you never send duplicate requests or spam existing connections.
Setup steps
Step 1: Install ConnectSafely.ai Community Node
Install the Package
Go to Settings → Community Nodes in your n8n instance
Search for n8n-nodes-connectsafely.ai
Click Install
IMPORTANT: Restart n8n completely after installation
Alternative (Command Line):
npm install n8n-nodes-connectsafely.ai
Documentation: https://connectsafely.ai/n8n-docs
Step 2: Configure ConnectSafely.ai API Credentials
Obtain API Key
Log into ConnectSafely.ai Dashboard
Navigate to Settings → API Keys
Generate a new API key
Copy your Account ID from the Accounts section
Add Credentials in n8n
Go to Credentials in n8n
Click Add Credential → ConnectSafely API
Paste your API key
Save the credential
This credential is used by all ConnectSafely nodes in the workflow.
Step 3: Configure the Form Trigger
The workflow uses a Form Trigger to capture your LinkedIn post URL:
| Field | Configuration |
|-------|---------------|
| Form Title | 🔗 LinkedIn Post Engagement Automation |
| Form Description | Enter your LinkedIn post URL below to automatically send personalized connection requests |
| Field Label | LinkedIn Post URL |
| Placeholder | https://www.linkedin.com/posts/your-post-url... |
| Required | Yes |
To get your form URL:
Click Test Workflow button
Copy the webhook URL that appears
Open this URL in your browser to access the form
Step 4: Customize Your Connection Message
Edit the spin text template in the Generate Personalized Message code node:
const template = `{Thanks for|Really appreciate|Awesome to see|Loved seeing|Grateful for} {you|you taking a moment to|you recently} {liking|engaging with|reacting to|showing interest in|checking out} {my|our|the} {post|recent post|latest content piece|content|update} on {this topic|that topic|the subject}.
{Would love to|Happy to|Let's definitely|Open to|Excited to} connect {and|so we can|to} {exchange ideas|share insights|continue the conversation|explore potential collaborations|stay connected professionally}. {Always enjoy connecting with|Always excited to meet|Love meeting|Great connecting with} {like-minded people|professionals in the space|people exploring similar topics|others in this domain}.
{Cheers|Best regards|Thanks again|Looking forward|Talk soon|Warm regards},
YourName
`;
Spin Text Syntax:
Use {option1|option2|option3} for random variations
Each request gets a unique combination
Keep total message under 300 characters (LinkedIn limit)
Step 5: Configure Rate Limiting
The Wait (Rate Limiting) node controls the delay between connection requests:
| Setting | Recommended Value | Description |
|---------|-------------------|-------------|
| Wait Time | 1-2 hours | Time between each connection request |
| Unit | Hours | Keeps your account safe from spam detection |
Pro Tip: Start with 2-hour delays for new accounts, reduce to 1 hour once your account is warmed up.
Step 6: Test the Workflow
Click Test Workflow to get the form URL
Open the form URL in your browser
Paste a LinkedIn post URL with comments
Submit the form
Verify each step:
Comments are fetched correctly
Relationship check returns status
Messages generate with variations
Connection request sends successfully
First Run Tips:
Start with a post that has 5-10 comments
Test during off-hours
Monitor closely for any errors
Customization
Message Personalization
The workflow automatically includes the commenter's name in the greeting:
customMessage: "Hi {{ $('🔄 Loop Over Items').item.json.authorName }},\n\n{{ $json.generatedMessage }}"
Add more personalization by referencing the comment text:
// Access the actual comment they left
const theirComment = $('🔄 Loop Over Items').item.json.commentText;
Filter Logic
Edit the Should Send Request? IF node conditions:
Current Logic (Both must be TRUE):
connected = false (not already connected)
invitationSent = false (no pending request)
Additional Filters You Can Add:
Filter by connection degree (2nd vs 3rd degree)
Filter by profile completeness
Filter by follower count
// Example: Only connect with 2nd degree connections
$json.connectionDegree === "DISTANCE_2"
Rate Limiting Adjustments
| Account Status | Recommended Delay | Daily Limit |
|----------------|-------------------|-------------|
| New Account | 2 hours | 10-12 requests |
| Warmed Up (1-2 weeks) | 1 hour | 20-24 requests |
| Established (1+ month) | 45 minutes | 30-35 requests |
Use Cases
Content Creator Growth**: Convert every engaged follower into a connection automatically
Thought Leadership**: Build relationships with people who resonate with your ideas
Sales Prospecting**: Connect with warm leads who already showed interest in your content
Community Building**: Expand your network with like-minded professionals
Event Promotion**: Connect with commenters before launching webinars or courses
Recruiting**: Reach candidates who engage with your company culture posts
Troubleshooting
Common Issues & Solutions
Issue: ConnectSafely node not appearing after install
Solution**: Completely restart n8n (not just refresh). Kill the process and start again.
Issue: "Invalid Profile ID" error
Solution**: The workflow uses publicIdentifier (username), not the full URL. Verify the mapping is correct.
Issue: Connection request fails with "already connected"
Solution**: The relationship check should filter these out. Verify the IF node conditions are set correctly.
Issue: Messages appear identical
Solution**: Check that the spin text syntax uses {option1|option2} format with the pipe character, not commas.
Issue: Workflow stops after first person
Solution**: Ensure the Wait node connects back to the Loop node, and the Loop node has Reset: FALSE configured.
Issue: Form URL not appearing
Solution**: You must click "Test Workflow" first to generate the webhook URL.
Issue: Rate limiting warnings from LinkedIn
Solution**: Increase the wait time between requests. Start with 2-hour delays and ensure your account is warmed up.
Documentation & Resources
Official Documentation
ConnectSafely.ai Docs**: https://connectsafely.ai/docs
n8n Package Docs**: https://connectsafely.ai/n8n-docs
API Reference**: Available in ConnectSafely.ai dashboard
Support Channels
Email Support**: [email protected]
Documentation**: https://connectsafely.ai/docs
Custom Workflows**: Contact us for custom automation
Connect With Us
Stay updated with the latest automation tips, LinkedIn strategies, and platform updates:
LinkedIn**: linkedin.com/company/connectsafelyai
YouTube**: youtube.com/@ConnectSafelyAI-v2x
Instagram**: instagram.com/connectsafely.ai
Facebook**: facebook.com/connectsafelyai
X (Twitter)**: x.com/AiConnectsafely
Bluesky**: connectsafelyai.bsky.social
Mastodon**: mastodon.social/@connectsafely
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:
Multi-channel engagement workflows
AI-powered personalization at scale
Lead scoring and qualification automation
CRM integration and data synchronization
Custom reporting and analytics pipelines