Skip to main content
slack.setPublicChannelPurpose replaces a public channel’s plain-text purpose.

Example

automations/set-public-channel-purpose.automation.ts

Inputs

Requires channelId and the new purpose. Pass an empty string to clear it.

Output

Returns the updated conversation. Requires either channels:manage or channels:write.topic.