> ## 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/invite Users To Channel

> Invite one or more existing workspace members to a public or private Slack channel. Requires the relevant channel invitation scope.

Invite one or more existing workspace members to a public or private Slack channel.

<Info>
  Tool ID: `slack_invite_users_to_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_invite_users_to_channel --json
```

## Example response

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

## Input reference

| Name              | Type     | Required | Default | Details                                                                                                   |
| ----------------- | -------- | -------- | ------- | --------------------------------------------------------------------------------------------------------- |
| `payload.channel` | `string` | Yes      | —       | Slack channel ID that the workspace members should join. Minimum length: 1.                               |
| `payload.users`   | `array`  | Yes      | —       | Workspace user IDs to invite to the channel. Minimum items: 1. Maximum items: 1000. Items must be unique. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "channel": {
        "type": "string",
        "description": "Slack channel ID that the workspace members should join.",
        "minLength": 1
      },
      "users": {
        "type": "array",
        "description": "Workspace user IDs to invite to the channel.",
        "minItems": 1,
        "maxItems": 1000,
        "uniqueItems": true,
        "items": {
          "type": "string",
          "description": "Slack workspace user ID.",
          "minLength": 1,
          "pattern": "^[UW][A-Z0-9]+$"
        }
      }
    },
    "required": [
      "channel",
      "users"
    ],
    "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)
