This is reference content about building functions and workflows. Learn more if you're not yet familiar with this new Slack platform paradigm.

create_channel

Create a Slack channel

Facts

Schema ID

Schema.slack.functions.CreateChannel

Schema reference

slack#/functions/create_channel

Related methods

Input parameters

Required parameters
Optional parameters

Output parameters

Required parameters
The conversation ID for the channel you created
  • C123456
  • D1A2BC3ZF
Optional parameters

Usage guide

Your automations may create channels as part of a workflow using this Slack function.

Consider the channel_name you specify a suggestion. If it's taken, Slack might append characters to it. Or if you provide some kind of characters Slack doesn't use for channel names, they might be munged.

To set a channel manager as part of the newly created channel, specify one or more IDs in an array to user_ids.

Example workflow step:

const createChannelStep = ExampleWorkflow.addStep(
  Schema.slack.functions.CreateChannel,
  {
    channel_name: "convo-space-9000",
    is_private: false,
  },
);