update_channel_topic
Facts
DescriptionUpdate a channel's topic
Schema
Schema.slack.functions.UpdateChannelTopicSchema reference
slack#/functions/update_channel_topicRequired scopes
Input Parameters
Required Input Parameters
channel_idSchema.slack.types.channel_idRequiredThe ID of the channel to have its topic changed
Examples
C123456D123ABC456topicSchema.types.stringRequiredThe topic to change to, as a string.
Examples
If you were a sales team, you'd all starveOutput Parameters
Required Output Parameters
topicSchema.types.stringRequiredThe new topic
Examples
This week we're talking turkey stuffing recipesUsage info
Change the topic to what's top of mind. Folks like predictable, informative topics. Your workflow must be a member of the conversation.
Example workflow step
const updateChannelTopicStep = ExampleWorkflow.addStep(
Schema.slack.functions.UpdateChannelTopic,
{
channel_id: "C0123ABC456",
topic: "The main idea in mind",
},
);