{
  "name": "Automate LinkedIn contact requests & icebreaker with Unipile and Google sheets",
  "nodes": [
    {
      "id": "8bf19219-e4c1-4c79-a099-7e6668c4ae93",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -60,
        500
      ]
    },
    {
      "id": "4b41d0fd-dab3-45ef-ae61-0009cc6d375c",
      "name": "Create Webhook",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        800,
        -220
      ]
    },
    {
      "id": "90098842-5bbc-45cf-adc9-84ca9be2c9b7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        -340
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e2c28135-b7ee-40a0-9b14-a8147dd273da",
      "name": "Start HERE",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -40,
        -220
      ]
    },
    {
      "id": "51ae0f60-af6d-4ed3-a988-2a59a179589c",
      "name": "Webhook status response",
      "type": "n8n-nodes-base.form",
      "position": [
        1020,
        -220
      ]
    },
    {
      "id": "914e854b-dc8b-4425-a275-2ce262c4482c",
      "name": "Send contact request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1660,
        -20
      ]
    },
    {
      "id": "2a03efc1-7bc1-443e-9777-448b549f367a",
      "name": "if not is_relationship",
      "type": "n8n-nodes-base.if",
      "position": [
        1440,
        120
      ]
    },
    {
      "id": "87a675d8-b169-4aa7-8666-437aca5d5c46",
      "name": "Get linkedin profiles",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        600,
        120
      ]
    },
    {
      "id": "4d56dff8-824f-4bef-87d9-78f499473dc1",
      "name": "Populate profiles",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1220,
        120
      ]
    },
    {
      "id": "bf9b3704-8e6b-45e3-a63b-82b72b4929cc",
      "name": "Response Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -60,
        740
      ]
    },
    {
      "id": "3a6bc6ea-ca8a-411e-b913-3643c4350bff",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        420
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "cd6c9157-144b-45d9-8f57-ffce9c8da931",
      "name": "Get chat participants",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        740,
        500
      ]
    },
    {
      "id": "bd49f5cc-9b84-42c7-8320-70c5b0802291",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        380,
        -220
      ]
    },
    {
      "id": "47e7ebc7-3aed-4564-a5b3-bf3d39215590",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -340
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3c86a4c8-dfa1-4d0b-8133-6c0d14544faa",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        920
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "65211596-9813-4419-b7bd-078c85cf9bb6",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        360,
        120
      ]
    },
    {
      "id": "0dc99232-ec2b-4f4e-b635-e73bd13046f4",
      "name": "Extract from File1",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        340,
        740
      ]
    },
    {
      "id": "724ad61b-00f9-4576-ae09-3e48d24cca33",
      "name": "Read file",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        160,
        120
      ]
    },
    {
      "id": "65902c49-a150-441d-847f-578209ce15a5",
      "name": "Write file",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        600,
        -220
      ]
    },
    {
      "id": "82ac3288-b7b1-491f-9d5f-f5f9e6fa9a0c",
      "name": "Read file1",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        140,
        740
      ]
    },
    {
      "id": "e627e203-931e-4b6a-bdc5-73e5d1bdb007",
      "name": "Extract from File2",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        340,
        500
      ]
    },
    {
      "id": "3040098d-c1bf-457e-a5bb-6a424066fbd2",
      "name": "Read file2",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        140,
        500
      ]
    },
    {
      "id": "bc55190b-cbb6-4e42-b144-13a94cf80530",
      "name": "Get linkedin profiles1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        520,
        740
      ]
    },
    {
      "id": "37e9feba-9c79-472f-acbd-088bc0186912",
      "name": "If status is invited",
      "type": "n8n-nodes-base.if",
      "position": [
        700,
        740
      ]
    },
    {
      "id": "117cd9cf-6c29-4efa-8040-65613f58db0a",
      "name": "Send Icebreaker",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        920,
        720
      ]
    },
    {
      "id": "e1f89ba6-9ce2-46b8-b175-6662deb5e115",
      "name": "Send Icebreaker1",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1660,
        240
      ]
    },
    {
      "id": "bdfe75d4-06e6-4b47-b905-34176eaaf374",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -340
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ab62101f-a901-47e5-b725-a7fb6eab24f3",
      "name": "Split the DSN",
      "type": "n8n-nodes-base.set",
      "position": [
        180,
        -220
      ]
    },
    {
      "id": "2a2b045a-c064-4014-838c-1474cf673d00",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c5005820-b07c-4572-ad84-25e7154c36c3",
      "name": "Update status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1840,
        -20
      ]
    },
    {
      "id": "497b6d4b-2ce0-4b63-927d-41a022a81a8c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        -100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a149e351-9f6b-47bf-830c-935e6b9aca3e",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e9d38497-9deb-4a9c-8e60-997e7f8f64f8",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        980,
        -40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "18f44b02-b7dc-4efc-a28d-0587c6259a20",
      "name": "Get user Linkedin data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1020,
        120
      ]
    },
    {
      "id": "e6df2a30-70d7-48ce-9313-e0180038e263",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        -40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9f571656-fa9f-41d0-b23a-0273d842ff7e",
      "name": "Use this worflow to start the whole pocess",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -60,
        120
      ]
    },
    {
      "id": "a7586e81-72e5-48eb-a57e-49c3ae1d9814",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        680
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "89a35cf2-c3fc-4f06-b3a6-d2420bcfa862",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "00fb7683-f732-483a-a6f7-1e90aad7a6c3",
      "name": "Extract username from Linkedin Link",
      "type": "n8n-nodes-base.code",
      "position": [
        820,
        120
      ]
    },
    {
      "id": "ad6b7246-85e1-4ec1-b683-9d498305c5d0",
      "name": "Update status1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1100,
        720
      ]
    },
    {
      "id": "ffebd20a-99f5-4ce6-8ad1-2b7a47b4a92d",
      "name": "Start chat",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        540,
        500
      ]
    },
    {
      "id": "e67649c3-8803-42a0-88b8-c463c1f16c04",
      "name": "Return attendee ID and Chat ID",
      "type": "n8n-nodes-base.set",
      "position": [
        920,
        500
      ]
    },
    {
      "id": "8e1198a0-550e-45b5-8438-36ebb37f431a",
      "name": "Update status2",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1840,
        240
      ]
    },
    {
      "id": "6282e3ce-03da-4b37-81c0-2abdc34ac04e",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        420
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Read file": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read file1": {
      "main": [
        [
          {
            "node": "Extract from File1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read file2": {
      "main": [
        [
          {
            "node": "Extract from File2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start HERE": {
      "main": [
        [
          {
            "node": "Split the DSN",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start chat": {
      "main": [
        [
          {
            "node": "Get chat participants",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write file": {
      "main": [
        [
          {
            "node": "Create Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split the DSN": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Webhook": {
      "main": [
        [
          {
            "node": "Webhook status response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Write file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Icebreaker": {
      "main": [
        [
          {
            "node": "Update status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Response Webhook": {
      "main": [
        [
          {
            "node": "Read file1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Icebreaker1": {
      "main": [
        [
          {
            "node": "Update status2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Get linkedin profiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Populate profiles": {
      "main": [
        [
          {
            "node": "if not is_relationship",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File1": {
      "main": [
        [
          {
            "node": "Get linkedin profiles1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File2": {
      "main": [
        [
          {
            "node": "Start chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If status is invited": {
      "main": [
        [
          {
            "node": "Send Icebreaker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send contact request": {
      "main": [
        [
          {
            "node": "Update status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get chat participants": {
      "main": [
        [
          {
            "node": "Return attendee ID and Chat ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get linkedin profiles": {
      "main": [
        [
          {
            "node": "Extract username from Linkedin Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get linkedin profiles1": {
      "main": [
        [
          {
            "node": "If status is invited",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get user Linkedin data": {
      "main": [
        [
          {
            "node": "Populate profiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "if not is_relationship": {
      "main": [
        [
          {
            "node": "Send contact request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Icebreaker1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook status response": {
      "main": [
        []
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Read file2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract username from Linkedin Link": {
      "main": [
        [
          {
            "node": "Get user Linkedin data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Use this worflow to start the whole pocess": {
      "main": [
        [
          {
            "node": "Read file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}