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

# appmixer.front.channels.CreateChannel

- Component: `appmixer.front.channels.CreateChannel`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.front 1.1.1](https://connectors.appmixer.com/connector/appmixer.front/1.1.1.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.front/1.1.1/component/appmixer.front.channels.CreateChannel>

Create a custom channel linked to an inbox.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Inbox ID (`inboxId`) | text | The unique identifier of the inbox |
| Channel Name (`name`) | text | The name of the channel |
| Webhook URL (`webhookUrl`) | text | URL to receive webhook notifications |
| Undo Send Time (seconds) (`undoSendTime`) | select | Time limit to undo sending a message |
| All Teammates Can Reply (`allTeammatesCanReply`) | toggle | Allow all teammates to reply from this channel |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Channel ID (`id`) | string | - |
| Name (`name`) | string | - |
| Address (`address`) | string | - |
| Send As (`send_as`) | string | - |
| Type (`type`) | string | - |
| Settings (`settings`) | object | - |
| Settings - Undo Send Time (`settings.undo_send_time`) | number | - |
| Settings - All Teammates Can Reply (`settings.all_teammates_can_reply`) | boolean | - |
| Is Private (`is_private`) | boolean | - |
| Is Valid (`is_valid`) | boolean | - |
| Links (`_links`) | object | - |
| Links - Self (`_links.self`) | string | - |
| Links - Related (`_links.related`) | object | - |
| Links - Related - Inbox (`_links.related.inbox`) | string | - |
| Links - Related - Owner (`_links.related.owner`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.front.channels.CreateChannel",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Create a custom channel linked to an inbox.",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:front"
  },
  "quota": {
    "manager": "appmixer:front",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "inboxId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "undoSendTime": {
            "type": "string",
            "enum": [
              "0",
              "5",
              "10",
              "15",
              "30",
              "60"
            ]
          },
          "allTeammatesCanReply": {
            "type": "boolean"
          },
          "webhookUrl": {
            "type": "string"
          }
        },
        "required": [
          "inboxId",
          "name"
        ]
      },
      "inspector": {
        "inputs": {
          "inboxId": {
            "type": "text",
            "label": "Inbox ID",
            "index": 0,
            "tooltip": "The unique identifier of the inbox"
          },
          "name": {
            "type": "text",
            "label": "Channel Name",
            "index": 1,
            "tooltip": "The name of the channel"
          },
          "webhookUrl": {
            "type": "text",
            "label": "Webhook URL",
            "index": 2,
            "tooltip": "URL to receive webhook notifications"
          },
          "undoSendTime": {
            "type": "select",
            "label": "Undo Send Time (seconds)",
            "index": 3,
            "tooltip": "Time limit to undo sending a message",
            "options": [
              {
                "label": "0 seconds",
                "value": "0"
              },
              {
                "label": "5 seconds",
                "value": "5"
              },
              {
                "label": "10 seconds",
                "value": "10"
              },
              {
                "label": "15 seconds",
                "value": "15"
              },
              {
                "label": "30 seconds",
                "value": "30"
              },
              {
                "label": "60 seconds",
                "value": "60"
              }
            ]
          },
          "allTeammatesCanReply": {
            "type": "toggle",
            "label": "All Teammates Can Reply",
            "index": 4,
            "tooltip": "Allow all teammates to reply from this channel"
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Channel ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "cha_1gv4"
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Order Updates"
          }
        },
        {
          "label": "Address",
          "value": "address",
          "schema": {
            "type": "string",
            "example": "orders@example.com"
          }
        },
        {
          "label": "Send As",
          "value": "send_as",
          "schema": {
            "type": "string",
            "example": "orders@example.com"
          }
        },
        {
          "label": "Type",
          "value": "type",
          "schema": {
            "type": "string",
            "example": "custom"
          }
        },
        {
          "label": "Settings",
          "value": "settings",
          "schema": {
            "type": "object",
            "example": {
              "undo_send_time": 15,
              "all_teammates_can_reply": false
            }
          }
        },
        {
          "label": "Settings - Undo Send Time",
          "value": "settings.undo_send_time",
          "schema": {
            "type": "number",
            "example": 15
          }
        },
        {
          "label": "Settings - All Teammates Can Reply",
          "value": "settings.all_teammates_can_reply",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Is Private",
          "value": "is_private",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Is Valid",
          "value": "is_valid",
          "schema": {
            "type": "boolean",
            "example": true
          }
        },
        {
          "label": "Links",
          "value": "_links",
          "schema": {
            "type": "object",
            "example": {
              "self": "https://api2.frontapp.com/channels/cha_1gv4",
              "related": {
                "inbox": "https://api2.frontapp.com/inboxes/inb_1ix6",
                "owner": "https://api2.frontapp.com/teams/tim_k30"
              }
            }
          }
        },
        {
          "label": "Links - Self",
          "value": "_links.self",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/channels/cha_1gv4"
          }
        },
        {
          "label": "Links - Related",
          "value": "_links.related",
          "schema": {
            "type": "object",
            "example": {
              "inbox": "https://api2.frontapp.com/inboxes/inb_1ix6",
              "owner": "https://api2.frontapp.com/teams/tim_k30"
            }
          }
        },
        {
          "label": "Links - Related - Inbox",
          "value": "_links.related.inbox",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/inboxes/inb_1ix6"
          }
        },
        {
          "label": "Links - Related - Owner",
          "value": "_links.related.owner",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/teams/tim_k30"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
