📱 Automate LinkedIn Profile Following with Google Sheets and ConnectSafely

⚡ 83 views · 📱 Social Media & Email Marketing

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

Follow LinkedIn profiles from Google Sheets via ConnectSafely

Who’s it for

This workflow is designed for sales professionals, recruiters, marketers, and business development teams who need to scale their LinkedIn networking efforts. Perfect for anyone managing lead generation campaigns, building industry connections, or conducting competitor research at scale.

How it works

The workflow automates LinkedIn profile following by reading a list of target profiles from Google Sheets, processing each profile through ConnectSafely.ai’s platform-compliant automation, and tracking completion status back to your spreadsheet. The automation maintains LinkedIn’s compliance standards while eliminating manual clicking.


Watch the complete step-by-step implementation guide:

LinkedIn Follow Automation Tutorial


Setup steps

Step 1: Install ConnectSafely.ai n8n Package

Install the official ConnectSafely.ai community node:

Package name: n8n-nodes-connectsafely.ai

Installation Methods:

Option A: Via n8n Interface

  1. Navigate to Settings → Community Nodes
  2. Search for n8n-nodes-connectsafely.ai
  3. Click Install

Option B: Via npm

npm install n8n-nodes-connectsafely.ai

Important: A complete n8n restart is required after installation for the nodes to appear.

Step 2: Prepare Your Google Sheet

Structure your Google Sheet with the following columns:

Column NameDescriptionRequired
LinkedIn UrlLinkedIn profile URL or IDYes
First NameContact’s first nameOptional
TaglineContact’s headline/titleOptional
StatusProcessing status (pending/done)Yes
row_numberAuto-generated row identifierYes

Sample Data Format:

LinkedIn Url: https://www.linkedin.com/in/username
Status: pending

Step 3: Configure Google Sheets Integration

  1. Add Google Sheets node (Get Rows operation)
  2. Authenticate with Google OAuth:
    • Client ID
    • Client Secret
    • OAuth Token
  3. Select your document and sheet
  4. Configure to pull all rows with pending status

Step 4: Configure ConnectSafely.ai Credentials

Obtain API Credentials

  1. Log into ConnectSafely.ai Dashboard
  2. Navigate to Settings → API Keys
  3. Generate a new API key
  4. Copy your Account ID from the Accounts section

Configure n8n Node

  1. Add ConnectSafely LinkedIn node
  2. Select Follow a User operation
  3. Add credentials:
    • API Key: Paste your ConnectSafely API key
    • Account ID: Your LinkedIn account ID from dashboard
  4. Map Profile ID field:
    • Use expression: {{ $json['LinkedIn Url'] }}
    • This dynamically pulls the profile URL from each row

Step 5: Configure Status Tracking

Add a second Google Sheets node for status updates:

  1. Select Update Row operation
  2. Choose the same Google Sheet
  3. Configure column mapping:
    • Matching Column: row_number
    • Update Field: Status → done
  4. Map row_number expression: {{ $('Get row(s) in sheet').item.json.row_number }}

This ensures accurate tracking of processed profiles and enables workflow resumption.


Customization

Use Cases


Troubleshooting

Common Issues & Solutions

Issue: ConnectSafely node not appearing after installation

Issue: Authentication errors with ConnectSafely API

Issue: Profile ID format errors

Issue: Google Sheets not updating status

Issue: Workflow stops mid-execution


Advanced Configuration

Scaling Considerations

Integration Extensions

This workflow can be extended to include:


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

Google Sheets

📥 Import

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

📖 Importing guide · 🔑 Credential setup