Guide

How to Get LinkedIn Profile Data into HubSpot in 2026: Native Integrations and the API Route

What HubSpot's LinkedIn Ads lead sync and the Sales Navigator apps actually move into the CRM, and how to write LinkedIn profile fields to HubSpot contacts from code.

Last updated · 9 min read

There are three ways to get LinkedIn data into HubSpot in 2026. HubSpot's LinkedIn Ads integration syncs leads from LinkedIn Lead Gen Forms into HubSpot contacts. The Sales Navigator apps, which need a Sales Navigator Advanced Plus plan, show LinkedIn insights on HubSpot records and, through CRM Sync, can create and update HubSpot contacts from Sales Navigator. For profile fields of people who never filled in a form, the route is code: fetch the profiles from a LinkedIn profile API and write them to HubSpot contacts with HubSpot's CRM API, keyed on the LinkedIn URL.

What is a HubSpot LinkedIn integration?

A HubSpot LinkedIn integration is any connection that moves data between LinkedIn and HubSpot's CRM, either through an app HubSpot or LinkedIn provides or through your own code calling both sides. The native ones are the LinkedIn Ads connection in HubSpot's ads tool and the Sales Navigator apps in the HubSpot Marketplace.

Each HubSpot LinkedIn integration moves a different kind of data. The LinkedIn Ads connection brings in what a person typed into a lead form, the Sales Navigator apps work on records already in HubSpot, and a profile API returns the public profile itself (name, headline, current title and company, location, experience, education and skills) for any LinkedIn URL you send.

HubSpot already has a place for LinkedIn data: its knowledge base article "HubSpot's default contact properties", last updated on 21 September 2026, lists a default LinkedIn URL property for the contact's LinkedIn page.

Syncing LinkedIn Lead Gen Form leads into HubSpot

HubSpot syncs leads from LinkedIn Lead Gen Forms into HubSpot contacts once a LinkedIn Ads account is connected in HubSpot's ads settings. According to HubSpot's knowledge base article "Sync leads from your lead ad forms to HubSpot", last updated on 7 October 2026, new leads take up to two hours to sync, and the form's Email field must be included and marked required so HubSpot can create contacts.

The same HubSpot article offers two sync timeframes: new leads only, or also all leads from the last 90 days. What arrives is the form submission, not the full LinkedIn profile. Lead Gen Form sync fits a marketing team that runs LinkedIn ads, not a RevOps team enriching contacts already in HubSpot.

What the Sales Navigator integration with HubSpot does

The basic LinkedIn Sales Navigator app for HubSpot shows Sales Navigator information on HubSpot records; it does not import contacts. HubSpot's knowledge base article "Connect HubSpot and LinkedIn Sales Navigator", last updated on 3 November 2026, says "It is not possible to import contacts from LinkedIn using the integration."

The same HubSpot article lists the requirements: a LinkedIn Sales Navigator Advanced Plus account and an assigned Sales Hub Professional or Enterprise seat, with each user connecting their own account.

Sales Navigator CRM Sync for HubSpot

Sales Navigator CRM Sync is the version of the integration that writes to HubSpot. According to HubSpot's article "Connect HubSpot and LinkedIn Sales Navigator and Business Manager via CRM Sync", last updated on 21 June 2026, CRM Sync can create and update HubSpot contacts from Sales Navigator, log Sales Navigator activities to HubSpot, and save HubSpot contacts and companies in a Sales Navigator list.

CRM Sync has the same plan and seat requirements as the basic app, and installing it needs a Super Admin or App Marketplace access in HubSpot. Sales Navigator still offers no CSV export of leads, a gap explained in the Sales Navigator CSV guide.

Ways to get LinkedIn data into HubSpot compared (2026)

The right route depends on whose data you need. Each row below uses the same attributes, drawn from HubSpot's knowledge base articles on LinkedIn Ads lead sync, the Sales Navigator app and CRM Sync (consulted on 17 November 2026) and pineapi's pricing page.

