{
  "name": "Automate LinkedIn profile search & cold email outreach with OpenAI and Hunter",
  "nodes": [
    {
      "id": "95580f35-3039-49e0-9dde-2218080c6c1d",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        760,
        880
      ]
    },
    {
      "id": "e7ccc8dc-a658-499a-ab69-beed20b418c2",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        440,
        400
      ]
    },
    {
      "id": "634d67e1-d251-4f9e-994b-642c3346734e",
      "name": "Create a new sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1120,
        400
      ]
    },
    {
      "id": "94a6bc5b-39a7-477b-81ef-ffea2e62284c",
      "name": "Add columns to new sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        760,
        640
      ]
    },
    {
      "id": "260d8a51-0708-484b-98ed-9872f110bc2c",
      "name": "set page number for google search",
      "type": "n8n-nodes-base.code",
      "position": [
        1060,
        640
      ]
    },
    {
      "id": "92461c5c-1c76-4c0e-b235-f41f952af35e",
      "name": "Google Boolean Search",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1080,
        880
      ]
    },
    {
      "id": "91016b0f-78f2-44a3-900a-c072d7e9ff53",
      "name": "If desired results not reached",
      "type": "n8n-nodes-base.if",
      "position": [
        400,
        900
      ]
    },
    {
      "id": "235a74ca-b58a-46f4-8de4-a08a83424efc",
      "name": "Appends the results to the sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        740,
        1360
      ]
    },
    {
      "id": "3e24720c-39a8-4329-ae6e-c6e01b61b435",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        4960,
        600
      ]
    },
    {
      "id": "1db7dcd7-cf17-47f0-b44f-cd612797c88b",
      "name": "Extracts fname, lname, domainname",
      "type": "n8n-nodes-base.code",
      "position": [
        1080,
        1140
      ]
    },
    {
      "id": "18bd422d-6fc0-4442-9b2f-a34cd14d45e8",
      "name": "Extracts all linkedin urls and workplace context from the google http response",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        1140
      ]
    },
    {
      "id": "a2c6a9e3-3136-40cc-a58e-23c0b5e78999",
      "name": "Adds 10 to start - Go to next page",
      "type": "n8n-nodes-base.code",
      "position": [
        100,
        900
      ]
    },
    {
      "id": "52918647-57a2-4d1c-903c-4cb35429eb4c",
      "name": "Hunter",
      "type": "n8n-nodes-base.hunter",
      "position": [
        380,
        1360
      ]
    },
    {
      "id": "140bc853-3ed4-4403-8e98-e24899401633",
      "name": "Generate a Boolean Search String",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        740,
        400
      ]
    },
    {
      "id": "85e4341c-50a0-4123-b17f-072898de528a",
      "name": "Extract Contact Details",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        680,
        1140
      ]
    },
    {
      "id": "79559a98-f857-4c24-a351-0856afa88932",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        880
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e56703f5-b316-41e1-861f-ec4835155df8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        1060
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "185dc39c-4c61-445d-9981-30edcc10149a",
      "name": "Columns to add: linkedin_url, first_name, last_name, email, context, domain",
      "type": "n8n-nodes-base.code",
      "position": [
        420,
        640
      ]
    },
    {
      "id": "c54825fe-cda7-48af-9d9d-5307ac51bbad",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "fa062c54-bdf5-4518-8300-7876657de377",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        820
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "42eb75e5-6c9e-4890-9248-7051a514ccae",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        60,
        760
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b180f392-9809-45a8-97f4-3c9a3c0368e1",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        1280
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        []
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Google Boolean Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hunter": {
      "main": [
        [
          {
            "node": "Appends the results to the sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a new sheet": {
      "main": [
        [
          {
            "node": "Columns to add: linkedin_url, first_name, last_name, email, context, domain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Boolean Search": {
      "main": [
        [
          {
            "node": "Extracts all linkedin urls and workplace context from the google http response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Contact Details": {
      "main": [
        [
          {
            "node": "Extracts fname, lname, domainname",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add columns to new sheet": {
      "main": [
        [
          {
            "node": "set page number for google search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Generate a Boolean Search String",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If desired results not reached": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Appends the results to the sheet": {
      "main": [
        [
          {
            "node": "Adds 10 to start - Go to next page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate a Boolean Search String": {
      "main": [
        [
          {
            "node": "Create a new sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extracts fname, lname, domainname": {
      "main": [
        [
          {
            "node": "Hunter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set page number for google search": {
      "main": [
        [
          {
            "node": "If desired results not reached",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Adds 10 to start - Go to next page": {
      "main": [
        [
          {
            "node": "If desired results not reached",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Columns to add: linkedin_url, first_name, last_name, email, context, domain": {
      "main": [
        [
          {
            "node": "Add columns to new sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extracts all linkedin urls and workplace context from the google http response": {
      "main": [
        [
          {
            "node": "Extract Contact Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}