Slack Rename

Slack Rename

Certified

Rename a Slack channel

Renames a channel. Requires a user token (xoxp-); Slack blocks bot tokens for this method. Follow Slack naming rules and limits; see Slack conversations.rename.

yaml
type: io.kestra.plugin.slack.app.conversations.Rename

Rename a channel

yaml
id: slack_rename_channel
namespace: company.team

tasks:
  - id: rename_channel
    type: io.kestra.plugin.slack.app.conversations.Rename
    token: "{{ secret('SLACK_TOKEN') }}"
    channel: "C1234567890"
    name: "new-channel-name"
Properties

Channel ID

Channel to rename; Slack channel ID required. To get the channel ID, right click on the channel name in Slack and select 'Copy Link'. The ID is the last part of the URL.

New channel name

Lowercase letters, numbers, hyphens, and underscores only; max 80 characters.

Slack token

Reference (ref) of the pluginDefaults to apply to this task.

Channel ID

Formatdate-time

Created at

Is archived

Is channel

Is general

Is group

Is instant message

Is multi-person IM

Is private

Channel name

Channel purpose

Definitions
creatorstring

Creator ID

lastSetstring
Formatdate-time

Last set timestamp

valuestring

Value

Channel topic

Definitions
creatorstring

Creator ID

lastSetstring
Formatdate-time

Last set timestamp

valuestring

Value