What this template does
LinkedIn Lead Gen ads produce good leads, but they sit inside LinkedIn until someone exports a CSV. This workflow polls for new submissions on a schedule, enriches each lead with firmographic data from Clearbit, creates the Lead (and Account, if needed) in Salesforce, and alerts your SDR team in Slack when a high-fit lead comes in.
The result is that a lead captured from a sponsored post is qualified and in front of a rep within minutes, with company size, industry, and funding already attached.
How it works
The trigger is a scheduled check for new LinkedIn leads (every 5 minutes works well). Each run:
- Fetches new leads from the LinkedIn Lead Gen form.
- Extracts lead information and company name.
- Enriches the company via Clearbit (size, industry, funding).
- Calculates a lead quality score based on company fit.
- Creates the Lead in Salesforce.
- Creates or updates the Account if the company is new.
- Sends a Slack alert to the SDR team for high-fit leads.
Output: leads synced to Salesforce with enriched company data, ready for outreach.
Setup steps
- Create a LinkedIn Business Developer credential, grant it access to Lead Gen Forms, and select the form in n8n.
- Create a Salesforce connected app, generate OAuth credentials, and add them to n8n.
- Add a Clearbit node for company lookup. Map the LinkedIn fields to the Clearbit format and pull company size, industry, and funding.
- Create the Lead in Salesforce, map enriched company data to the Account, and set lead status based on company fit.
- Add a Slack alert for high-fit leads, send a confirmation to the lead, and log the activity in Salesforce.
- Set the webhook or schedule to run every 5 minutes, test with a sample lead, then enable.
When to use it
Use this for LinkedIn sponsored content lead capture, webinar registrations from LinkedIn ads, account-based marketing lead sync, and general sales development outreach. It is most valuable when lead volume is high enough that manual CSV exports are a bottleneck.
Want to adapt it to your own stack? The tutorials walk through connecting your tools, node by node.
Download the workflow
Import-ready n8n JSON, no credentials or secrets baked in. In n8n, open Workflows, choose Import from File (or paste the JSON), then assign your own credentials to each node.
Preview the JSON
{
"name": "LinkedIn Lead Gen - Sync to CRM",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 15
}
]
}
},
"id": "06428705-59d6-4c82-b822-e6319a903441",
"name": "Every 15 min",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
260,
300
]
},
{
"parameters": {
"method": "GET",
"url": "https://api.linkedin.com/rest/leadFormResponses",
"authentication": "predefinedCredentialType"
},
"id": "df8560de-6af7-462a-b26f-c1c01dbe9539",
"name": "Fetch Lead Gen Forms",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
560,
300
],
"notes": "Assign LinkedIn OAuth2 credentials."
},
{
"parameters": {
"method": "GET",
"url": "=https://person.clearbit.com/v2/combined/find?email={{ $json.email }}",
"authentication": "predefinedCredentialType"
},
"id": "f0188a88-1b91-41dd-a456-e2181e2b57b4",
"name": "Enrich (Clearbit)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
860,
300
]
},
{
"parameters": {
"resource": "lead",
"operation": "create"
},
"id": "678b4ee1-7b26-4f50-b59a-9e39d8a3503a",
"name": "Create Lead",
"type": "n8n-nodes-base.salesforce",
"typeVersion": 2,
"position": [
1160,
300
],
"notes": "Assign Salesforce credentials."
},
{
"parameters": {
"select": "channel",
"text": "=New LinkedIn lead synced: {{ $json.email }}"
},
"id": "462d7542-328d-42e9-aaed-38062297cbfd",
"name": "Notify Owner",
"type": "n8n-nodes-base.slack",
"typeVersion": 2.3,
"position": [
260,
520
]
}
],
"connections": {
"Every 15 min": {
"main": [
[
{
"node": "Fetch Lead Gen Forms",
"type": "main",
"index": 0
}
]
]
},
"Fetch Lead Gen Forms": {
"main": [
[
{
"node": "Enrich (Clearbit)",
"type": "main",
"index": 0
}
]
]
},
"Enrich (Clearbit)": {
"main": [
[
{
"node": "Create Lead",
"type": "main",
"index": 0
}
]
]
},
"Create Lead": {
"main": [
[
{
"node": "Notify Owner",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"pinData": {}
}