{
  "name": "Automated LinkedIn lead generation, scoring & communication with AI-Agent",
  "nodes": [
    {
      "id": "bd3fe9aa-d16e-4ee8-a2c9-8ac2e0a98c66",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2320,
        1260
      ]
    },
    {
      "id": "e4f4a3df-1544-4afa-9aae-81f17d642f95",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -2120,
        1260
      ]
    },
    {
      "id": "3084f957-886b-466a-96d1-2918b9448c63",
      "name": "Google Sheets2",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -400,
        2080
      ]
    },
    {
      "id": "a64188c8-f976-41e5-a8e5-b49e3c50e458",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -900,
        1680
      ]
    },
    {
      "id": "d5cd8de3-b1ec-442d-a026-9adc411b8b49",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        540
      ],
      "parameters": {
        "width": 1320,
        "height": null,
        "content": "Find leads in LinkedIn"
      }
    },
    {
      "id": "f9b7b200-4dec-43ee-8e00-e60914f1949d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1020,
        540
      ],
      "parameters": {
        "width": 980,
        "height": null,
        "content": "Get company website "
      }
    },
    {
      "id": "3d2e343a-a81c-4754-a852-c43d7f592417",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 1520,
        "height": null,
        "content": "Research company website"
      }
    },
    {
      "id": "1c9b4718-bd53-4c3f-b94c-371adea118c1",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1560,
        540
      ],
      "parameters": {
        "width": 980,
        "height": null,
        "content": "Score data"
      }
    },
    {
      "id": "6c3b801e-838e-4c03-9f04-b7c27bb9cd59",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2580,
        540
      ],
      "parameters": {
        "width": 1860,
        "height": null,
        "content": "Communicate with leads"
      }
    },
    {
      "id": "412f6d55-6d36-4602-b6db-ae5c449602e3",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        180
      ],
      "parameters": {
        "width": 1520,
        "height": null,
        "content": "Research lead LN post"
      }
    },
    {
      "id": "ed07b5b5-4b36-4cff-9dd4-150a8378967b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        540
      ],
      "parameters": {
        "width": 1520,
        "height": null,
        "content": "Research company LN post"
      }
    },
    {
      "id": "8199980a-42d2-414a-a387-8faab1193a5c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        360
      ],
      "parameters": {
        "width": 1520,
        "height": null,
        "content": "Research company News"
      }
    },
    {
      "id": "bde206ab-617e-425f-9cd9-df4da03c7146",
      "name": "HDW LinkedIn SN",
      "type": "n8n-nodes-hdw.hdwLinkedin",
      "position": [
        -1800,
        1060
      ]
    },
    {
      "id": "79da9bcd-01df-41a3-9627-dff9ac226e3a",
      "name": "HDW Get Company Website",
      "type": "n8n-nodes-hdw.hdwLinkedin",
      "position": [
        -540,
        1940
      ]
    },
    {
      "id": "d6263cff-7a21-462a-81a4-e09dfacc10a4",
      "name": "Google Sheets3",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        20,
        880
      ]
    },
    {
      "id": "719377c5-150f-4819-968a-b69d75eb70ad",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        540,
        860
      ]
    },
    {
      "id": "0d88ce35-4fa3-4cef-87ef-23f6992e1855",
      "name": "Google Sheets4",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        40,
        1420
      ]
    },
    {
      "id": "cd54b602-8fbc-4b29-869f-e2fcec4e1fbd",
      "name": "HDW Get User Posts",
      "type": "n8n-nodes-hdw.hdwLinkedin",
      "position": [
        680,
        1460
      ]
    },
    {
      "id": "69135673-0acc-43a1-bdb9-9b927839d896",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        860,
        1460
      ]
    },
    {
      "id": "499a0e1f-d0f2-49f3-9f76-b6c8e8a6f11c",
      "name": "Loop Over Items2",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        520,
        1300
      ]
    },
    {
      "id": "afbd8a72-e766-4ce1-8231-6ea3b75389fd",
      "name": "Google Sheets5",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1360,
        1460
      ]
    },
    {
      "id": "6c540033-4a12-4980-aa03-0e2129b3477d",
      "name": "Google Sheets6",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        40,
        1880
      ]
    },
    {
      "id": "8b356508-c494-421c-a88d-83f3f7808d99",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        860,
        1880
      ]
    },
    {
      "id": "3c9bb26b-ce71-4625-a472-c3008bbd1bbf",
      "name": "Loop Over Items3",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        520,
        1720
      ]
    },
    {
      "id": "fa18d1f6-545d-43d4-a6e2-27bb634d1681",
      "name": "Google Sheets7",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1380,
        1880
      ]
    },
    {
      "id": "d8d6941c-8e43-4bb2-8767-86b211a08e34",
      "name": "Google Sheets8",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        40,
        2380
      ]
    },
    {
      "id": "111ce09c-7635-4496-ab85-bcd575c244d5",
      "name": "Aggregate2",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        860,
        2380
      ]
    },
    {
      "id": "8f26f598-e6b4-45be-bc9a-a47315fcdfe3",
      "name": "Loop Over Items4",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        520,
        2240
      ]
    },
    {
      "id": "d39d0bcd-a36a-4310-b13b-65f4ebf0e5d2",
      "name": "Google Sheets9",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1380,
        2380
      ]
    },
    {
      "id": "8cfb6af5-6360-4440-b1a6-598eb443c8f5",
      "name": "HDW Get Company News",
      "type": "n8n-nodes-hdw.hdwLinkedin",
      "position": [
        680,
        1880
      ]
    },
    {
      "id": "2f7b9aaf-1fe1-45f9-a63e-34b8a8a2658c",
      "name": "HDW Get Company Posts",
      "type": "n8n-nodes-hdw.hdwLinkedin",
      "position": [
        680,
        2380
      ]
    },
    {
      "id": "efc019e2-5439-44bc-907b-b77e05833a7c",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1980,
        1060
      ]
    },
    {
      "id": "89c665d7-0d0c-47ce-9e74-780a57ef582e",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        740,
        1120
      ]
    },
    {
      "id": "920fe0db-bef0-4f78-a793-e406565df11a",
      "name": "Google Sheets10",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1340,
        860
      ]
    },
    {
      "id": "402b88d8-1f0c-4a13-b93f-242703a3861e",
      "name": "HDW Site-map",
      "type": "n8n-nodes-hdw.hdwWebParserTool",
      "position": [
        1060,
        1120
      ]
    },
    {
      "id": "37e1f633-6e14-4ab0-a205-cdc5e88b3b7d",
      "name": "HDW Parser",
      "type": "n8n-nodes-hdw.hdwWebParserTool",
      "position": [
        1220,
        1120
      ]
    },
    {
      "id": "91cd0c40-4f6e-417c-9139-7479ed306808",
      "name": "Summarise user posts",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1020,
        1460
      ]
    },
    {
      "id": "34580e4c-ac3c-48b1-bf3c-c09b4e7b0236",
      "name": "Summarise company news",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1040,
        1880
      ]
    },
    {
      "id": "a21ceccb-1e64-4849-a0b2-a74171f672b7",
      "name": "Summarise company posts",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1040,
        2380
      ]
    },
    {
      "id": "286996d7-510e-495d-95b6-fcfcd4fb15e5",
      "name": "Summarise company website",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        820,
        860
      ]
    },
    {
      "id": "c660d9fe-7796-44dd-bed4-aa61f08ca485",
      "name": "Google Sheets11",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1740,
        1740
      ]
    },
    {
      "id": "b9a84c97-b921-44f6-9f76-839237c9ad71",
      "name": "Loop Over Items6",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2080,
        1620
      ]
    },
    {
      "id": "69a200f9-0ed8-45d7-b338-36b7a6d3dab6",
      "name": "Google Sheets12",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2580,
        1740
      ]
    },
    {
      "id": "da054df5-af1d-4433-b382-7b9bd7477e4b",
      "name": "Google Sheets13",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3080,
        1120
      ]
    },
    {
      "id": "6b3e0f6f-c3b6-460c-acca-92b5ff8914c4",
      "name": "Sort",
      "type": "n8n-nodes-base.sort",
      "position": [
        3300,
        1120
      ]
    },
    {
      "id": "115e2770-f19f-4796-943b-293e6be14f01",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        3500,
        1120
      ]
    },
    {
      "id": "7d3b6e0a-afc8-432b-9da1-a71743fc9f9f",
      "name": "Limit",
      "type": "n8n-nodes-base.limit",
      "position": [
        3720,
        1020
      ]
    },
    {
      "id": "d3c9bf50-c72c-4e7e-8f29-59bef7635ac8",
      "name": "Loop Over Items7",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        3860,
        1240
      ]
    },
    {
      "id": "84cd1b25-5781-4449-87fc-2e72b127c0df",
      "name": "Google Sheets14",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4400,
        1260
      ]
    },
    {
      "id": "ccce3a0a-6ff1-4c9a-948a-d19f7a4f3bce",
      "name": "Google Sheets15",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3560,
        1540
      ]
    },
    {
      "id": "bfc9b9b9-3be3-4966-b93d-7b22898e240c",
      "name": "Google Sheets17",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4720,
        2240
      ]
    },
    {
      "id": "a9a7435c-a276-42d3-ae85-96c0cf86dec6",
      "name": "Loop Over Items8",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        3900,
        1980
      ]
    },
    {
      "id": "f7e9963b-bff1-4452-a7ce-2e53ab06b1a6",
      "name": "HDW LinkedIn Send Message",
      "type": "n8n-nodes-hdw.hdwLinkedinManagement",
      "position": [
        4460,
        2120
      ]
    },
    {
      "id": "5cf24040-0343-476a-8e74-9ab803a5dab4",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        2640,
        1120
      ]
    },
    {
      "id": "0eca2bdb-0145-4082-9b45-7d05b176376f",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        2920,
        1560
      ]
    },
    {
      "id": "c89614c9-304a-44d0-9bf6-f5578ad5ca73",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3280,
        800
      ],
      "parameters": {
        "width": 620,
        "height": 640,
        "content": "# LinkedIn Lead Automation Flow\n\nThis flow is designed to automate working with leads on LinkedIn from the process of finding leads according to ICP (Ideal Customer Profile) to sending messages in cha"
      }
    },
    {
      "id": "244a300a-a0f6-4d35-90c1-e87078ed6600",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2080,
        920
      ],
      "parameters": {
        "width": 300,
        "height": 80,
        "content": "This node - an AI agent transforms your ICP description into filters for querying data in LinkedIn"
      }
    },
    {
      "id": "f8cf06a5-e69a-4e8c-9132-b46093b22f16",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        1340
      ],
      "parameters": {
        "width": 320,
        "height": 80,
        "content": "Data is requested through the HDW API for each filter and saved in Google Sheets."
      }
    },
    {
      "id": "1506055f-de26-4317-85d8-b4b0e99f78f7",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        860
      ],
      "parameters": {
        "width": 320,
        "height": 120,
        "content": "At this stage, the presence of the company name in the lead's profile is verified, and a website search is performed for each company"
      }
    },
    {
      "id": "8e70ff75-9cd9-4e17-9a55-40e87dbe2947",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        780,
        740
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "You can modify the prompt here so that at this stage the search corresponds to your product. \nFor example, you can explicitly mark mentions of certain topics, locations, or other entities."
      }
    },
    {
      "id": "7d6ad9ee-65cc-4235-abb1-557b0a602173",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        1320
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "You can modify the prompt here so that at this stage the search corresponds to your product. \nFor example, you can explicitly mark mentions of certain topics, locations, or other entities."
      }
    },
    {
      "id": "e04cbd74-c77e-4cfe-945d-447191ba4dbe",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        760,
        1760
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "You can modify the prompt here so that at this stage the search corresponds to your product. \nFor example, you can explicitly mark mentions of certain topics, locations, or other entities."
      }
    },
    {
      "id": "39852dfc-6077-4a3d-8dca-8760eaf20d18",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        760,
        2240
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "You can modify the prompt here so that at this stage the search corresponds to your product. \nFor example, you can explicitly mark mentions of certain topics, locations, or other entities."
      }
    },
    {
      "id": "e55a0d94-30c1-4d00-9b32-835a5ce8e66f",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2200,
        1620
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "You can also change the scoring criteria to assess the probability of need based on your product or business by adjusting the prompt in this node"
      }
    },
    {
      "id": "66b08e98-dfe4-425a-83c6-0c11f4ad6a53",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3600,
        900
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "Here you can change the number of connection requests. It is not recommended to add more than 200 connections per week."
      }
    },
    {
      "id": "4d8240ad-688e-4469-bcd4-b708b19cecba",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4360,
        1980
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "In this node, you need to modify the message that will be automatically sent to the user after the connection is confirmed."
      }
    },
    {
      "id": "ad3f07f9-645a-49d8-be56-b45b3a38736a",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2620,
        1040
      ],
      "parameters": {
        "width": 180,
        "height": 80,
        "content": "Change the schedule for when connection requests will be sent."
      }
    },
    {
      "id": "8c13451c-13a3-4b36-b0ba-341dbc4c6e93",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3040,
        1840
      ],
      "parameters": {
        "width": 200,
        "height": 100,
        "content": "Change the schedule for when connection request responses will be checked and messages will be sent."
      }
    },
    {
      "id": "b462dd15-76a6-4d09-a258-6a64c5e7c2b5",
      "name": "HDW Get LinkedIn Profile Connections",
      "type": "n8n-nodes-hdw.hdwLinkedinManagement",
      "position": [
        3260,
        1540
      ]
    },
    {
      "id": "44e0fce5-df66-4572-bc91-c3600cb9377e",
      "name": "HDW Send LinkedIn Connection",
      "type": "n8n-nodes-hdw.hdwLinkedinManagement",
      "position": [
        4140,
        1200
      ]
    },
    {
      "id": "d5870d51-8f5e-41b2-b05e-1b49b04ede86",
      "name": "AI Agent: ICP -> LinkedIn search filters",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2320,
        1060
      ]
    },
    {
      "id": "1755a3e7-26d8-435d-853b-18128610b7b3",
      "name": "Company name is not empty",
      "type": "n8n-nodes-base.if",
      "position": [
        -1240,
        1060
      ]
    },
    {
      "id": "b6f67554-1d08-4573-ad48-d77fb5f16835",
      "name": "Website is not empty",
      "type": "n8n-nodes-base.if",
      "position": [
        240,
        880
      ]
    },
    {
      "id": "c7add783-44a3-470c-be4f-b7b68ee07523",
      "name": "Post summary is empty",
      "type": "n8n-nodes-base.if",
      "position": [
        260,
        1560
      ]
    },
    {
      "id": "4e54ace8-96cd-40b6-b9a0-141f71ba70a7",
      "name": "Company news is empty",
      "type": "n8n-nodes-base.if",
      "position": [
        260,
        1880
      ]
    },
    {
      "id": "6d5b7133-9b85-4795-ae55-303a7670bb4d",
      "name": "Company post is empty",
      "type": "n8n-nodes-base.if",
      "position": [
        260,
        2380
      ]
    },
    {
      "id": "9db340da-d10f-4873-838c-8f912ba36695",
      "name": "Lead Score is empty",
      "type": "n8n-nodes-base.if",
      "position": [
        1900,
        1740
      ]
    },
    {
      "id": "0edd4748-d13b-4aa7-9b13-cb7f216fc5d9",
      "name": "Company Score Analysis",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2260,
        1740
      ]
    },
    {
      "id": "d59cae4f-a8ea-4db1-a4cb-44bf9d64fd75",
      "name": "5s",
      "type": "n8n-nodes-base.wait",
      "position": [
        4180,
        2120
      ]
    },
    {
      "id": "f4492b0f-a260-4d94-8b05-4d785c8c097e",
      "name": "Sticky Note27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3020,
        1900
      ],
      "parameters": {
        "width": 2260,
        "height": 680,
        "content": "Send the first message"
      }
    },
    {
      "id": "fb56b1a5-cefe-4ccb-b901-b5d44d54b4d5",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -2720,
        2420
      ]
    },
    {
      "id": "9ffc5ef5-61db-40f8-be7f-4427387c806c",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -2400,
        2140
      ]
    },
    {
      "id": "42e32163-0529-4d2d-bc93-92ed2a57ee44",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -2200,
        2160
      ]
    },
    {
      "id": "f8246169-7a15-44f8-92aa-55661bd6ec53",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2420,
        2420
      ]
    },
    {
      "id": "7e200d49-02b5-41f1-b3fe-df052d0d851a",
      "name": "Sticky Note24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3240,
        1940
      ],
      "parameters": {
        "width": 1840,
        "height": 820,
        "content": "## Conversation agent"
      }
    },
    {
      "id": "9b09a602-9f41-4e79-b111-2f2a59cf3680",
      "name": "Schedule Trigger3",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        3100,
        1980
      ]
    },
    {
      "id": "3badf4f0-592b-41b3-be51-7f39879edf96",
      "name": "Google Sheets21",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3320,
        1980
      ]
    },
    {
      "id": "17a825fc-5dfa-480b-9c4a-f8543afbf7c4",
      "name": "If3",
      "type": "n8n-nodes-base.if",
      "position": [
        3540,
        1980
      ]
    },
    {
      "id": "16a83e7a-3020-4687-b632-ca16c251687d",
      "name": "Sticky Note25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        1440
      ],
      "parameters": {
        "width": 1220,
        "height": 340,
        "content": "## Check the connections"
      }
    },
    {
      "id": "949c7342-115d-4fc4-b819-eab822b2644d",
      "name": "Sticky Note29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2600,
        980
      ],
      "parameters": {
        "width": 1800,
        "height": 440,
        "content": "## Add new connections"
      }
    },
    {
      "id": "476dfcd2-47de-4c20-be98-7c8090ac807a",
      "name": "If4",
      "type": "n8n-nodes-base.if",
      "position": [
        -740,
        1820
      ]
    },
    {
      "id": "3ad79f6e-fcc7-4fd1-b546-3ab04b1084af",
      "name": "Read companies",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1420,
        1060
      ]
    },
    {
      "id": "e5338e9b-cae3-4301-88ad-16128978d42b",
      "name": "Save new companies",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1600,
        1060
      ]
    },
    {
      "id": "d28278df-0ce3-4d3b-bf91-181085f27685",
      "name": "Discourse your ICP with Agent",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -3020,
        2140
      ]
    },
    {
      "id": "fb8191dd-9512-4c62-8199-c4a7b0a2e62f",
      "name": "ICP Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2760,
        2140
      ]
    },
    {
      "id": "dfb24258-8003-4e1e-b27e-cfd6e84c9c49",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1560,
        1720
      ]
    }
  ],
  "connections": {
    "5s": {
      "main": [
        [
          {
            "node": "HDW LinkedIn Send Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If": {
      "main": [
        [
          {
            "node": "AI Agent: ICP -> LinkedIn search filters",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If3": {
      "main": [
        [
          {
            "node": "Loop Over Items8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If4": {
      "main": [
        [
          {
            "node": "HDW Get Company Website",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sort": {
      "main": [
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "Loop Over Items7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Google Sheets11",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Summarise user posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ICP Agent": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "HDW LinkedIn SN",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Summarise company news",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate2": {
      "main": [
        [
          {
            "node": "Summarise company posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW Parser": {
      "ai_tool": [
        [
          {
            "node": "Summarise company website",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "HDW Site-map": {
      "ai_tool": [
        [
          {
            "node": "Summarise company website",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "ICP Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets2": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets3": {
      "main": [
        [
          {
            "node": "Website is not empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets4": {
      "main": [
        [
          {
            "node": "Post summary is empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets5": {
      "main": [
        [
          {
            "node": "Loop Over Items2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets6": {
      "main": [
        [
          {
            "node": "Company news is empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets7": {
      "main": [
        [
          {
            "node": "Loop Over Items3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets8": {
      "main": [
        [
          {
            "node": "Company post is empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets9": {
      "main": [
        [
          {
            "node": "Loop Over Items4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read companies": {
      "main": [
        [
          {
            "node": "Company name is not empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets10": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets11": {
      "main": [
        [
          {
            "node": "Lead Score is empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets12": {
      "main": [
        [
          {
            "node": "Loop Over Items6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets13": {
      "main": [
        [
          {
            "node": "Sort",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets14": {
      "main": [
        [
          {
            "node": "Loop Over Items7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets17": {
      "main": [
        [
          {
            "node": "Loop Over Items8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets21": {
      "main": [
        [
          {
            "node": "If3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW LinkedIn SN": {
      "main": [
        [
          {
            "node": "Save new companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Google Sheets3",
            "type": "main",
            "index": 0
          },
          {
            "node": "Google Sheets4",
            "type": "main",
            "index": 0
          },
          {
            "node": "Google Sheets6",
            "type": "main",
            "index": 0
          },
          {
            "node": "Google Sheets8",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "If4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Summarise company website",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items2": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "HDW Get User Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items3": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ],
        [
          {
            "node": "HDW Get Company News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items4": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 3
          }
        ],
        [
          {
            "node": "HDW Get Company Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items6": {
      "main": [
        [
          {
            "node": "Google Sheets13",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Company Score Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items7": {
      "main": [
        [],
        [
          {
            "node": "HDW Send LinkedIn Connection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items8": {
      "main": [
        [],
        [
          {
            "node": "5s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Google Sheets13",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent: ICP -> LinkedIn search filters",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "HDW Get LinkedIn Profile Connections",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger3": {
      "main": [
        [
          {
            "node": "Google Sheets21",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW Get User Posts": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Summarise company website",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "ICP Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Save new companies": {
      "main": [
        [
          {
            "node": "Read companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Score is empty": {
      "main": [
        [
          {
            "node": "Loop Over Items6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW Get Company News": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarise user posts": {
      "main": [
        [
          {
            "node": "Google Sheets5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Website is not empty": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Company news is empty": {
      "main": [
        [
          {
            "node": "Loop Over Items3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Company post is empty": {
      "main": [
        [
          {
            "node": "Loop Over Items4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW Get Company Posts": {
      "main": [
        [
          {
            "node": "Aggregate2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post summary is empty": {
      "main": [
        [
          {
            "node": "Loop Over Items2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Company Score Analysis": {
      "main": [
        [
          {
            "node": "Google Sheets12",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarise company news": {
      "main": [
        [
          {
            "node": "Google Sheets7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW Get Company Website": {
      "main": [
        [
          {
            "node": "Google Sheets2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarise company posts": {
      "main": [
        [
          {
            "node": "Google Sheets9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent: ICP -> LinkedIn search filters",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Company name is not empty": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW LinkedIn Send Message": {
      "main": [
        [
          {
            "node": "Google Sheets17",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarise company website": {
      "main": [
        [
          {
            "node": "Google Sheets10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW Send LinkedIn Connection": {
      "main": [
        [
          {
            "node": "Google Sheets14",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Discourse your ICP with Agent": {
      "main": [
        [
          {
            "node": "ICP Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HDW Get LinkedIn Profile Connections": {
      "main": [
        [
          {
            "node": "Google Sheets15",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent: ICP -> LinkedIn search filters": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}