Block 1 - Workflow Overview
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
Send Personalized DMs to LinkedIn Profile Visitors Who's it for This workflow is built for sales professionals, recruiters, founders, and networkers who want to automatically reach out to people wh...
n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.scheduletrigger, n8n-nodes-base.if, n8n-nodes-base.splitout, n8n-nodes-base.splitinbatches, n8n-nodes-base.noop
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ConnectSafely.
Original n8n.io sourceThis workflow is built for sales professionals, recruiters, founders, and networkers who want to automatically reach out to people who viewed their LinkedIn profile. Perfect for anyone who knows that profile visitors are warm leads but doesn't have time to manually check who visited, craft personalized messages, and send outreach one by one.
If you're doing outbound sales, recruiting talent, building partnerships, or simply want to convert curiosity into conversations, this automation turns passive profile views into active outreach opportunities.
The workflow automatically identifies LinkedIn profile visitors and sends them personalized messages based on their connection status.
The process flow:
This credential is used by all three HTTP Request nodes: Fetch Profile Visitors, Send DM, and Send Connection Request.
Create a new Google Sheet with the following columns:
| Column Name | Description |
|---|---|
Name |
Visitor's full name |
Linkedin URL |
Visitor's profile URL |
Status |
Outreach status (DONE) |
There are three Google Sheets nodes that need configuration:
For each node:
YOUR_GOOGLE_SHEET_ID with your actual sheet ID (from the URL)The workflow includes two Code nodes with message templates that you must customize:
Open the "Generate DM for Connected User" node and update:
// Sender footer - CUSTOMIZE THIS
const footer = `\n\n— Your Name`;
// Message bodies - CUSTOMIZE THESE
const messages = [
"Noticed you recently checked out my profile... I've been working on [YOUR PRODUCT] — [BRIEF DESCRIPTION].",
// Add more variations...
];
Open the "Generate Message for New Connection" node and update the same sections with your product/service details.
Tips for good messages:
Edit the JSON body in the Fetch Profile Visitors node:
{"timeRange":"past_7_days","start":0,"fetchAll":true}
Options:
past_7_days - Last week's visitors (default)past_30_days - Last month's visitorspast_90_days - Last quarter's visitorsBoth Code nodes support multiple message variations. The workflow randomly selects one for each visitor, making your outreach feel more natural.
To add more variations:
messages array[YOUR PRODUCT] and replace with your actual contentThe Wait Between Messages node adds delays between outreach. Adjust the duration to:
Recommended: 1-5 minutes between messages
To track additional data in Google Sheets:
Message Sent, Connection Degree, Date)Want to only message visitors from specific companies or with certain titles?
Issue: No visitors returned from API
Issue: Duplicate messages being sent
Linkedin URL column matches exactly what the API returns. Make sure all three Google Sheets nodes point to the same sheet.Issue: Messages not sending
Issue: Wrong message type sent (DM vs Connection Request)
connectionDegree field. Verify this field is being returned correctly from the API. Check the Check if 1st Degree Connection node conditions.Issue: Profile ID extraction failing
navigationUrl values.Issue: Google Sheets not updating
Issue: Rate limit errors
LinkedIn monitors automated activity. To stay safe:
| Service | Cost |
|---|---|
| ConnectSafely.ai | Free trial available, then subscription |
| Google Sheets | Free |
| n8n | Free (self-hosted) or cloud pricing |
No per-message costs - ConnectSafely.ai subscription includes API access for messaging.
Stay updated with the latest automation tips and LinkedIn strategies:
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:
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Send personalized LinkedIn DMs to profile visitors with ConnectSafely.ai and Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 21 |
| Categories | Lead Nurturing, Multimodal AI |
| Author | ConnectSafely |
| Published | 30 Dec 2025 |
Use the JSON export at /data/workflows/12311/12311.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Send Personalized DMs to LinkedIn Profile Visitors Who's it for This workflow is built for sales professionals, recruiters, founders, and networkers who want to automatically reach out to people wh...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, Multimodal AI use case.