nv.openCompanyPage

This action allows you to open a company page in Sales Navigator to retrieve its basic information and perform additional company-related actions if needed.

Constraints

⏺️ Root Start: allowed, when companyHashedUrl parameter is provided.

⬆️ Parent Actions: st.openCompanyPage, nv.doForCompanies.

⬇️ Child Actions: nv.saveAccount, nv.unsaveAccount, nv.removeAccountFromList, nv.retrieveCompanyEmployees, nv.retrieveCompanyDMs, st.openCompanyPage.

Parameters

{
  "actionType": "nv.openCompanyPage",
  "label": "company1",
  "companyHashedUrl": "https://www.linkedin.com/company/12345678",
  "basicInfo": true,
  "then": { ... }
}

In AI assistants, the MCP server runs this action as the nv_fetch_company tool.

  • label (optional) – custom label for tracking this action in workflow completion.
  • companyHashedUrl (required for root start, forbidden for parent start) – LinkedIn URL of the company: a hashed URL with the numeric company ID, a Sales Navigator company URL or a public company URL (see Accepted URLs).
  • basicInfo (optional, default: false) – when set to true, the action includes basic company information in the results.
  • then (optional) – object or array of child actions to be executed within this action.

Accepted URLs

companyHashedUrl takes any of these forms:

  • a hashed LinkedIn URL with the numeric company ID (linkedin.com/company/12345678), such as hashedUrl from nv.searchCompanies or nv.retrieveListAccounts;
  • a Sales Navigator company URL (linkedin.com/sales/company/…), such as an alert's subject.url from nv.retrieveAlerts;
  • a public company URL (linkedin.com/company/<vanity>). It costs one extra standard page load: Linked API opens the company's LinkedIn page first and goes to its Sales Navigator page from there.

Child actions act on the page this action opened and do not open a public URL again. A public URL that leads to no LinkedIn company page returns companyNotFound.

The same forms are accepted by nv.saveAccount, nv.unsaveAccount and nv.removeAccountFromList when they run as root actions.

Result options

  1. Successful page opening with basicInfo set to true:
json
{
  "actionType": "nv.openCompanyPage",
  "label": "company1",
  "success": true,
  "data": {
    "name": "TechCorp",
    "urn": "urn:li:organization:12345678",
    "publicUrl": "https://www.linkedin.com/company/company1",
    "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.",
    "location": "Cupertino, California",
    "headquarters": "US",
    "industry": "IT Services and IT Consulting",
    "website": "https://techcorp.com",
    "employeesCount": 500,
    "yearFounded": 2019,
    "logoUrl": "https://media.licdn.com/dms/image/v2/C4D0BAQE/company-logo_200_200/0/1700000000000",
    "then": { ... }
  }
}
  • label – included only if specified in the action parameters.
  • data – basic information about the company and results of child actions execution.
    • name – name of the company.
    • urn – URN of the company, or null if LinkedIn does not expose it.
    • publicUrl – public LinkedIn URL of the company.
    • description – description of the company.
    • location – free-form string representing the company headquarters location.
    • headquarters – two-character country code (e.g., "US", "UK") representing headquarters location.
    • industry – enum representing the company industry. Takes specific values available in the LinkedIn interface.
    • logoUrl – URL of the company's logo, or null if the company has no logo.
  1. Successful page opening with basicInfo set to false:
json
{
  "actionType": "nv.openCompanyPage",
  "label": "company1",
  "success": true,
  "data": {
    "then": { ... }
  }
}
  • label – included only if specified in the action parameters.
  • data.then – results of child actions execution.
  1. Failed page opening:
json
{
  "actionType": "nv.openCompanyPage",
  "label": "company1",
  "success": false,
  "error": {
    "type": "companyNotFound",
    "message": "The provided URL is not an existing LinkedIn company."
  }
}
  • label – included only if specified in the action parameters.
  • error.type – enum with the following possible values:
    • noSalesNavigator – your account does not have Sales Navigator subscription.
    • companyNotFound – provided URL is not an existing LinkedIn company, including a public company URL that leads to no LinkedIn company page.