Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Slack connection the step signs in with. |
| Channel nameRequired | Lower-case letters, digits, hyphens and underscores, at most 80 characters. Capitals are lower-cased for you. |
| Make it private | A private channel is invisible to anyone who is not invited. |
| Workspace id | Only on an Enterprise Grid org, to say which workspace it belongs to. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `slack`) |
name | textits `{{ }}` must give a string |
isPrivate | true/false, by default false |
teamId | textits `{{ }}` must give a string |
Output
| Field | Type |
|---|---|
channelId | string |
channel | object |
Sample output, and the expression for each field
- channel
- id"C0123ABCD"
- channelId"C0123ABCD"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"isPrivate": false,
"name": "<channel name>",
"teamId": ""
},
"label": "Create channel",
"type": "slack.createChannel",
"version": 1
}