{
  "name": "Score weekly Sales Navigator leads with AI and sync them to HubSpot",
  "nodes": [
    {
      "id": "17d9f90b-e4d0-4c3b-93f7-4915a231dcbd",
      "name": "Template overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        -260
      ],
      "parameters": {
        "color": 7,
        "width": 520,
        "height": 820,
        "content": "## Score weekly Sales Navigator leads with AI and sync them to HubSpot\n\n**Who it's for:** sales and growth teams that prospect in LinkedIn Sales Navigator and run their pipeline in HubSpot.\n\n**What it does:** every Monday, Evaboot exports your saved Sales Navigator search and finds verified emails. Each lead with a deliverable email is scored against your ideal customer profile by an AI model, which also writes a one-line icebreaker. Leads at or above your score threshold are created or updated in HubSpot with their score and icebreaker. A Slack message reports how many leads were exported, deliverable and pushed.\n\n### How to set up\n1. Install the Evaboot community node (`@evaboot-team/n8n-nodes-evaboot`). **Self-hosted n8n only.**\n2. Add credentials: Evaboot API key (Evaboot dashboard > API), OpenAI, HubSpot app token, Slack.\n3. In HubSpot, create two contact properties: `evaboot_icp_score` (number) and `evaboot_icebreaker` (single-line text).\n4. Fill in **Set your search and ICP**: Sales Navigator URL, ICP description, minimum score, Slack channel.\n5. Activate the workflow.\n\n### Requirements\nEvaboot account with Sales Navigator connected, OpenAI API key, HubSpot, Slack.\n\n### How to customize\nChange the schedule, rewrite the ICP prompt, raise the score threshold, or swap HubSpot for another CRM node."
      },
      "typeVersion": 1
    },
    {
      "id": "7b9df0eb-2d47-4960-8c2a-07e050ee8643",
      "name": "Step 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -260
      ],
      "parameters": {
        "width": 460,
        "height": 520,
        "content": "### 1. Configure and export\nEvery Monday the workflow reads your settings and asks Evaboot to export the Sales Navigator search. Evaboot scrapes the leads and finds and verifies their emails."
      },
      "typeVersion": 1
    },
    {
      "id": "da94d0f6-d247-4c37-89b8-7c072af0a332",
      "name": "Step 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -260
      ],
      "parameters": {
        "width": 700,
        "height": 520,
        "content": "### 2. Wait for the export\nThe workflow checks the export every 5 minutes. Only the export started by this run is read, so manual exports on your Evaboot account are never pushed. A 2,500-lead export with emails takes about an hour."
      },
      "typeVersion": 1
    },
    {
      "id": "f4575944-ee55-4d86-965f-8cce8131d83c",
      "name": "Step 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1080,
        -260
      ],
      "parameters": {
        "width": 1040,
        "height": 520,
        "content": "### 3. Score each lead with AI\nLeads without a deliverable email are dropped. The AI model compares each remaining lead to your ICP and returns a 0-100 score, a one-sentence reason and an icebreaker. Leads below your minimum score stop here."
      },
      "typeVersion": 1
    },
    {
      "id": "2faa5745-6bec-491c-a55b-1ae50d116756",
      "name": "Step 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        -260
      ],
      "parameters": {
        "width": 700,
        "height": 520,
        "content": "### 4. Sync to HubSpot and report\nQualified leads are created or updated in HubSpot (matched on email) with their score and icebreaker. Slack then gets a one-line summary of the run."
      },
      "typeVersion": 1
    },
    {
      "id": "e65facc0-e72b-4741-82a9-0db0bdb1d05d",
      "name": "Every Monday at 8am",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -100,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 8
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "b61f0df2-8dc5-4ee5-9e77-e280046c57e9",
      "name": "Set your search and ICP",
      "type": "n8n-nodes-base.set",
      "position": [
        100,
        0
      ],
      "parameters": {
        "mode": "manual",
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "9e9e629e-271b-44a3-8410-9d554a574e5d",
              "name": "salesNavigatorUrl",
              "type": "string",
              "value": "https://www.linkedin.com/sales/search/people?query=REPLACE_WITH_YOUR_SEARCH"
            },
            {
              "id": "49460077-46d2-4081-956c-aaaff1896d03",
              "name": "idealCustomerProfile",
              "type": "string",
              "value": "B2B SaaS companies with 50 to 500 employees. Decision makers in sales, revenue operations or growth (Head of, Director, VP, C-level)."
            },
            {
              "id": "a32f1718-5751-4819-8280-571f11330650",
              "name": "minimumScore",
              "type": "number",
              "value": 70
            },
            {
              "id": "e7009d7a-4f93-4820-826d-e1271dc3d331",
              "name": "slackChannel",
              "type": "string",
              "value": "#sales-leads"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "917bcf57-e0a9-4f4d-8b40-b6e05eea5481",
      "name": "Export Sales Navigator search",
      "type": "@evaboot-team/n8n-nodes-evaboot.evaboot",
      "position": [
        400,
        0
      ],
      "parameters": {
        "resource": "extraction",
        "operation": "createUrl",
        "searchName": "={{ 'Weekly export ' + $now.toFormat('yyyy-LL-dd') }}",
        "linkedinUrl": "={{ $json.salesNavigatorUrl }}"
      },
      "credentials": {
        "evabootApi": {
          "id": "",
          "name": "Evaboot account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "0cb60a4a-c348-439f-9ae0-448bfdcf5390",
      "name": "Wait 5 minutes",
      "type": "n8n-nodes-base.wait",
      "position": [
        620,
        0
      ],
      "webhookId": "9927a8b3-674a-428b-beaf-dd3615c8af03",
      "parameters": {
        "unit": "minutes",
        "amount": 5
      },
      "typeVersion": 1.1
    },
    {
      "id": "dad6738c-9939-4981-a22d-9e6a9a08f6d8",
      "name": "Check export status",
      "type": "@evaboot-team/n8n-nodes-evaboot.evaboot",
      "position": [
        820,
        0
      ],
      "parameters": {
        "resource": "extraction",
        "operation": "get",
        "extractionId": "={{ $('Export Sales Navigator search').item.json.extraction_id }}"
      },
      "credentials": {
        "evabootApi": {
          "id": "",
          "name": "Evaboot account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a6e17c95-662e-4965-90bb-d4e76aa02744",
      "name": "Export finished?",
      "type": "n8n-nodes-base.if",
      "position": [
        1000,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "b29a57b1-9055-451d-ad3e-bac24c52dab2",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ ['EXECUTED','FAILED','PAUSED'].includes($json.status) }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "c532fad7-879c-4ff5-aaba-e9760aa15c85",
      "name": "One item per lead",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1140,
        0
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "prospects"
      },
      "typeVersion": 1
    },
    {
      "id": "959a9a5b-4c09-47a5-9a56-ed4a412ae18c",
      "name": "Keep deliverable emails",
      "type": "n8n-nodes-base.filter",
      "position": [
        1340,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": false,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "881fcd1d-5c5d-4128-ba92-1632a0c438b5",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json['Email'] }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "442761d2-531c-4ba5-8239-a1f3d7f0d2e1",
      "name": "Score lead against ICP",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1560,
        0
      ],
      "parameters": {
        "text": "=Score this lead against our ideal customer profile.\n\nIdeal customer profile:\n{{ $('Set your search and ICP').first().json.idealCustomerProfile }}\n\nLead:\n- Name: {{ $json['Full Name'] }}\n- Job title: {{ $json['Current Job'] }}\n- Headline: {{ $json['Profile Headline'] }}\n- Location: {{ $json['Location'] }}\n- Company: {{ $json['Company Name'] }}\n- Industry: {{ $json['Company Industry'] }}\n- Employees: {{ $json['Company Employee Range'] }}\n- Company description: {{ $json['Company Description'] }}\n\nReturn a score from 0 (no fit) to 100 (perfect fit), one sentence explaining the score, and a friendly one-sentence cold email icebreaker that references the lead's role or company. Do not invent facts that are not in the lead data.",
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.5
    },
    {
      "id": "73f03770-9dd8-43f1-9947-ee60d2e18963",
      "name": "OpenAI model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1500,
        220
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {
          "temperature": 0.2
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "",
          "name": "OpenAI account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "7447ec7a-4901-4b96-abf9-589ebaf058ae",
      "name": "Score format",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1680,
        220
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"score\": 82,\n  \"reason\": \"VP Sales at a 120-person B2B SaaS company.\",\n  \"icebreaker\": \"Saw Acme just opened a Paris office, congrats on the expansion.\"\n}"
      },
      "typeVersion": 1.2
    },
    {
      "id": "e14e94f6-7211-45f7-a7b0-ba745d888af7",
      "name": "Score above minimum?",
      "type": "n8n-nodes-base.filter",
      "position": [
        1900,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "c75d8b87-a5a1-469a-b2a8-40e999c91289",
              "operator": {
                "type": "number",
                "operation": "gte"
              },
              "leftValue": "={{ $json.output.score }}",
              "rightValue": "={{ $('Set your search and ICP').first().json.minimumScore }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "5c5ec110-4514-4912-a9f1-f8e89860819c",
      "name": "Create or update HubSpot contact",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        2220,
        0
      ],
      "parameters": {
        "email": "={{ $('Keep deliverable emails').item.json['Email'] }}",
        "options": {},
        "authentication": "appToken",
        "additionalFields": {
          "jobTitle": "={{ $('Keep deliverable emails').item.json['Current Job'] }}",
          "lastName": "={{ $('Keep deliverable emails').item.json['Last Name'] }}",
          "firstName": "={{ $('Keep deliverable emails').item.json['First Name'] }}",
          "websiteUrl": "={{ $('Keep deliverable emails').item.json['Company Website URL'] }}",
          "companyName": "={{ $('Keep deliverable emails').item.json['Company Name'] }}",
          "customPropertiesUi": {
            "customPropertiesValues": [
              {
                "value": "={{ $json.output.score }}",
                "property": "evaboot_icp_score"
              },
              {
                "value": "={{ $json.output.icebreaker }}",
                "property": "evaboot_icebreaker"
              }
            ]
          }
        }
      },
      "credentials": {
        "hubspotAppToken": {
          "id": "",
          "name": "HubSpot account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "17976f1e-3fad-4aae-9f89-34b0a250850f",
      "name": "Post summary to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        2560,
        0
      ],
      "webhookId": "4fa3e9ca-ba32-4a98-bee3-5fd3a5145e8a",
      "parameters": {
        "text": "=Weekly Sales Navigator sync: {{ $('One item per lead').all().length }} leads exported, {{ $('Keep deliverable emails').all().length }} with a deliverable email, {{ $('Create or update HubSpot contact').all().length }} scored {{ $('Set your search and ICP').first().json.minimumScore }}+ and pushed to HubSpot.",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "={{ $('Set your search and ICP').first().json.slackChannel }}"
        },
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "",
          "name": "Slack account"
        }
      },
      "executeOnce": true,
      "typeVersion": 2.3
    }
  ],
  "connections": {
    "OpenAI model": {
      "ai_languageModel": [
        [
          {
            "node": "Score lead against ICP",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Score format": {
      "ai_outputParser": [
        [
          {
            "node": "Score lead against ICP",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5 minutes": {
      "main": [
        [
          {
            "node": "Check export status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Export finished?": {
      "main": [
        [
          {
            "node": "One item per lead",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 5 minutes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "One item per lead": {
      "main": [
        [
          {
            "node": "Keep deliverable emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check export status": {
      "main": [
        [
          {
            "node": "Export finished?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every Monday at 8am": {
      "main": [
        [
          {
            "node": "Set your search and ICP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Score above minimum?": {
      "main": [
        [
          {
            "node": "Create or update HubSpot contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Score lead against ICP": {
      "main": [
        [
          {
            "node": "Score above minimum?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Keep deliverable emails": {
      "main": [
        [
          {
            "node": "Score lead against ICP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set your search and ICP": {
      "main": [
        [
          {
            "node": "Export Sales Navigator search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Export Sales Navigator search": {
      "main": [
        [
          {
            "node": "Wait 5 minutes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create or update HubSpot contact": {
      "main": [
        [
          {
            "node": "Post summary to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}