{
  "name": "Capture LinkedIn leads and sync them with Google Sheets, HubSpot or Salesforce",
  "nodes": [
    {
      "id": "8f5eb460-4b05-4838-8ec1-5f499ef87465",
      "name": "Check for new leads every 15 minutes",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        144,
        1072
      ]
    },
    {
      "id": "e236d3de-6635-4965-ac85-ae576ba50e77",
      "name": "Fetch new LinkedIn connections",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        368,
        976
      ]
    },
    {
      "id": "7b87ea71-6a16-47dd-82c2-8c31a9839585",
      "name": "Fetch post engagement data",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        368,
        1168
      ]
    },
    {
      "id": "80ee7ce9-b843-40d6-9fb1-84476eb15d29",
      "name": "Merge connections and engagements",
      "type": "n8n-nodes-base.merge",
      "position": [
        592,
        1072
      ]
    },
    {
      "id": "2b16af01-8cef-4b4c-a9f8-0068b4aec301",
      "name": "Extract and score lead data",
      "type": "n8n-nodes-base.code",
      "position": [
        816,
        1072
      ]
    },
    {
      "id": "74b8382e-4e5d-48b5-a010-4e65e43e3638",
      "name": "Filter out duplicate leads",
      "type": "n8n-nodes-base.code",
      "position": [
        1040,
        1072
      ]
    },
    {
      "id": "a6d50787-0e41-4698-9038-327c7fc3a9d6",
      "name": "Route to create or update path",
      "type": "n8n-nodes-base.switch",
      "position": [
        1264,
        1072
      ]
    },
    {
      "id": "8c6de56f-78bf-4753-816f-cb372de710e7",
      "name": "Append new lead to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1712,
        1168
      ]
    },
    {
      "id": "5874b966-2b8a-42eb-a677-9a52c17ba8a4",
      "name": "Update existing lead in Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1488,
        1384
      ]
    },
    {
      "id": "c6bc352c-79ab-4c3c-9cb2-dc9d712386cc",
      "name": "Create new contact in HubSpot",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1712,
        784
      ]
    },
    {
      "id": "88ab09ba-8bf7-4907-8f5c-e705e64360a5",
      "name": "Update existing contact in HubSpot",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1712,
        1456
      ]
    },
    {
      "id": "97e12c88-da38-4965-887c-618dc1de4af8",
      "name": "Create new lead in Salesforce",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1712,
        976
      ]
    },
    {
      "id": "1053898c-6b2b-42ca-ae7f-f821b5e0accd",
      "name": "Build notification message",
      "type": "n8n-nodes-base.code",
      "position": [
        1936,
        1168
      ]
    },
    {
      "id": "9070e69e-38c5-4be4-8d3d-5b565de34150",
      "name": "Filter for hot and warm leads only",
      "type": "n8n-nodes-base.filter",
      "position": [
        2160,
        1168
      ]
    },
    {
      "id": "2c7fdf98-5b29-4a84-b894-0cd2d290072e",
      "name": "Send Slack notification to sales team",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2384,
        1072
      ]
    },
    {
      "id": "b6103563-6cda-4137-91fc-e9ceb74c35d4",
      "name": "Send email notification to sales team",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2384,
        1264
      ]
    },
    {
      "id": "baa6718d-dbc7-4d9a-991e-472b776b6370",
      "name": "Log success and track statistics",
      "type": "n8n-nodes-base.code",
      "position": [
        2608,
        1168
      ]
    },
    {
      "id": "e5230041-45d5-442a-ae2f-e49fd3d374e4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        528
      ],
      "parameters": {
        "width": 924,
        "height": 868,
        "content": "## Capture LinkedIn leads, sync to Google Sheets and CRM\n\nAutomatically captures and syncs LinkedIn leads with intelligent scoring, duplicate prevention, and multi-platform integration.\n\n### How it wo"
      }
    },
    {
      "id": "3d47a360-012d-48dd-bdf1-d4b77b078434",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        70,
        879
      ],
      "parameters": {
        "width": 468,
        "height": 353,
        "content": "## 1. Capture leads\n\nMonitors LinkedIn connections and post engagements"
      }
    },
    {
      "id": "309eea4a-a388-489e-aec5-ee14f738e76e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        530,
        879
      ],
      "parameters": {
        "width": 668,
        "height": 353,
        "content": "## 2. Process and score\n\nEnriches data, assigns quality scores, detects duplicates"
      }
    },
    {
      "id": "c5809a23-1862-49ac-abcb-a60ef7edc1da",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1242,
        775
      ],
      "parameters": {
        "width": 588,
        "height": 553,
        "content": "## 3. Sync to platforms\n\nSaves to Google Sheets and CRM with create/update logic"
      }
    },
    {
      "id": "e7f5ea63-6031-44c5-aa94-286b544fe151",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1864,
        871
      ],
      "parameters": {
        "width": 688,
        "height": 553,
        "content": "## 4. Notify sales team\n\nAlerts for hot and warm leads only with complete context"
      }
    }
  ],
  "connections": {
    "Build notification message": {
      "main": [
        [
          {
            "node": "Filter for hot and warm leads only",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch post engagement data": {
      "main": [
        [
          {
            "node": "Merge connections and engagements",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Filter out duplicate leads": {
      "main": [
        [
          {
            "node": "Route to create or update path",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract and score lead data": {
      "main": [
        [
          {
            "node": "Filter out duplicate leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create new contact in HubSpot": {
      "main": [
        [
          {
            "node": "Build notification message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create new lead in Salesforce": {
      "main": [
        [
          {
            "node": "Build notification message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch new LinkedIn connections": {
      "main": [
        [
          {
            "node": "Merge connections and engagements",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route to create or update path": {
      "main": [
        [
          {
            "node": "Append new lead to Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create new contact in HubSpot",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create new lead in Salesforce",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update existing lead in Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append new lead to Google Sheets": {
      "main": [
        [
          {
            "node": "Build notification message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge connections and engagements": {
      "main": [
        [
          {
            "node": "Extract and score lead data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter for hot and warm leads only": {
      "main": [
        [
          {
            "node": "Send Slack notification to sales team",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send email notification to sales team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update existing contact in HubSpot": {
      "main": [
        [
          {
            "node": "Build notification message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for new leads every 15 minutes": {
      "main": [
        [
          {
            "node": "Fetch new LinkedIn connections",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch post engagement data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Slack notification to sales team": {
      "main": [
        [
          {
            "node": "Log success and track statistics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send email notification to sales team": {
      "main": [
        [
          {
            "node": "Log success and track statistics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update existing lead in Google Sheets": {
      "main": [
        [
          {
            "node": "Build notification message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update existing contact in HubSpot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}