# nv.manageConversation

This action allows you to manage a conversation thread in Sales Navigator, such as archiving it.

This action allows you to manage a conversation thread in Sales Navigator — archive or unarchive it — by its `threadId`.

## Constraints

> ⏺️ **Root Start:** allowed, when `threadId` parameter is provided.

> ⬆️ **Parent Actions:** N/A.

> ⬇️ **Child Actions:** N/A.

## Parameters

```json
{
  "actionType": "nv.manageConversation",
  "label": "thread1",
  "threadId": "2-Zjhm...",
  "operation": "archive"
}
```

- `label` (optional) – custom label for tracking this action in workflow completion.
- `threadId` (required) – identifier of the conversation thread to manage, as returned by [inbox polling](/docs/monitoring-inbox) or [conversation polling](/docs/working-with-conversations). You can also read it from the address bar of an open conversation — it is the `<id>` in `linkedin.com/sales/inbox/<id>`.
- `operation` – operation to apply to the thread. One of:
  - `archive` / `unarchive` – archive or unarchive the conversation.

## Result options

1. **Successful operation:**

```json
{
  "actionType": "nv.manageConversation",
  "label": "thread1",
  "success": true
}
```

- `label` – included only if specified in the action parameters.

2. **Failed operation:**

```json
{
  "actionType": "nv.manageConversation",
  "label": "thread1",
  "success": false,
  "error": {
    "type": "threadNotFound",
    "message": "The provided thread identifier does not match an existing conversation."
  }
}
```

- `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.
  - `threadNotFound` – provided `threadId` does not match an existing conversation.
