{
  "name": "Automated LinkedIn company page growth with Browserflow and Google Sheets",
  "nodes": [
    {
      "id": "d74d5b8d-9b6a-4608-9eec-3340ae311aed",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        96,
        240
      ]
    },
    {
      "id": "d78a09c0-2146-4bc7-b069-34059e8d578b",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        464,
        240
      ]
    },
    {
      "id": "7f923e86-0363-4c70-a9bd-61276426f640",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        800,
        400
      ]
    },
    {
      "id": "7ec04976-f71d-48e9-bd42-b9f5f1f45d66",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 1824,
        "height": 576,
        "content": "## Retrieve Leads from Post comments\nThis workflow gets leads by scraping people that reacted under a post ands stores them in Google Sheets"
      }
    },
    {
      "id": "78edfcf0-348a-4b38-afeb-e3f19543c6ca",
      "name": "Fetch Posts to Scrape",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        304,
        240
      ]
    },
    {
      "id": "fdb66045-1279-4b61-8b8a-b8d4a749cb5e",
      "name": "Mark Post as scraped",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1632,
        48
      ]
    },
    {
      "id": "f745ac51-9167-4451-8aed-24f266ca971c",
      "name": "Scrape comments from Post",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        640,
        400
      ]
    },
    {
      "id": "dbc54a3e-3316-484c-8934-26299c48f622",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1152,
        272
      ]
    },
    {
      "id": "142e8a2a-a9fd-4754-bdbf-4190ebd30ab7",
      "name": "Check if already collected",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1328,
        352
      ]
    },
    {
      "id": "8f7d2482-8835-4f7d-9310-82f6acdde24c",
      "name": "Collect leads in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1648,
        320
      ]
    },
    {
      "id": "c8da504d-8ee4-4ce4-a673-c763d69dd73d",
      "name": "If not in sheet",
      "type": "n8n-nodes-base.if",
      "position": [
        1472,
        352
      ]
    },
    {
      "id": "5941c219-3df0-454f-9954-abccf475e08d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        624
      ],
      "parameters": {
        "width": 1824,
        "height": 704,
        "content": "## Invite Leads as a LinkedIn Connection\nThis part of the workflow grabs the leads, checks for their connection status and invites them if needed. It also maintains the most up-2-date status in the Sh"
      }
    },
    {
      "id": "6a9800ca-4020-4db0-916a-c0c62b130a7f",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        48,
        800
      ]
    },
    {
      "id": "b223352f-28bf-4161-b4d1-c001e66102e4",
      "name": "Fetch Leads that have not been invited",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        256,
        800
      ]
    },
    {
      "id": "21e06be6-ea6b-4010-9c9a-8cc9c354b308",
      "name": "Loop over leads",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        464,
        800
      ]
    },
    {
      "id": "1a424a36-c6f8-4cb6-bb96-120cd8653119",
      "name": "Check if a person is a connection",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        608,
        944
      ]
    },
    {
      "id": "1024bf1c-9700-4b2d-b816-1147fdf902f5",
      "name": "Send a linked in connection invite",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        896,
        720
      ]
    },
    {
      "id": "daf437cf-6825-447e-b79f-1225ce14def4",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        752,
        944
      ]
    },
    {
      "id": "10790724-09c8-4973-899f-a6046ccf4366",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        896,
        1088
      ]
    },
    {
      "id": "dabbdf38-c80d-4968-b1a7-fb4be08eac35",
      "name": "Already connected",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1072,
        1120
      ]
    },
    {
      "id": "c09a2a9b-d861-410f-8fde-451e6043f59a",
      "name": "Pending",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1072,
        976
      ]
    },
    {
      "id": "2bf4a1b0-eaa9-474e-9d76-692b638326ce",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1392
      ],
      "parameters": {
        "width": 1824,
        "height": 352,
        "content": "## Update Connection Status\nFetch your recent connections to check which leads have accepted your connection invite."
      }
    },
    {
      "id": "efc27e38-a7d3-4c02-879b-55eb0a99dce2",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        48,
        1536
      ]
    },
    {
      "id": "efbfab34-30a1-476e-b454-100bda3b2069",
      "name": "List your linkedin connections",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        208,
        1536
      ]
    },
    {
      "id": "7b18e737-c6a6-4d49-9fbe-4e7c48cca1e5",
      "name": "Schedule Trigger2",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        48,
        1888
      ]
    },
    {
      "id": "bada790f-6fe1-409c-ad4d-2658869d9820",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1792
      ],
      "parameters": {
        "width": 1824,
        "height": 320,
        "content": "## Invite connections to follow page\nInvite your LinkedIn Connections to Follow your page. Make sure to set the LinkedIn url of the page you are admin to"
      }
    },
    {
      "id": "9ea428a4-092b-4c2c-8b05-61b6b9c9a0e8",
      "name": "Update connection status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        832,
        1536
      ]
    },
    {
      "id": "fca4b703-be7d-4edd-9132-3f176b9f870e",
      "name": "Invite connections to follow page",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        640,
        1904
      ]
    },
    {
      "id": "74a52abf-0d0a-456c-8f0e-ef088eacb02a",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        944,
        400
      ]
    },
    {
      "id": "f5bcd0c0-31cc-4072-a399-bacbdbe94c9f",
      "name": "Invite Sent",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1072,
        752
      ]
    },
    {
      "id": "d1bdab34-e94b-41c3-9e7b-58f5d119cb3b",
      "name": "Split out over connections",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        416,
        1536
      ]
    },
    {
      "id": "f52433f1-bdaf-4afd-84e1-18ee5b0e20de",
      "name": "Get connected leads",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        208,
        1888
      ]
    },
    {
      "id": "b4f9b646-527a-40dc-a3f8-53cc1cc4e91c",
      "name": "Loop over leads2",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        416,
        1888
      ]
    },
    {
      "id": "79b3b9e1-2dc1-4781-b463-26df16f2e18f",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        624,
        1536
      ]
    },
    {
      "id": "b15d38f1-3f3a-46ee-a7f7-f0d202cc7bba",
      "name": "Update invited to page",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        832,
        1904
      ]
    },
    {
      "id": "28d88ea7-c690-4914-a951-eda5953d3cc1",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        0
      ],
      "parameters": {
        "width": 480,
        "height": 1136,
        "content": "## Fully Automated LinkedIn Company Page Growth\n\n### How it works\n\nThis workflow automates LinkedIn Company Page growth using\n**[Browserflow](https://browserflow.io)** and **Google Sheets**.\n\nIt runs "
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Send a linked in connection invite",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Pending",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Already connected",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pending": {
      "main": [
        [
          {
            "node": "Loop over leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Invite Sent": {
      "main": [
        [
          {
            "node": "Loop over leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If not in sheet": {
      "main": [
        [
          {
            "node": "Collect leads in sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Scrape comments from Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop over leads": {
      "main": [
        [],
        [
          {
            "node": "Check if a person is a connection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [
          {
            "node": "Mark Post as scraped",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Check if already collected",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop over leads2": {
      "main": [
        [],
        [
          {
            "node": "Invite connections to follow page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Fetch Leads that have not been invited",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Already connected": {
      "main": [
        [
          {
            "node": "Loop over leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "List your linkedin connections",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger2": {
      "main": [
        [
          {
            "node": "Get connected leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Update connection status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get connected leads": {
      "main": [
        [
          {
            "node": "Loop over leads2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark Post as scraped": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Posts to Scrape": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Collect leads in sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update invited to page": {
      "main": [
        [
          {
            "node": "Loop over leads2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape comments from Post": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if already collected": {
      "main": [
        [
          {
            "node": "If not in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out over connections": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List your linkedin connections": {
      "main": [
        [
          {
            "node": "Split out over connections",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if a person is a connection": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Invite connections to follow page": {
      "main": [
        [
          {
            "node": "Update invited to page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a linked in connection invite": {
      "main": [
        [
          {
            "node": "Invite Sent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Fetch Posts to Scrape",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Leads that have not been invited": {
      "main": [
        [
          {
            "node": "Loop over leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}