Create a new channel
Schema.slack.functions.CreateChannel
slack#/functions/create_channel
team-devrel-education-running-buddies
proj-remove-all-oxford-commas
broadcast-jesse-promotion
Your automations may create channels as part of a workflow using this Slack function.
Consider the channel_name
you specify as merely 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 the channel managers as part of the newly created channel, specify one or more IDs in an array to manager_ids
.
const createChannelStep = ExampleWorkflow.addStep(
Schema.slack.functions.CreateChannel,
{
channel_name: "broadcast-jesse-promotion",
is_private: false,
},
);