{
  "name": "Find and email ANYONE on LinkedIn with OpenAI, Hunter & Gmail",
  "nodes": [
    {
      "id": "0fa236a3-2e00-4710-ab5f-a5d237dcfa90",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        760,
        880
      ]
    },
    {
      "id": "5d57cbba-4061-4f2f-b4a1-f99ef47eedcc",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        440,
        400
      ]
    },
    {
      "id": "af9ccdbe-30aa-451c-851c-3f2b6418c211",
      "name": "Create a new sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1120,
        400
      ]
    },
    {
      "id": "36698cf4-3d75-491f-b4da-bdb7b6d2d3c1",
      "name": "Add columns to new sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        760,
        640
      ]
    },
    {
      "id": "84149de7-58b5-498c-aebc-ec79ec7317fa",
      "name": "set page number for google search",
      "type": "n8n-nodes-base.code",
      "position": [
        1060,
        640
      ]
    },
    {
      "id": "119084c3-a1d8-4007-9421-764f4625d5dc",
      "name": "Google Boolean Search",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1080,
        880
      ]
    },
    {
      "id": "2ae7afc6-727d-4c25-8f3b-dc6e613b813b",
      "name": "If desired results not reached",
      "type": "n8n-nodes-base.if",
      "position": [
        400,
        900
      ]
    },
    {
      "id": "650665b9-cb6e-4e69-b039-4962a9a0efca",
      "name": "Appends the results to the sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        380,
        1320
      ]
    },
    {
      "id": "5289c588-a2d0-41d9-94e9-5e1ab564c78f",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        4960,
        600
      ]
    },
    {
      "id": "5e6b2802-6710-4851-ab2e-4d29c9c5e644",
      "name": "Extracts fname, lname, domainname",
      "type": "n8n-nodes-base.code",
      "position": [
        1080,
        1140
      ]
    },
    {
      "id": "f611ee14-5864-4032-8ae1-3342658be76f",
      "name": "Extracts all linkedin urls and workplace context from the google http response",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        1140
      ]
    },
    {
      "id": "7b60c3e0-d6b3-4652-93d4-805bbe7f095c",
      "name": "Adds 10 to start - Go to next page",
      "type": "n8n-nodes-base.code",
      "position": [
        100,
        900
      ]
    },
    {
      "id": "f19b8bac-a55f-43cf-bd74-fa59fc0c217c",
      "name": "Generate a Boolean Search String",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        740,
        400
      ]
    },
    {
      "id": "7b57464a-d650-465b-91fd-d87aa8884517",
      "name": "Extract Contact Details",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        680,
        1140
      ]
    },
    {
      "id": "18fba241-bb89-4468-bbf0-6bec4e75612c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        840
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ebb1f62f-3206-46f3-873e-36d78eb134dc",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        1060
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e7283690-37fb-4ca6-8797-d0b07026e0a6",
      "name": "Columns to add: linkedin_url, first_name, last_name, email, context, domain",
      "type": "n8n-nodes-base.code",
      "position": [
        420,
        640
      ]
    },
    {
      "id": "98eb8c1b-a90d-497b-865f-70db3a79ba4a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "463dc7e3-711b-4d9f-8b23-6622215e20e9",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        820
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "db7b1096-5381-4daf-8aac-ab491921d862",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        60,
        760
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4a9d208c-c989-4630-a013-77aa9a3f9bd7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        1280
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7b8fb208-bfc3-4d3a-b676-3fc9ea53c5c1",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1260,
        1360
      ]
    },
    {
      "id": "1f3132e6-a3d1-4e94-9d3d-bd5ea6e333d0",
      "name": "Extract subject and email body",
      "type": "n8n-nodes-base.code",
      "position": [
        700,
        1360
      ]
    },
    {
      "id": "b4396b3c-83aa-4255-92c1-98b910388101",
      "name": "Personalized Cold-Email Generator",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1360,
        1140
      ]
    },
    {
      "id": "9822e7c5-1f6a-4c94-a997-d83f30a0160c",
      "name": "Hunter",
      "type": "n8n-nodes-base.hunter",
      "position": [
        900,
        1360
      ]
    },
    {
      "id": "c9813338-95b8-433c-b52b-c78c049575ec",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        1320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "28eddff1-1b6b-4d87-a650-0262d2f2ccde",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1080,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e92fb3ad-c98b-4917-98d6-6de847af7425",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1320,
        1060
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2b8c2dba-4b3c-486d-b765-7bae108802a3",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        1340
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        []
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Google Boolean Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hunter": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          },
          {
            "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
          }
        ]
      ]
    },
    "Extract subject and email body": {
      "main": [
        [
          {
            "node": "Hunter",
            "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": "Personalized Cold-Email Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Personalized Cold-Email Generator": {
      "main": [
        [
          {
            "node": "Extract subject and email body",
            "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
          }
        ]
      ]
    }
  }
}