> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesloft: Cadence Bulk Archives Create

> Archive up to 100 Salesloft cadences at once, optionally removing everyone from them. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Archive up to 100 Salesloft cadences at once, optionally removing everyone from them.

> [!NOTE]
>
> Tool ID: `salesloft_cadence_bulk_archives_create`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'salesloft_cadence_bulk_archives_create',
  {
    "cadence_ids": [
      123
    ],
    "remove_all_people": true,
    "all": true
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run salesloft_cadence_bulk_archives_create --input '{
  "cadence_ids": [
    123
  ],
  "remove_all_people": true,
  "all": true
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "cadence_ids": [
      123
    ],
    "skipped_cadence_ids": [
      123
    ],
    "remove_all_people": true
  }
}
```

Use `deepline describe salesloft_cadence_bulk_archives_create --json` for the latest machine-readable contract.

## Input reference

Archives up to 100 cadences in the background. Cadences that are not visible to the current user are ignored. When `all` is true, cadences owned by inactive users are also ignored. The response lists the IDs of the cadences that were submitted for archiving. Visible cadences that cannot be archived in their current state, such as drafts when cadence approval is disabled, are not submitted and are listed in `skipped_cadence_ids`. When `remove_all_people` is true, all people are removed from the cadences as part of the archival. Removing people from team cadences requires the "Run team cadences" permission.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.cadence_ids` | `array` | No | — | IDs of the cadences to archive. Up to 100 IDs are accepted. |
| `payload.remove_all_people` | `boolean` | No | — | Remove all people from the cadences when they are archived. Defaults to false. |
| `payload.all` | `boolean` | No | — | Ignore cadences owned by inactive users when set to true. Any other value is treated as false. Defaults to false. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Archives up to 100 cadences in the background. Cadences that are not visible to the current user are ignored. When `all` is true, cadences owned by inactive users are also ignored. The response lists the IDs of the cadences that were submitted for archiving. Visible cadences that cannot be archived in their current state, such as drafts when cadence approval is disabled, are not submitted and are listed in `skipped_cadence_ids`. When `remove_all_people` is true, all people are removed from the cadences as part of the archival. Removing people from team cadences requires the \"Run team cadences\" permission.",
    "properties": {
      "cadence_ids": {
        "type": "array",
        "description": "IDs of the cadences to archive. Up to 100 IDs are accepted.",
        "items": {
          "type": "integer"
        }
      },
      "remove_all_people": {
        "type": "boolean",
        "description": "Remove all people from the cadences when they are archived. Defaults to false."
      },
      "all": {
        "type": "boolean",
        "description": "Ignore cadences owned by inactive users when set to true. Any other value is treated as false. Defaults to false."
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.cadence_ids` | `array` | No | — | IDs of the cadences submitted for archiving |
| `result.data.skipped_cadence_ids` | `array` | No | — | IDs of visible cadences that were not submitted because they cannot be archived in their current state, such as drafts when cadence approval is disabled |
| `result.data.remove_all_people` | `boolean` | No | — | Whether people are removed from the cadences when they are archived |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "cadence_ids": {
            "type": "array",
            "description": "IDs of the cadences submitted for archiving",
            "items": {
              "type": "integer"
            }
          },
          "skipped_cadence_ids": {
            "type": "array",
            "description": "IDs of visible cadences that were not submitted because they cannot be archived in their current state, such as drafts when cadence approval is disabled",
            "items": {
              "type": "integer"
            }
          },
          "remove_all_people": {
            "type": "boolean",
            "description": "Whether people are removed from the cadences when they are archived"
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.