Skip to main content

Automate LinkedIn Profile Following with Google Sheets and ConnectSafely

Workflow preview

Workflow preview
100%
Automate LinkedIn Profile Following with Google Sheets and ConnectSafely preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Social Media automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-connectsafely-ai.connectsafelylinkedin, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ConnectSafely.

Original n8n.io source

1.1 Workflow description

Title
Automate LinkedIn Profile Following with Google Sheets and ConnectSafely
Workflow name
Automate LinkedIn Profile Following with Google Sheets and ConnectSafely

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:


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 SettingsCommunity 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 Name Description Required
LinkedIn Url LinkedIn profile URL or ID Yes
First Name Contact's first name Optional
Tagline Contact's headline/title Optional
Status Processing status (pending/done) Yes
row_number Auto-generated row identifier Yes

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 SettingsAPI 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: Statusdone
  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

  • Add delay nodes for large batches (500+ profiles)
  • Implement error handling for failed attempts
  • Extend to CRM integration or connection requests
  • Add analytics tracking for follow-back monitoring

Use Cases

  • Lead Generation: Follow prospects and potential customers at scale
  • Network Building: Expand your LinkedIn network with relevant industry professionals
  • Competitor Analysis: Track and follow key players in your market
  • Influencer Outreach: Connect with thought leaders and content creators
  • Event Networking: Follow attendees and speakers from conferences and webinars

Troubleshooting

Common Issues & Solutions

Issue: ConnectSafely node not appearing after installation

  • Solution: Ensure complete n8n restart (not just workflow refresh)

Issue: Authentication errors with ConnectSafely API

  • Solution: Verify API key has proper permissions in dashboard

Issue: Profile ID format errors

  • Solution: Ensure you're passing LinkedIn profile IDs or full URLs, not partial paths

Issue: Google Sheets not updating status

  • Solution: Confirm row_number column exists and mapping is correct

Issue: Workflow stops mid-execution

  • Solution: Check Google Sheets has Status column with "pending" values; verify rate limits

Advanced Configuration

Scaling Considerations

  • Batch Processing: Add delay nodes between executions for large lists (500+ profiles)
  • Error Handling: Implement error workflows for failed follow attempts
  • Retry Logic: Configure automatic retries for temporary failures
  • Logging: Add nodes to track execution metrics and performance

Integration Extensions

This workflow can be extended to include:

  • CRM Integration: Update contact records with follow status
  • Connection Requests: Modify to send personalized connection requests
  • Engagement Tracking: Monitor who follows back
  • Multi-Platform: Expand to other social networks
  • Analytics Dashboard: Feed data to BI tools for reporting

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:

  • Multi-channel engagement workflows
  • Lead scoring and qualification automation
  • CRM integration and data synchronization
  • Custom reporting and analytics pipelines
  • Team collaboration and approval workflows

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - When clicking 'Execute workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Get row(s) in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 3 - ConnectSafely LinkedIn

Type / Role
n8n-nodes-connectsafely-ai.connectSafelyLinkedIn - connectSafelyLinkedIn
Config choices
Version 1

Block 4 - Update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 5 - Sticky Note - Main Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note - Get Profiles

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note - Execute Follow

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note - Update Status

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate LinkedIn Profile Following with Google Sheets and ConnectSafely
Complexity intermediate
Nodes 8
Categories Social Media
Author ConnectSafely
Published 21 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11068/11068.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Automate LinkedIn Profile Following with Google Sheets and ConnectSafely do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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 Social Media use case.