Route Whose data arrives What arrives in HubSpot What it requires
Profile API + HubSpot CRM API Any LinkedIn URL you send Public profile fields you map to contact properties Your own code, a HubSpot app token, prepaid API balance
LinkedIn Ads lead sync People who submitted a LinkedIn Lead Gen Form Form answers, mapped to contact properties A connected LinkedIn Ads account; Email field required on the form
Sales Navigator app Contacts already in HubSpot Sales Navigator information shown on records; no import Sales Navigator Advanced Plus; Sales Hub Professional or Enterprise seat
Sales Navigator CRM Sync Leads a seller works in Sales Navigator Contacts created or updated from Sales Navigator, logged activity Sales Navigator Advanced Plus; Sales Hub Professional or Enterprise seat; admin to install

Only the API route works without a LinkedIn seat or a form submission; only the native routes work without code.

How to push LinkedIn profiles into HubSpot with an API

Pushing LinkedIn profiles into HubSpot with an API takes three pieces: a unique HubSpot property that holds the LinkedIn URL, a profile lookup that returns structured profile fields, and HubSpot's batch upsert, which creates a contact when the URL is new and updates it when it already exists.

pineapi, a LinkedIn data API that returns profiles by filter or by URL and bills per profile delivered, handles the lookup. Because pineapi needs only a bearer token, not anyone's LinkedIn account or session, the job can run unattended. pineapi has no HubSpot app or CRM connector: the integration is the script below.

Step 1: Create a unique LinkedIn URL property in HubSpot

HubSpot's batch upsert matches contacts on email or on a custom property with unique values, and LinkedIn profile data carries no email. HubSpot's Contacts API guide also says partial upserts are not supported with email as the idProperty, and recommends a custom unique identifier property instead.

This request creates that property once, with hasUniqueValue set to true as HubSpot's Properties API guide describes. A HubSpot app installed in one account authenticates with a static auth access token in the Authorization: Bearer header:

curl --fail-with-body https://api.hubapi.com/crm/properties/2026-09/contacts \
  -H "Authorization: Bearer $HUBSPOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"groupName":"contactinformation","name":"linkedin_requested_url","label":"LinkedIn URL (sync key)","type":"string","fieldType":"text","hasUniqueValue":true}'

Step 2: Look up the profiles by URL

A pineapi lookup takes from 1 to 2,000 LinkedIn profile URLs in one request and returns each profile with requested_url, the exact URL you sent. That field is the one to store in HubSpot, because linkedin_url can differ when a member has changed their profile slug.

Each returned profile costs $0.010; a lookup has no minimum charge, and URLs that fail to resolve are free. This Python function creates the lookup, polls the run every 5 seconds in the first minute and every 20 seconds afterwards, and reads every page of results with next_cursor:

import os, time, uuid
import requests

base = os.environ["PINEAPI_BASE_URL"].rstrip("/") + "/v1"
pine = requests.Session()
pine.headers["Authorization"] = "Bearer " + os.environ["PINEAPI_KEY"]

def lookup(urls):
    r = pine.post(base + "/profile-lookups", json={"linkedin_urls": urls}, timeout=30,
                  headers={"Idempotency-Key": str(uuid.uuid4())})
    r.raise_for_status()
    run_id = r.json()["run_id"]
    started = time.monotonic()
    while True:
        run = pine.get(f"{base}/runs/{run_id}", timeout=30).json()
        if run["status"] in {"succeeded", "partial", "failed", "cancelled"}:
            break
        time.sleep(5 if time.monotonic() - started < 60 else 20)
    if run["status"] not in {"succeeded", "partial"}:
        raise RuntimeError(run.get("failure") or run["status"])
    profiles, params = [], {"limit": 200}
    while True:
        page = pine.get(f"{base}/runs/{run_id}/profiles", params=params, timeout=30).json()
        profiles += page["data"]
        if not page["has_more"]:
            return profiles, run["unresolved"]
        params["cursor"] = page["next_cursor"]

Step 3: Map profile fields to HubSpot contact properties

Mapping a LinkedIn profile to a HubSpot contact means choosing which profile field fills which contact property. HubSpot's default contact properties firstname, lastname, jobtitle, company, city and country have direct equivalents among pineapi's profile fields; everything else goes into custom properties you create the same way as in step 1, without hasUniqueValue.

