> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Create Private Channel

- Component: `appmixer.slack.list.CreatePrivateChannel`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.slack 6.0.7](https://connectors.appmixer.com/connector/appmixer.slack/6.0.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.slack/6.0.7/component/appmixer.slack.list.CreatePrivateChannel>

Create a new private channel.

## Input ports

### Port `channel`

| Field | Type | Description |
| --- | --- | --- |
| Channel name (`name`) | text | Name of your channel. Only lowercase letters, numbers, underscores and dashes are allowed. Maximum 80 characters. |

## Output ports

### Port `newChannel`

| Field | Type | Description |
| --- | --- | --- |
| Channel ID (`id`) | string | - |
| Channel Name (`name`) | string | - |
| Is Channel (`is_channel`) | boolean | - |
| Is Group (`is_group`) | boolean | - |
| Created (`created`) | integer | - |
| Creator (`creator`) | string | - |
| Is Archived (`is_archived`) | boolean | - |
| Is General (`is_general`) | boolean | - |
| Name Normalized (`name_normalized`) | string | - |
| Is Shared (`is_shared`) | boolean | - |
| Is Org Shared (`is_org_shared`) | boolean | - |
| Is Ext Shared (`is_ext_shared`) | boolean | - |
| Is Member (`is_member`) | boolean | - |
| Is Private (`is_private`) | boolean | - |
| Last Read (`last_read`) | string | - |
| Latest (`latest`) | object,null | - |
| Unread Count (`unread_count`) | integer | - |
| Unread Count Display (`unread_count_display`) | integer | - |
| Topic (`topic`) | object | - |
| Topic Value (`topic.value`) | string | - |
| Topic Creator (`topic.creator`) | string | - |
| Topic Last Set (`topic.last_set`) | integer | - |
| Purpose (`purpose`) | object | - |
| Purpose Value (`purpose.value`) | string | - |
| Purpose Creator (`purpose.creator`) | string | - |
| Purpose Last Set (`purpose.last_set`) | integer | - |
| Previous Names (`previous_names`) | array | - |
| Priority (`priority`) | number | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.slack.list.CreatePrivateChannel",
  "label": "Create Private Channel",
  "author": "Robert Beinaravicius <rbeinaravicius@ntrc.eu>",
  "icon": "(data URI omitted)",
  "description": "Create a new private channel.",
  "private": false,
  "auth": {
    "service": "appmixer:slack",
    "scope": [
      "groups:write"
    ]
  },
  "inPorts": [
    {
      "name": "channel",
      "schema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 80,
            "pattern": "^[a-z0-9-_]{1,80}$"
          }
        },
        "required": [
          "name"
        ]
      },
      "inspector": {
        "inputs": {
          "name": {
            "type": "text",
            "label": "Channel name",
            "index": 1,
            "tooltip": "Name of your channel. Only lowercase letters, numbers, underscores and dashes are allowed. Maximum 80 characters."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "newChannel",
      "options": [
        {
          "label": "Channel ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "C0JKL44556"
          }
        },
        {
          "label": "Channel Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "leadership"
          }
        },
        {
          "label": "Is Channel",
          "value": "is_channel",
          "schema": {
            "type": "boolean",
            "example": true
          }
        },
        {
          "label": "Is Group",
          "value": "is_group",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Created",
          "value": "created",
          "schema": {
            "type": "integer",
            "example": 1757493000
          }
        },
        {
          "label": "Creator",
          "value": "creator",
          "schema": {
            "type": "string",
            "example": "U0ABC12345"
          }
        },
        {
          "label": "Is Archived",
          "value": "is_archived",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Is General",
          "value": "is_general",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Name Normalized",
          "value": "name_normalized",
          "schema": {
            "type": "string",
            "example": "leadership"
          }
        },
        {
          "label": "Is Shared",
          "value": "is_shared",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Is Org Shared",
          "value": "is_org_shared",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Is Ext Shared",
          "value": "is_ext_shared",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Is Member",
          "value": "is_member",
          "schema": {
            "type": "boolean",
            "example": true
          }
        },
        {
          "label": "Is Private",
          "value": "is_private",
          "schema": {
            "type": "boolean",
            "example": true
          }
        },
        {
          "label": "Last Read",
          "value": "last_read",
          "schema": {
            "type": "string",
            "example": "0000000000.000000"
          }
        },
        {
          "label": "Latest",
          "value": "latest",
          "schema": {
            "type": [
              "object",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Unread Count",
          "value": "unread_count",
          "schema": {
            "type": "integer",
            "example": 0
          }
        },
        {
          "label": "Unread Count Display",
          "value": "unread_count_display",
          "schema": {
            "type": "integer",
            "example": 0
          }
        },
        {
          "label": "Topic",
          "value": "topic",
          "schema": {
            "type": "object",
            "example": {
              "value": "",
              "creator": "",
              "last_set": 0
            }
          }
        },
        {
          "label": "Topic Value",
          "value": "topic.value",
          "schema": {
            "type": "string",
            "example": ""
          }
        },
        {
          "label": "Topic Creator",
          "value": "topic.creator",
          "schema": {
            "type": "string",
            "example": ""
          }
        },
        {
          "label": "Topic Last Set",
          "value": "topic.last_set",
          "schema": {
            "type": "integer",
            "example": 0
          }
        },
        {
          "label": "Purpose",
          "value": "purpose",
          "schema": {
            "type": "object",
            "example": {
              "value": "",
              "creator": "",
              "last_set": 0
            }
          }
        },
        {
          "label": "Purpose Value",
          "value": "purpose.value",
          "schema": {
            "type": "string",
            "example": ""
          }
        },
        {
          "label": "Purpose Creator",
          "value": "purpose.creator",
          "schema": {
            "type": "string",
            "example": ""
          }
        },
        {
          "label": "Purpose Last Set",
          "value": "purpose.last_set",
          "schema": {
            "type": "integer",
            "example": 0
          }
        },
        {
          "label": "Previous Names",
          "value": "previous_names",
          "schema": {
            "type": "array",
            "example": []
          }
        },
        {
          "label": "Priority",
          "value": "priority",
          "schema": {
            "type": "number",
            "example": 0
          }
        }
      ]
    }
  ]
}
```
