Skip to main content
slack.createPrivateChannel creates a private channel.

Example

automations/create-private-channel.automation.ts

Inputs

name is required, may contain lowercase letters, numbers, hyphens, and underscores, and may be at most 80 characters.

Output

Returns the created Slack conversation. Requires groups:write.