{
  "name": "AI-powered cold call machine with LinkedIn, OpenAI & Sales Navigator",
  "nodes": [
    {
      "id": "e7625dd8-e020-4dcd-a8c1-8268310a1d84",
      "name": "Process Each Company",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2420,
        -740
      ]
    },
    {
      "id": "0998efcf-7b05-4ad1-844e-3fc4a5136c44",
      "name": "Get Company Info",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2640,
        -740
      ]
    },
    {
      "id": "7c914bd6-1a42-4a6e-b09e-d553ca770de6",
      "name": "Filter Valid Companies",
      "type": "n8n-nodes-base.if",
      "position": [
        2840,
        -740
      ]
    },
    {
      "id": "9690999d-7a10-4b9b-8a73-0c1cc3cca7f0",
      "name": "Is New Company?",
      "type": "n8n-nodes-base.if",
      "position": [
        3280,
        -740
      ]
    },
    {
      "id": "e0386eb6-1c98-454d-ac5d-cacca1f68ca5",
      "name": "Search Companies",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1900,
        -740
      ]
    },
    {
      "id": "003c4ff2-ad82-43cb-8f77-85ba733bfec2",
      "name": "Extract Company Data",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2100,
        -740
      ]
    },
    {
      "id": "3616bf38-3e24-459b-a3a3-5c4f489c9c1e",
      "name": "Check If Company Exists",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3060,
        -740
      ]
    },
    {
      "id": "fcc1b9d9-468c-459c-9eca-825f72e2e958",
      "name": "AI Company Scoring",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3620,
        -740
      ]
    },
    {
      "id": "746a7981-4dcc-494c-bc3f-4e65f8ab8b20",
      "name": "Add Company to CRM",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3980,
        -740
      ]
    },
    {
      "id": "a17bb8d3-95fc-4d9d-b6d0-a49070591b0f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -1020
      ],
      "parameters": {
        "width": 1580,
        "height": 460,
        "content": "## LinkedIn company search\nThis section initiates the workflow and searches for your target companies on LinkedIn using the Ghost Genius API.\n\nYou can filter and refine your search by customizing the "
      }
    },
    {
      "id": "986ac080-9536-4b27-9e9c-09dc2ce843e9",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3520,
        -1020
      ],
      "parameters": {
        "width": 680,
        "height": 460,
        "content": "## AI scoring and storage\nThis section scores the company and stores it in a Google Sheet.\n\nIt's important to properly fill in the \"Settings\" sheet at the beginning of the workflow to get a result rel"
      }
    },
    {
      "id": "e843bbc2-33aa-4145-b5a1-8d9483c25530",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1180,
        -740
      ]
    },
    {
      "id": "7f58c3d4-dd04-4766-a632-23437c2131a3",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2340,
        -1020
      ],
      "parameters": {
        "width": 1120,
        "height": 460,
        "content": "## Company data processing \nThis section processes each company individually.\n\nWe retrieve all the company information using Get Company Details by using the LinkedIn link obtained from the previous s"
      }
    },
    {
      "id": "0d1abba8-380e-429e-89d2-7f42bf4f9644",
      "name": "Start",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        780,
        -740
      ]
    },
    {
      "id": "1353ecb3-72f9-49bf-ad0d-92e298a0d667",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        -1160
      ],
      "parameters": {
        "width": 3740,
        "height": 920,
        "content": "# Search LinkedIn companies, score them with AI, and send to your CRM"
      }
    },
    {
      "id": "7651927b-f692-4194-a8ab-1df8aea75209",
      "name": "Make the perfect request",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1540,
        -740
      ]
    },
    {
      "id": "5d93a57b-9ff4-4542-9a3f-5058ab151055",
      "name": "Get Settings",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        980,
        -740
      ]
    },
    {
      "id": "ddc20b06-bbd6-40de-9f86-8af7409309e5",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1340,
        -740
      ]
    },
    {
      "id": "8c6a4ce8-bdd0-462b-9486-51f1a3df6d6a",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1480,
        -560
      ],
      "parameters": {
        "width": 400,
        "height": 260,
        "content": "## Exit"
      }
    },
    {
      "id": "d745c311-bb03-4a08-84c9-7c3aa8495a61",
      "name": "Missing API Key or Account ID",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        1640,
        -480
      ]
    },
    {
      "id": "eeb46f4b-5df9-4bcc-810a-d00e0245a6a8",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        920,
        260
      ]
    },
    {
      "id": "8ea6ffb9-3a8d-4f89-8b68-9cc24f94bbeb",
      "name": "Companies Recovery",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1360,
        260
      ]
    },
    {
      "id": "9c152cdb-e13f-4dfa-b3f8-4a792f969e3c",
      "name": "Filter Score and State",
      "type": "n8n-nodes-base.filter",
      "position": [
        1560,
        260
      ]
    },
    {
      "id": "c8408cdb-c6ac-45b2-86e9-4b73c2f180d6",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2080,
        260
      ]
    },
    {
      "id": "a7174058-4bc4-4de9-a887-9672a7e9fd58",
      "name": "Find Employees",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2300,
        260
      ]
    },
    {
      "id": "900c1a14-5716-4647-bc5c-c1caacd24870",
      "name": "Check profiles Found",
      "type": "n8n-nodes-base.if",
      "position": [
        2520,
        260
      ]
    },
    {
      "id": "6a7f796a-56a5-4dc3-9783-ae29f5938ae5",
      "name": "Split Profiles",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2760,
        260
      ]
    },
    {
      "id": "1237a4bd-067c-456f-8b22-aa71c2b3dce1",
      "name": "Get Profile details",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2980,
        260
      ]
    },
    {
      "id": "eb9b91c7-efbc-4578-9444-4d60f00fb3b5",
      "name": "Keep relevant information",
      "type": "n8n-nodes-base.code",
      "position": [
        3400,
        260
      ]
    },
    {
      "id": "ee8706a1-add1-4a8e-a975-1082b0c19f25",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -20
      ],
      "parameters": {
        "width": 1520,
        "height": 460,
        "content": "## Data recovery\nHere, we retrieve the companies from the first automation, filtering them by their score (min. 7). Feel free to remove this filter or modify it. However, it is mandatory to keep the s"
      }
    },
    {
      "id": "825a0a05-272a-4540-a268-79f370d50e20",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2000,
        -20
      ],
      "parameters": {
        "width": 1580,
        "height": 460,
        "content": "## Find the decision makers\nHere, for each company, we find the decision-makers (you can customize the job titles in the Google Sheet), then we enrich each profile, and finally, we find their email.\n\n"
      }
    },
    {
      "id": "1c000d63-dffb-45e4-af0a-6db030ae31fa",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2600,
        440
      ],
      "parameters": {
        "width": 400,
        "height": 260,
        "content": "## Exit"
      }
    },
    {
      "id": "e25b5961-c5fa-45af-924a-50a35608093b",
      "name": "Limit",
      "type": "n8n-nodes-base.limit",
      "position": [
        1760,
        260
      ]
    },
    {
      "id": "3dce7f32-006c-4876-acfa-7914eab09af1",
      "name": "Get Settings1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        700,
        260
      ]
    },
    {
      "id": "79519765-6491-47ae-a6d5-aba61f2912cf",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1220,
        440
      ],
      "parameters": {
        "width": 400,
        "height": 260,
        "content": "## Exit"
      }
    },
    {
      "id": "196a5d4a-d307-4421-ab9f-8253777219b9",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        260
      ]
    },
    {
      "id": "c7bcec5e-db22-430c-bc9c-0d4d09748a69",
      "name": "No decision maker found",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2760,
        520
      ]
    },
    {
      "id": "c58ddc51-6ce5-4548-b82d-35761e5835ec",
      "name": "Get Mobile",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3200,
        260
      ]
    },
    {
      "id": "ea03d9c4-61e9-4777-a9ca-bdbf9ca4143f",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4080,
        260
      ]
    },
    {
      "id": "f726199a-51bb-4660-81c5-2b53ef5258da",
      "name": "Lead(s) found",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4480,
        260
      ]
    },
    {
      "id": "947169c7-8385-40e4-8a5c-54ba5b136f87",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1420,
        -1680
      ],
      "parameters": {
        "width": 660,
        "height": 440,
        "content": "## Introduction\nWelcome to my template! Before explaining how to set it up, here's some **important information:**\n\nThis template is divided into two automations that complement each other.\n\nThe first"
      }
    },
    {
      "id": "3a4d4368-d74a-4918-a30d-fd4a3ff9380c",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        -1680
      ],
      "parameters": {
        "width": 600,
        "height": 440,
        "content": "## Setup\n- [Watch this video](https://www.youtube.com/watch?v=0EsdmETsZGE) (it's for a very similar automation, just the ending changes but the operation is the same)\n\n- Create an account on [Ghost Ge"
      }
    },
    {
      "id": "49143c1b-9093-4f04-a2d0-c6009a3fdaaa",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2840,
        -1680
      ],
      "parameters": {
        "width": 600,
        "height": 440,
        "content": "## Tools \n**(You can use the API and CRM of your choice; this is only a suggestion)**\n\n- API Linkedin: [Ghost Genius API](https://ghostgenius.fr) \n\n- API Documentation: [Documentation](https://ghostge"
      }
    },
    {
      "id": "08a32a0e-bf4e-4174-9b3b-bd9038af7a9d",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        500,
        260
      ]
    },
    {
      "id": "f9754c30-5ecb-43dc-8505-b7b9c0e770a9",
      "name": "Missing Informations",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        1380,
        520
      ]
    },
    {
      "id": "cb8be6ee-e588-42c8-94a6-632a20055b62",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3640,
        -20
      ],
      "parameters": {
        "width": 1040,
        "height": 460,
        "content": "## Email generation and storage\nIn this section, we generate the call script, then store all the information in our Google Sheet, and finally, update the company's status.\n\nFor more context and releva"
      }
    },
    {
      "id": "b3f67f73-6c0c-4918-b81e-52ec5d43dd10",
      "name": "Script Generation",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3720,
        260
      ]
    },
    {
      "id": "b7eb67d7-a1f7-4df7-b17c-baeeba60e961",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -160
      ],
      "parameters": {
        "width": 4440,
        "height": 920,
        "content": "# Find decision-makers, get phone number, and generate call script with AI\n"
      }
    },
    {
      "id": "fe246efe-5b50-4dc6-b5ba-fc7aca085fba",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2200,
        -1820
      ],
      "parameters": {
        "width": null,
        "height": 80,
        "content": "# [Setup Video](https://www.youtube.com/watch?v=0EsdmETsZGE)"
      }
    },
    {
      "id": "1083c453-5542-4e68-8ad3-18aca1d71f34",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2500,
        -1820
      ],
      "parameters": {
        "width": null,
        "height": 80,
        "content": "# [Contact me](https://www.linkedin.com/in/matthieu-belin83/)"
      }
    },
    {
      "id": "6f14bae9-1057-4816-8d54-395dda3e619a",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        4280,
        260
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Make the perfect request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Missing API Key or Account ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Companies Recovery",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Missing Informations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Lead(s) found",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start": {
      "main": [
        [
          {
            "node": "Get Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Mobile": {
      "main": [
        [
          {
            "node": "Keep relevant information",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Settings": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Settings1": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead(s) found": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Employees": {
      "main": [
        [
          {
            "node": "Check profiles Found",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Profiles": {
      "main": [
        [
          {
            "node": "Get Profile details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is New Company?": {
      "main": [
        [
          {
            "node": "AI Company Scoring",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process Each Company",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Find Employees",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Company Info": {
      "main": [
        [
          {
            "node": "Filter Valid Companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Settings1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Companies": {
      "main": [
        [
          {
            "node": "Extract Company Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script Generation": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Company Scoring": {
      "main": [
        [
          {
            "node": "Add Company to CRM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Company to CRM": {
      "main": [
        [
          {
            "node": "Process Each Company",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Companies Recovery": {
      "main": [
        [
          {
            "node": "Filter Score and State",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Profile details": {
      "main": [
        [
          {
            "node": "Get Mobile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check profiles Found": {
      "main": [
        [
          {
            "node": "Split Profiles",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No decision maker found",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Company Data": {
      "main": [
        [
          {
            "node": "Process Each Company",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Each Company": {
      "main": [
        [],
        [
          {
            "node": "Get Company Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Score and State": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Valid Companies": {
      "main": [
        [
          {
            "node": "Check If Company Exists",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process Each Company",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check If Company Exists": {
      "main": [
        [
          {
            "node": "Is New Company?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "No decision maker found": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Make the perfect request": {
      "main": [
        [
          {
            "node": "Search Companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Keep relevant information": {
      "main": [
        [
          {
            "node": "Script Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}