> ## 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.

# Slack: Actions/get Or Create Private Channel

> Find a private Slack channel by exact name or create it for a durable workflow. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Find a private Slack channel by exact name or create it for a durable workflow.

<Info>
  Tool ID: `slack_get_or_create_private_channel`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get slack_get_or_create_private_channel --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get slack_get_or_create_private_channel --json` for the complete live contract.

## Input reference

| Name           | Type     | Required | Default | Details                                                                                                                                 |
| -------------- | -------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.name` | `string` | Yes      | —       | Lowercase private-channel name. Requires groups:read and groups:write. Minimum length: 1. Maximum length: 80. Pattern: `^[a-z0-9_-]+$`. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "name": {
        "type": "string",
        "description": "Lowercase private-channel name. Requires groups:read and groups:write.",
        "minLength": 1,
        "maxLength": 80,
        "pattern": "^[a-z0-9_-]+$"
      }
    },
    "required": [
      "name"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name          | Type     | Required | Default | Details                       |
| ------------- | -------- | -------- | ------- | ----------------------------- |
| `result.data` | `record` | Yes      | —       | Provider response payload.    |
| `result.meta` | `record` | No       | —       | Additional response metadata. |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata.",
        "additionalProperties": {}
      }
    },
    "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

* [Slack provider guide](/docs/providers/slack/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