HubSpot contact property pineapi profile field Note
linkedin_requested_url (custom, unique) requested_url The upsert key
firstname first_name Can be null
lastname last_name Can be null
jobtitle current_title Current position only
company current_company_name Text, not an associated company record
city location_city Can be null
country location_country_full Full country name

This Python function builds the HubSpot properties for one profile and leaves out empty values, so an upsert never blanks a field filled in by hand:

FIELD_MAP = {
    "firstname": "first_name", "lastname": "last_name",
    "jobtitle": "current_title", "company": "current_company_name",
    "city": "location_city", "country": "location_country_full",
}

def to_hubspot(profile):
    props = {hs: profile.get(pine) for hs, pine in FIELD_MAP.items()}
    return {k: v for k, v in props.items() if v not in (None, "")}

Step 4: Upsert the contacts in batches of 100

HubSpot's batch upsert creates or updates contacts in one request, and HubSpot's Contacts API guide limits batch operations to 100 records at a time. A long pineapi lookup is therefore split into batches; this loop sends them with linkedin_requested_url as the idProperty:

hub = requests.Session()
hub.headers["Authorization"] = "Bearer " + os.environ["HUBSPOT_TOKEN"]

def upsert(profiles):
    for i in range(0, len(profiles), 100):
        inputs = [{"idProperty": "linkedin_requested_url", "id": p["requested_url"],
                   "properties": to_hubspot(p)} for p in profiles[i:i + 100]]
        r = hub.post("https://api.hubapi.com/crm/objects/2026-09/contacts/batch/upsert",
                     json={"inputs": inputs}, timeout=30)
        r.raise_for_status()

profiles, unresolved = lookup(["https://www.linkedin.com/in/<slug>"])
upsert(profiles)

Running the same list again later updates the same HubSpot contacts instead of creating duplicates, because the key is the URL you sent. pineapi bills each delivered profile again in the new run, at the same $0.010, as its pricing page explains.

Handling empty fields, truncated profiles and unresolved URLs

A LinkedIn-to-HubSpot sync has to handle three gaps in the source data: fields a member left empty, sections LinkedIn serves only in part, and URLs that no longer lead to a profile. Each gap needs a rule in the script.

  • Empty LinkedIn fields: most pineapi profile fields can be null, so the mapping skips empty values.
  • Truncated LinkedIn sections: pineapi measured that 40% of LinkedIn profiles come with a cut-short experience section and 68% with a cut-short skills section, since LinkedIn states how many items a section holds apart from the items it actually shows. pineapi flags this with experience_truncated and skills_truncated, and a HubSpot property built from experience (total years, number of employers) should carry that flag alongside it.
  • Unresolved LinkedIn URLs: a URL that no longer resolves comes back in unresolved with the reason not_found (the profile is gone or its slug changed) or unavailable (worth retrying later), and pineapi does not charge for it. Writing the reason to a HubSpot property lets a RevOps team filter those contacts for review.

The full list of what a profile contains, field by field, is in the guide to LinkedIn profile data fields. Storing these fields in HubSpot is processing personal data: pineapi is not affiliated with LinkedIn, and the company running the sync needs its own lawful basis for it.

Importing a LinkedIn profiles CSV into HubSpot instead

A team that does not want to run a script can import LinkedIn profile data into HubSpot as a CSV file. HubSpot's knowledge base article "Import records for multiple objects", last updated on 7 October 2026, says that to update existing records a file must contain a unique identifier, and that a custom property requiring unique values can serve as one for contacts.

pineapi serves the same results as CSV from GET /v1/runs/{run_id}/profiles.csv for 30 days after a run, and downloading them again in that period costs nothing. A walkthrough shows each request for producing a LinkedIn profiles CSV file. In HubSpot's import, map the requested_url column to the unique LinkedIn URL property from step 1, and the import updates existing contacts instead of duplicating them.

A CSV import suits a one-off load of a target account list; a recurring sync, such as refreshing job titles every quarter, is easier to keep correct in code.