# nvSyncInbox

This method enables whole-inbox monitoring in Sales Navigator so you can poll every incoming conversation without syncing each person individually.

This method enables **whole-inbox monitoring** for your Sales Navigator inbox so you can [poll the inbox](/sdks/poll-inbox) for messages across every conversation. Run it once per account.

> Unlike [`nvSyncConversation`](/sdks/nv-sync-conversation), which watches a single person, `nvSyncInbox` tracks your entire Sales Navigator inbox but only captures messages that arrive **after** it is enabled.

```typescript
try {
  const workflow = await linkedapi.nvSyncInbox.execute();

  const { errors } = await linkedapi.nvSyncInbox.result(workflow.workflowId);

  // The list of possible execution errors is below
  if (errors && errors.length > 0) {
    console.warn('Workflow completed with execution errors:');
    errors.forEach(error => {
      console.warn(` - Type: ${error.type}, Message: ${error.message}`);
    });
  } else {
    console.log('Sales Navigator inbox monitoring enabled.');
  }
} catch (e) {
  // A list of all critical errors can be found here:
  // https://linkedapi.io/sdks/handling-results-and-errors/#handling-critical-errors
  if (e instanceof LinkedApiError) {
    console.error(`Critical Error - Type: ${e.type}, Message: ${e.message}`);
  } else {
    console.error('An unexpected, non-API error occurred:', e);
  }
}
```

```python
from linkedapi import LinkedApiError

try:
    workflow = linkedapi.nv_sync_inbox.execute()

    result = linkedapi.nv_sync_inbox.result(workflow.workflow_id)
    errors = result.errors

    # The list of possible execution errors is below
    if errors:
        print("Workflow completed with execution errors:")
        for error in errors:
            print(f" - Type: {error.type}, Message: {error.message}")
    else:
        print("Sales Navigator inbox monitoring enabled.")
except LinkedApiError as e:
    # A list of all critical errors can be found here:
    # https://linkedapi.io/sdks/handling-results-and-errors/#handling-critical-errors
    print(f"Critical Error - Type: {e.type}, Message: {e.message}")
except Exception as error:
    print("An unexpected, non-API error occurred:", error)
```

## Params

This method takes no parameters.

## Data

The method doesn't return any data.

## Errors

- `noSalesNavigator` – your account does not have Sales Navigator subscription.
