{
  "name": "Send AI-personalized LinkedIn connection requests from Google Sheets with Gemini",
  "nodes": [
    {
      "id": "352d15f6-ecc3-4074-85ab-3b3aa2beb8a2",
      "name": "Sticky Note - Main",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        -624
      ],
      "parameters": {
        "width": 612,
        "height": 1020,
        "content": "## 🔗 Send AI-Personalized LinkedIn Connection Requests from Google Sheets\n\n@[youtube](ZCnXr3-W8xs)\n\n### Who is this for?\nSales professionals, recruiters, and founders who want to scale personalized Li"
      }
    },
    {
      "id": "82f663c2-1b71-42a0-aa1c-0360ee4a6afa",
      "name": "Sticky Note - Triggers",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        -448
      ],
      "parameters": {
        "width": 392,
        "height": 180,
        "content": "### ⚡ Triggers\nTwo ways to start:\n- **Schedule**: Runs automatically every minute\n- **Manual**: Click to test\n\nThe Wait node adds a random delay (1-5 min) to appear more human."
      }
    },
    {
      "id": "088d4542-f0b4-481b-b750-6d820841e8b5",
      "name": "Sticky Note - Sheets",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1680,
        -224
      ],
      "parameters": {
        "width": 280,
        "height": 100,
        "content": "### 📊 Google Sheets\nFetches one PENDING prospect, marks as IN PROGRESS to prevent duplicates."
      }
    },
    {
      "id": "50f4b0db-d609-49f8-beb7-b5e3ae395174",
      "name": "Sticky Note - Profile",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2128,
        -224
      ],
      "parameters": {
        "width": null,
        "height": 100,
        "content": "### 🔍 Profile Lookup\nFetches full LinkedIn profile data from ConnectSafely.AI to personalize the message."
      }
    },
    {
      "id": "cf419e9b-093e-4577-9d30-e35105e3f645",
      "name": "Sticky Note - AI",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        -224
      ],
      "parameters": {
        "width": 300,
        "height": 100,
        "content": "### 🤖 AI Message Generation\nGemini creates a personalized, authentic message based on the prospect's profile. Customize the system prompt with your name and style!"
      }
    },
    {
      "id": "c5c4a3f8-a6c5-4778-be4b-f89a11e59f1e",
      "name": "Sticky Note - Send",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2768,
        -224
      ],
      "parameters": {
        "width": 260,
        "height": 100,
        "content": "### ✉️ Send & Update\nSends the connection request and updates the sheet with DONE status + the message sent."
      }
    },
    {
      "id": "ddda0402-e924-4092-b805-28e1202dd154",
      "name": "Manual Trigger (for testing)",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        1248,
        0
      ]
    },
    {
      "id": "fe12f8b4-c3eb-4a0e-9f02-9a4f908b27b7",
      "name": "Run Every Minute",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1248,
        -224
      ]
    },
    {
      "id": "75c848cd-2a74-4743-8737-461da0b125c6",
      "name": "Random Delay (1-5 min)",
      "type": "n8n-nodes-base.wait",
      "position": [
        1472,
        -96
      ]
    },
    {
      "id": "dbd651fc-eaa0-4f38-a817-2ed109fbab9d",
      "name": "Get Pending Prospect",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1712,
        -80
      ]
    },
    {
      "id": "da38e988-6eaf-43bb-87e7-b124edad0608",
      "name": "Mark as In Progress",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1952,
        -80
      ]
    },
    {
      "id": "07ff2c64-2f8c-4bd3-be08-e2452b166832",
      "name": "Fetch LinkedIn Profile",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2224,
        -80
      ]
    },
    {
      "id": "2309344b-11c4-487e-ac7c-39c264f96155",
      "name": "Generate Personalized Message",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2464,
        -80
      ]
    },
    {
      "id": "4379a09e-4be2-4daa-abb2-72f8272011bb",
      "name": "Google Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2432,
        144
      ]
    },
    {
      "id": "695fe395-e1fe-4188-acca-3564bc0cc045",
      "name": "Extract Message",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2624,
        144
      ]
    },
    {
      "id": "e3ff1017-4adc-4a92-8e9a-606ef3c9a855",
      "name": "Send Connection Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2784,
        -80
      ]
    },
    {
      "id": "68bbdd65-46c5-45d7-b39b-7d7997d1bbca",
      "name": "Mark as Complete",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3024,
        -80
      ]
    }
  ],
  "connections": {
    "Google Gemini": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Personalized Message",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Extract Message": {
      "ai_outputParser": [
        [
          {
            "node": "Generate Personalized Message",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Run Every Minute": {
      "main": [
        [
          {
            "node": "Random Delay (1-5 min)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark as In Progress": {
      "main": [
        [
          {
            "node": "Fetch LinkedIn Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Pending Prospect": {
      "main": [
        [
          {
            "node": "Mark as In Progress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch LinkedIn Profile": {
      "main": [
        [
          {
            "node": "Generate Personalized Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Random Delay (1-5 min)": {
      "main": [
        [
          {
            "node": "Get Pending Prospect",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Connection Request": {
      "main": [
        [
          {
            "node": "Mark as Complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger (for testing)": {
      "main": [
        [
          {
            "node": "Get Pending Prospect",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Personalized Message": {
      "main": [
        [
          {
            "node": "Send Connection Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}