# 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](/docs/action-st-open-company-page), [nv.doForCompanies](/docs/action-nv-do-for-companies).

> ⬇️ **Child Actions:** [nv.retrieveCompanyEmployees](/docs/action-nv-retrieve-company-employees), [nv.retrieveCompanyDMs](/docs/action-nv-retrieve-company-dms), [st.openCompanyPage](/docs/action-st-open-company-page).

## Parameters

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

- `label` (optional) – custom label for tracking this action in workflow completion.
- `companyHashedUrl` (required for root start, forbidden for parent start) – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company.
- `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.

## Result options

1. **Successful page opening with `basicInfo` set to `true`:**

```json
{
  "actionType": "nv.openCompanyPage",
  "label": "company1",
  "success": true,
  "data": {
    "name": "TechCorp",
    "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": "Information Technology",
    "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.
  - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) 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.

2. **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.

3. **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.
