Create a new channel
Schema.slack.functions.CreateChannel
slack#/functions/create_channel
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
.
const createChannelStep = ExampleWorkflow.addStep(
Schema.slack.functions.CreateChannel,
{
channel_name: "convo-space-9000",
is_private: false,
},
);