Skip to main content
slack.setPrivateChannelPurpose replaces a private channel’s plain-text purpose.

Example

automations/set-private-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 groups:write or groups:write.topic.