{
  "name": "Turn Sales Navigator leads into personalized lemlist campaigns with Evaboot, OpenAI and Slack",
  "nodes": [
    {
      "id": "7d51d9bd-e8da-407e-b5c0-a4efe3e2580a",
      "name": "Template overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -760,
        -300
      ],
      "parameters": {
        "width": 560,
        "height": 860,
        "content": "## Turn a Sales Navigator lead into a personalized lemlist lead\n\n**Who it's for:** SDRs, founders and agencies who find prospects in LinkedIn Sales Navigator and run outreach in lemlist.\n\n**What it does:** paste a Sales Navigator lead URL into a form. Evaboot extracts the profile, company data and a verified professional email in one call. Leads without a deliverable email are reported to Slack and stop there. For the others, an AI model writes a one-sentence icebreaker from the lead's role, headline and company, tied to what you sell. The lead is then added to your lemlist campaign with the icebreaker in the `{{icebreaker}}` variable, and Slack confirms it.\n\n### How to set up\n1. Install the Evaboot community node (`@evaboot-team/n8n-nodes-evaboot`).\n2. Add credentials: Evaboot API key (Evaboot dashboard > API), OpenAI, lemlist, Slack.\n3. Fill in **Set your offer and channel**: one sentence about your offer and the Slack channel.\n4. In **Add lead to lemlist campaign**, pick your campaign, and use `{{icebreaker}}` in its first email.\n5. Activate the workflow and share the form's production URL with your team.\n\n### Requirements\nEvaboot account with Sales Navigator connected (1 credit per lead, email included), OpenAI, lemlist, Slack.\n\n### How to customize\nSwap the form for a Google Sheets or Airtable trigger, change the prompt's tone, or replace lemlist with another sequencer."
      },
      "typeVersion": 1
    },
    {
      "id": "8608e4e9-747e-4334-b85e-c0df978ed68f",
      "name": "Step 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -300
      ],
      "parameters": {
        "width": 420,
        "height": 860,
        "content": "### 1. Collect the lead\nThe form takes a `linkedin.com/sales/lead/...` URL. The settings node holds your offer and Slack channel."
      },
      "typeVersion": 1
    },
    {
      "id": "07757ce9-f561-40e0-9801-5b9ffe66c76c",
      "name": "Step 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        300,
        -300
      ],
      "parameters": {
        "width": 1000,
        "height": 860,
        "content": "### 2. Extract and find the email\nEvaboot returns the profile, company and verified email in one call, usually in seconds. If it needs longer than 25 seconds, the workflow waits and checks the extraction until it is done."
      },
      "typeVersion": 1
    },
    {
      "id": "dec7875a-2e6c-4164-89cb-855257d48c26",
      "name": "Step 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        -300
      ],
      "parameters": {
        "width": 300,
        "height": 860,
        "content": "### 3. Keep deliverable emails\nLeads with a safe or catch-all email continue. The others are posted to Slack so you can follow up on LinkedIn instead."
      },
      "typeVersion": 1
    },
    {
      "id": "70d9cddf-230c-46d6-98b1-b1b90d4dac90",
      "name": "Step 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1680,
        -300
      ],
      "parameters": {
        "width": 940,
        "height": 860,
        "content": "### 4. Personalize and send\nThe AI model writes an icebreaker from the lead's data only, so it never invents facts. The lead joins your lemlist campaign with that icebreaker, and Slack confirms it."
      },
      "typeVersion": 1
    },
    {
      "id": "a6a4e65d-5ae8-4550-b4a7-44b4d7ffdc18",
      "name": "Lead URL form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -100,
        0
      ],
      "parameters": {
        "options": {},
        "formTitle": "Send a Sales Navigator lead to lemlist",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Sales Navigator lead URL",
              "placeholder": "https://www.linkedin.com/sales/lead/...",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Paste a Sales Navigator lead URL. The lead gets a verified email and a personalized icebreaker, then joins the lemlist campaign."
      },
      "typeVersion": 2.2
    },
    {
      "id": "041be05d-9fd2-4f76-87d3-dc44b31b894d",
      "name": "Set your offer and channel",
      "type": "n8n-nodes-base.set",
      "position": [
        100,
        0
      ],
      "parameters": {
        "mode": "manual",
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "1bbd7615-273f-40b6-9413-68020f6f521f",
              "name": "leadUrl",
              "type": "string",
              "value": "={{ $json['Sales Navigator lead URL'].trim() }}"
            },
            {
              "id": "0fda3b1c-190a-4570-94d2-77f4814a58ba",
              "name": "yourOffer",
              "type": "string",
              "value": "We help B2B sales teams book more meetings with verified, personalized outbound."
            },
            {
              "id": "1168c91c-777d-4302-a3cf-3365028bf96e",
              "name": "slackChannel",
              "type": "string",
              "value": "#outbound"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "37fd4354-2dbd-464f-9084-36e79a2be7cc",
      "name": "Extract lead and find email",
      "type": "@evaboot-team/n8n-nodes-evaboot.evaboot",
      "position": [
        360,
        0
      ],
      "parameters": {
        "resource": "extraction",
        "operation": "createSingle",
        "profileId": "={{ $json.leadUrl }}"
      },
      "credentials": {
        "evabootApi": {
          "id": "",
          "name": "Evaboot account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "65a74ec9-c65d-410b-8b25-695df113af6d",
      "name": "Lead ready?",
      "type": "n8n-nodes-base.if",
      "position": [
        580,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "54e088f9-f071-4d3b-8dec-b51fd2f74ff0",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ Object.keys($json.prospect ?? {}).length > 0 }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "d7a15e45-7359-4307-ab93-fd9fb38c2208",
      "name": "Wait 1 minute",
      "type": "n8n-nodes-base.wait",
      "position": [
        780,
        180
      ],
      "parameters": {
        "unit": "minutes",
        "amount": 1
      },
      "typeVersion": 1.1
    },
    {
      "id": "31d940e6-cca8-4ff4-8e63-7a2de22f50d2",
      "name": "Check extraction",
      "type": "@evaboot-team/n8n-nodes-evaboot.evaboot",
      "position": [
        980,
        180
      ],
      "parameters": {
        "resource": "extraction",
        "operation": "get",
        "extractionId": "={{ $('Extract lead and find email').first().json.extraction_id }}"
      },
      "credentials": {
        "evabootApi": {
          "id": "",
          "name": "Evaboot account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b2376fa2-3632-4493-a54d-bc39aa883f4e",
      "name": "Extraction finished?",
      "type": "n8n-nodes-base.if",
      "position": [
        1160,
        180
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "193a8ac7-4a5d-424b-9889-d0144bbc1fc7",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ ['EXECUTED','FAILED','PAUSED'].includes($json.status) }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "3f1bf8e7-0d03-43ea-9281-86afe5641c18",
      "name": "Lead record",
      "type": "n8n-nodes-base.set",
      "position": [
        1160,
        0
      ],
      "parameters": {
        "mode": "manual",
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "169b078a-3459-418f-8a5d-fbe0ff18da0f",
              "name": "lead",
              "type": "object",
              "value": "={{ $json.prospect ?? $json.prospects?.[0] ?? {} }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "a6ddaa56-c4ed-4bad-beb3-fedf490a58df",
      "name": "Deliverable email?",
      "type": "n8n-nodes-base.if",
      "position": [
        1440,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": false,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "d484aacf-723c-4109-a3fe-028591e45c6f",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.lead['Email'] }}",
              "rightValue": ""
            },
            {
              "id": "82525a4d-e851-4afe-9781-570cffbe33ba",
              "operator": {
                "type": "string",
                "operation": "notEquals"
              },
              "leftValue": "={{ $json.lead['Email Status'] }}",
              "rightValue": "invalid"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "841851ce-0ba6-47ef-86ce-90173079b131",
      "name": "Write icebreaker",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1760,
        0
      ],
      "parameters": {
        "text": "=Write a cold email icebreaker for this lead.\n\nWhat we sell:\n{{ $('Set your offer and channel').first().json.yourOffer }}\n\nLead:\n- Name: {{ $('Lead record').item.json.lead['Full Name'] }}\n- Job title: {{ $('Lead record').item.json.lead['Current Job'] }}\n- Headline: {{ $('Lead record').item.json.lead['Profile Headline'] }}\n- Location: {{ $('Lead record').item.json.lead['Location'] }}\n- Company: {{ $('Lead record').item.json.lead['Company Name'] }}\n- Industry: {{ $('Lead record').item.json.lead['Company Industry'] }}\n- Employees: {{ $('Lead record').item.json.lead['Company Employee Range'] }}\n- Company description: {{ $('Lead record').item.json.lead['Company Description'] }}\n\nWrite one friendly sentence of at most 25 words that references the lead's role or company and connects it to what we sell. Use only facts from the lead data. No greeting, no sign-off, no emojis.",
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.5
    },
    {
      "id": "2e544cc5-c671-42e4-a1ce-1e6824ee290f",
      "name": "OpenAI model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1700,
        220
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {
          "temperature": 0.4
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "",
          "name": "OpenAI account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "4a756f48-bdae-47ee-b65b-7938d640e13e",
      "name": "Icebreaker format",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1880,
        220
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"icebreaker\": \"Saw Acme just opened a Paris office, which usually means a new outbound team to ramp up fast.\"\n}"
      },
      "typeVersion": 1.2
    },
    {
      "id": "0eb0b017-cb70-49d0-bced-aa21aca53864",
      "name": "Add lead to lemlist campaign",
      "type": "n8n-nodes-base.lemlist",
      "position": [
        2100,
        0
      ],
      "parameters": {
        "email": "={{ $('Lead record').item.json.lead['Email'] }}",
        "resource": "lead",
        "operation": "create",
        "campaignId": "",
        "additionalFields": {
          "jobTitle": "={{ $('Lead record').item.json.lead['Current Job'] }}",
          "lastName": "={{ $('Lead record').item.json.lead['Last Name'] }}",
          "firstName": "={{ $('Lead record').item.json.lead['First Name'] }}",
          "icebreaker": "={{ $json.output.icebreaker }}",
          "companyName": "={{ $('Lead record').item.json.lead['Company Name'] }}",
          "deduplicate": true,
          "linkedinUrl": "={{ $('Lead record').item.json.lead['Linkedin URL Public'] }}",
          "companyDomain": "={{ $('Lead record').item.json.lead['Company Domain'] }}"
        }
      },
      "credentials": {
        "lemlistApi": {
          "id": "",
          "name": "lemlist account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "1b602f49-0186-45d3-969d-fd63fc556464",
      "name": "Confirm in Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        2380,
        0
      ],
      "parameters": {
        "text": "=:white_check_mark: {{ $('Lead record').item.json.lead['First Name'] }} {{ $('Lead record').item.json.lead['Last Name'] }} ({{ $('Lead record').item.json.lead['Current Job'] }} at {{ $('Lead record').item.json.lead['Company Name'] }}) joined lemlist.\nIcebreaker: {{ $('Write icebreaker').item.json.output.icebreaker }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "={{ $('Set your offer and channel').first().json.slackChannel }}"
        },
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "",
          "name": "Slack account"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "e279b4f8-a2d3-4123-8f91-7758b3216789",
      "name": "Report no email",
      "type": "n8n-nodes-base.slack",
      "position": [
        1440,
        400
      ],
      "parameters": {
        "text": "=:warning: No deliverable email for {{ $json.lead['Full Name'] || $('Set your offer and channel').first().json.leadUrl }}. Reach out on LinkedIn instead: {{ $('Set your offer and channel').first().json.leadUrl }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "={{ $('Set your offer and channel').first().json.slackChannel }}"
        },
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "",
          "name": "Slack account"
        }
      },
      "typeVersion": 2.3
    }
  ],
  "connections": {
    "Lead ready?": {
      "main": [
        [
          {
            "node": "Lead record",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 1 minute",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead record": {
      "main": [
        [
          {
            "node": "Deliverable email?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI model": {
      "ai_languageModel": [
        [
          {
            "node": "Write icebreaker",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Lead URL form": {
      "main": [
        [
          {
            "node": "Set your offer and channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 1 minute": {
      "main": [
        [
          {
            "node": "Check extraction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check extraction": {
      "main": [
        [
          {
            "node": "Extraction finished?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write icebreaker": {
      "main": [
        [
          {
            "node": "Add lead to lemlist campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Icebreaker format": {
      "ai_outputParser": [
        [
          {
            "node": "Write icebreaker",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Deliverable email?": {
      "main": [
        [
          {
            "node": "Write icebreaker",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Report no email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extraction finished?": {
      "main": [
        [
          {
            "node": "Lead record",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 1 minute",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set your offer and channel": {
      "main": [
        [
          {
            "node": "Extract lead and find email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract lead and find email": {
      "main": [
        [
          {
            "node": "Lead ready?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add lead to lemlist campaign": {
      "main": [
        [
          {
            "node": "Confirm in Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}