Back to Blog

How to enrich companies with LinkedIn data in n8n using one Actor

Goldmine
7 min read
Updated

To enrich companies with LinkedIn data in n8n, pass their LinkedIn company page URLs to Goldmine's LinkedIn Company Scraper through Apify's n8n node. The Actor returns one record per company with name, website, industry, company size, employee count, follower count and headquarters, and it needs no LinkedIn account or cookies.

Goldmine publishes a ready-made workflow that reads the URLs from a Google Sheet and writes the details back to each row.

What do you need before you start?

  • An n8n instance. n8n is a workflow automation tool.
  • Apify's n8n node, @apify/n8n-nodes-apify. It is a community node that Apify maintains for running Actors from a workflow.
  • An Apify account and API token. Runs happen on your Apify account and are billed there. A free Apify account is enough to try the Actor.
  • A Google account, if you use the template as published, because it reads and writes a Google Sheet.
  • LinkedIn company page URLs for the companies you want to enrich, for example https://www.linkedin.com/company/microsoft/.

You do not need a LinkedIn account, session cookies or a LinkedIn API key.

How do you set up the workflow in n8n?

  1. Install the Apify node. In n8n, open Settings, then Community nodes, and install @apify/n8n-nodes-apify.
  2. Import the workflow. In a new workflow, choose Import from URL and paste https://www.logicalscrapers.com/n8n/enrich-companies-with-linkedin-data.json, or download that file and import it.
  3. Connect your accounts. Add your Apify API token in the Apify node and your Google account in both Google Sheets nodes.
  4. Create the sheet. Give it this header row: url, name, website, industry, companySize, numberOfEmployees, followersCount, headquarters, description.
  5. Add your companies. Put one LinkedIn company page URL per row in the url column and leave the other columns empty.
  6. Edit the settings node. Open the "Set sheet and limits" node and enter the sheet URL. The same node holds the tab name, the number of companies to enrich per run (25 by default) and a spend limit per run.
  7. Run it by hand. The workflow has a manual trigger. Nothing runs on a schedule.

What does the workflow do when it runs?

  1. Google Sheets reads the rows. Rows with a LinkedIn company URL in url and an empty name are kept, so companies already filled in are skipped.
  2. The kept rows are cut to your per-run limit and their URLs are collected into one list.
  3. The Apify node runs the Actor once for that list. In the template it is set to the Actors resource, the "Run actor and get dataset" operation and the Actor logical_scrapers~linkedin-company-scraper, with this input:
{
  "companyUrls": [
    "https://www.linkedin.com/company/microsoft/"
  ]
}
  1. A Set node keeps the nine columns the sheet needs. It renames the Actor's Industry field to industry and Company size to companySize.
  2. Google Sheets writes each company to its own row, matched on url. This works because the Actor returns url exactly as you supplied it.

companyUrls is the only required input. The Actor's other input, proxyConfiguration, can be left at its default: proxies are included in the price and chosen automatically.

What has been tested?

The workflow was built and tested on self-hosted n8n 2.41.6 with Apify node versions 0.6.10 and 0.8.0 on 2026-10-02. The Google Sheets read and write steps have not been tested yet. Try a small sheet first.

What LinkedIn company data do you get back?

Each dataset item is one company. The template writes the fields marked "Yes" to the sheet.

Field Type What it holds Written by the template
name String Company name Yes
url String The company URL exactly as you supplied it Yes (match key)
website String Company website Yes
Industry String Industry, as labelled on the page Yes, as industry
Company size String Size band, for example 10,001+ employees Yes, as companySize
numberOfEmployees Number Employees on LinkedIn Yes
followersCount Number Followers of the company page Yes
headquarters String Full headquarters address on one line Yes
description String The company description from the About section Yes
addresses Array Every office address the page lists No
Specialties String Comma-separated specialties No
affiliatedPages Array Affiliated pages: name, industry, address, LinkedIn URL No
similarPages Array Similar pages: name, industry, address, LinkedIn URL No

The Actor also returns logo, slogan, mainAddress, Type, Founded, a second Headquarters field holding city and region, and stock.

What does it cost?

The Actor is pay per event. Its README states $0.00599 per company on the Apify Free plan, so 1,000 companies cost $5.99, and less on paid Apify plans, down to $0.00499 per company on Gold and above. Each run also has a start fee of $0.001 per GB of run memory, with a one GB minimum. Prices are set on the Apify listing and can change, so check it before a large run.

What n8n itself costs to run: Data not currently verified.

What are the limitations?

  • It needs LinkedIn company URLs. The Actor does not search for or discover companies by name or domain. Rows whose url is not a linkedin.com/company/… URL are skipped by the workflow.
  • Public fields only. It returns what LinkedIn shows publicly on the company page. Fields a company has not filled in come back empty or absent, most often Founded.
  • Do not build on stock. It is filled only when the public page shows a stock section. In runs on 2026-10-02 it was empty, including for a listed company.
  • Unreadable pages stay empty. A row counts as enriched once name is filled in. A page the Actor cannot read stays empty and is tried again on the next run. A page LinkedIn no longer serves produces no result.
  • The spend limit depends on the node version. It is applied by version 0.7.0 and later of the Apify node. On earlier versions the companies-per-run setting is what bounds a run.
  • Success rate and run time. Data not currently verified.

FAQ

Do I need a LinkedIn account or cookies to enrich companies in n8n?

No. The Actor reads the company page LinkedIn shows a logged-out visitor, so there are no LinkedIn credentials to provide and no account of yours involved.

Can I enrich companies from a name or a website domain?

No. The Actor takes LinkedIn company page URLs only. You need the company's LinkedIn URL in the url column first.

How many companies does one run enrich?

The template enriches up to 25 companies per run by default, a number you change in the settings node. The Actor itself has no item limit: it returns, and bills, one result per company page found.

Will running the workflow again duplicate rows or re-bill companies?

Rows with a filled name column are skipped before the Actor runs, and results are written to the matching url row. The sheet steps are not yet tested, so confirm this on a small sheet.

Does the output contain personal data?

The Actor's output describes companies, not people, and has no person-level fields. If you join it to contact data about individuals, confirm your lawful basis under GDPR, CCPA or the local equivalent. The Actor reads public pages only; complying with LinkedIn's terms and your local laws is your responsibility.

Try it

Scrapers mentioned in this post

Need something this post didn't cover?

Browse every Goldmine scraper, or get in touch about a custom one.