Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

  • Archive channel
  • Create channel
  • Invite user
  • List members
  • Remove user
  • Rename channel
  • Retrieve channel info
  • Unarchive channel

Prerequisites

A valid and active account in the Slack workspace.

...

Add Valid Slack Scopes based on the intended operation. See Required Slack Scopes section below for details.

Required Slack Scopes

Any action you want to perform within a Slack workspace , additionally needs appropriate Scopes assigned to your app See the Scope and Permissions article in Slack API documentation for the complete list and each Account page under Configuring Slack Accounts for information on defining Scopes for your app.

Archive channel
To

Bot Token Accounts
(scope)

User Token Accounts
(user_scope)
  • Create channel
  • Invite user
  • Remove user
  • Rename channel
channels:manage

channels:write

  • List members in a channel
  • Retrieve channel info
channels:readchannels:read
  • Archive channel
  • Unarchive channel
N/Achannels:write

Support for Ultra Pipelines

...

Parameter NameData TypeDescriptionDefault ValueExample 
LabelString
Insert excerpt
File Writer
File Writer
nopaneltrue
Channel OperationsChannel Operations
OperationDrop-down list

Select an operation from the following list of permitted channel operations and specify the corresponding details needed:

  • List Members. To retrieve the list of users subscribed to a specific channel. Requires Channel. 
  • Invite User. To invite a user in the workspace to a specific channel. Requires Channel and Users
  • Remove User. To remove a user from a specific channel. Requires Channel and User
  • Channel Info. To view the details of a specific channel, such as its creation date, purpose, creator, topic, locale, and the current number of members in the channel. Requires Channel.
  • Create Channel. To create a new channel in the workspace. Requires Name and Private.
  • Rename Channel. To rename an existing channel in the workspace. Requires Channel and New Name.
  • Archive Channel. To archive an existing channel. Requires Channel.
  • Unarchive Channel. To unarchive an archived channel. Requires Channel.
List MembersInvite User
ChannelString/Expression/Suggestion

Required for all channel operations except Create Channel.

Select

Click the Image Added icon and select a channel from the list of suggested channels to perform the selected channel operation. Alternatively, you can enter the channel name and/or channel ID in one of the following formats.

  • #channel.name:<11-character alphanumeric Channel ID>
  • #channel.name
  • <11-character alphanumeric Channel ID>
N/A#testprivate:G019B3ETYMB
UsersString/Expression/Suggestion

Required for channel operation - Invite User.

Select a Click the Image Added icon and select a user from the suggested values which are typically the list of users available in the workspace. Alternatively, you can enter one or more usernames and/or user IDs, separated by commas, in one of the following formats:

  • @user.name:<11-character alphanumeric user ID>
  • @user.name
  • @<11-character alphanumeric user ID>

The specified set of users are invited to join the selected channel.

N/A@user.name:W01A94P7MK1
UserString/Expression/Suggestion

Required for channel operation - Remove User.

Select a Click the Image Added icon and select a user from the suggested values which are typically the list of users available in the workspace. Alternatively, you can enter one or more usernames and/or user IDs, separated by commas, in one of the following formats:

  • @user.name:<11-character alphanumeric user ID>
  • @user.name
  • @<11-character alphanumeric user ID>

The specified user is removed from the selected channel.



NameString/Expression

Required for channel operation - Create Channel.

Enter a name for the new channel.

N/ASupport_Vertical
PrivateCheck box

Required for channel operation - Create Channel.

Select this check box to keep the new channel private – visible to only members/invitees.

Not selectedSelected
New NameString/Expression/Suggestion

Required for channel operation - Rename Channel.

Enter the new name for the channel.

N/AReleaseTeam_Channel
Snap ExecutionDrop-down list

Select one of the three following modes in which the Snap executes:

  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during Pipeline validation, then performs full execution of the Snap (unlimited records) during Pipeline runtime.
  • Execute only. Performs full execution of the Snap during Pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps downstream from it.

Execute onlyValidate & Execute

...

ErrorReasonResolution
Unable to rename the given channel. Reason: invalid_name_specialsYou have provided an invalid name for renaming the channel.

Ensure that the name provided for the channel is valid (does not contain invalid special characters).

Unable to kick user from channel. Reason: Channel_not_foundYou have specified an invalid channel to remove the user.Ensure that the channel’s name is valid and that the user to be removed currently exists in is a member of the channel members list.
Unable to archive channel. Reason: Channel_not_foundYou have specified an invalid channel to archive.Ensure that the channel exists in the workspace and is not archived already.
Unable to unarchive channel. Reason: Channel_not_foundYou have specified an invalid channel to unarchive.Ensure that the channel exists in the workspace and is archived already.
Input error. Reason: No Channel providedYou have not specified a channel to perform the selected channel operation.Ensure that you provide a channel in the Channel field and that it exists in this workspace.

...