Skip to main content

Slack Operations Reference

Orkes Conductor integrates with Slack to let you manage channels, messages, reactions, files, users, and user groups directly from your workflows. You can use the following operations to interact with your Slack workspace without leaving your workflow.

This page covers the parameters and expected output for each operation available in the Slack integration.

Create Channel

Create a public or private channel in the Slack workspace. May fail if the workspace restricts channel creation to admins only.

ParameterDescriptionTypeRequired/Optional
NameThe name of the channel to create, without #.stringRequired.
Is PrivateWhether the channel is private. Set to true to create a private channel. Defaults to false.booleanOptional.

List Channels

Retrieves a list of channels in the workspace.

ParameterDescriptionTypeRequired/Optional
LimitThe maximum number of channels to return.integerOptional.
CursorThe cursor for pagination. To paginate through results, pass the next_cursor value from the previous response into this field.stringOptional.
Exclude ArchivedWhether to exclude archived channels from the results. Set to true to exclude archived ones. Default is false.booleanOptional.
TypesComma-separated channel types to list. Supported values:
  • public_channel - Standard channels open to anyone in the workspace (e.g., #general).
  • private_channel - Invite-only channels, visible only to members.
  • mpim - Multi-person direct messages (group DMs).
  • im - Direct messages between two people (1:1 DMs).
stringOptional.

Get Channel Info

Retrieves details about a specific channel.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to retrieve. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Include LocaleWhether to include the locale of the channel in the response. The locale reflects the language and regional settings of the channel, such as en-US for US English or ja-JP for Japanese.booleanOptional.

Join Channel

Adds the bot to an existing channel. Only works for public channels.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to join. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.

Leave Channel

Removes the bot from a channel. Works for both private and public channels.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to leave. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.

Invite to Channel

Invites one or more users to a channel.

The bot must be a member of the channel to invite users. Use the Join Channel operation to add the bot to the channel first.

ParameterDescriptionTypeRequired/Optional
Channel IdsThe ID of the channel to invite users to. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
User IdsA comma-separated list of user IDs to invite (e.g., U123,U456). To get a user ID, use the List Users operation or copy it from the user's profile in Slack.stringRequired.

Kick from Channel

Removes a user from a channel. Works only for public channels.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to remove users from. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
User IdA comma-separated list of user IDs to remove. To get a user ID, use the List Users operation or copy it from the user's profile in Slack.stringRequired.

Rename Channel

Renames an existing channel. The bot must be a member of the channel.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to rename. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
New NameThe updated name of the channel, without #.stringRequired.

Archive Channel

Archives a channel, making it read-only and hidden from the active channel list.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to archive. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.

List Channel Members

Retrieves the list of members in a channel.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to retrieve. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
LimitThe maximum number of channels to return.integerOptional.
CursorThe cursor for pagination. To paginate through results, pass the next_cursor value from the previous response into this field.stringOptional.

Set Channel Topic

Sets or updates the topic of a channel.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to set the topic for. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
TopicThe channel topic to set.stringRequired.

Set Channel Purpose

Sets or updates the purpose (description) of a channel.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to set the description for. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
PurposeThe channel description to set.stringRequired.

Send Message

Send a message to an already configured channel via a Slack incoming webhook. Uses a webhook and only posts to the channel the webhook was configured for. Cannot target arbitrary channels.

ParameterDescriptionTypeRequired/Optional
TextThe message text to send. The message is delivered to the channel configured in the webhook URL set up in Slack Integration.stringRequired.

Send Slack API Message

Sends a message to any channel using the Slack Web API bot token.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to send the message to. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
TextThe message text to send.stringRequired.
ThreadTsThread timestamp to reply in a thread. To get the thread timestamp, use the Get Channel History operation and copy the thread_ts value from the response on the thread to reply with.

To get the thread timestamp from Slack app, right-click a message in Slack, select Copy link, and extract the thread_ts query parameter from the URL: https://yourworkspace.slack.com/archives/Cxxxxx/pxxxxxxxxxxxx?thread_ts=<YOUR-THREAD-TS>&cid=CXXXXXXX.
stringOptional.

Send Message and Wait for Response

Sends a message and waits for a reply before the workflow continues. If no reply is received before the timeout, the workflow proceeds. Long timeouts may affect workflow performance.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to send the message to. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
TextThe message text to send.stringRequired.
Expected User IdUser ID whose reply to wait for; if omitted, accepts the first reply from any user.

To get a user ID, use the List Users operation or copy it from the user's profile in Slack.
stringOptional.
Timeout SecondsThe time in seconds to wait for a reply. Default is 30.integerOptional.
Poll Interval MsHow often to check for a reply in milliseconds. Default is 2000.integerOptional.

Update Message

Edits the text of an existing message sent by the bot.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel that contains the message to update. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Message TsThe timestamp of the message to update. To get the message timestamp, use the Get Channel History operation and copy the ts value from the corresponding message in response.stringRequired.
TextThe updated message.stringRequired.

Delete Message

Deletes a message from a channel. Bots can only delete their own messages unless the bot has admin privileges.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel that contains the message to delete. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Message TsThe timestamp of the message to delete. To get the message timestamp, use the Send Slack API Message or Get Channel History operation and copy the ts value from the response.stringRequired.

Get Channel History

Retrieves messages and events from a channel's history, with optional time range filtering.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel to retrieve history from. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
OldestThe start of the time range as a Slack timestamp (Unix time in seconds with microseconds, e.g., "1715000000.000000"). Only messages after this timestamp are returned.stringOptional.
LatestThe end of the time range as a Slack timestamp (Unix time in seconds with microseconds, e.g., "1715000000.000000"). Only messages before this timestamp are returned.stringOptional.
LimitThe maximum number of messages to return.integerOptional.
InclusiveWhether to include messages at the oldest and latest timestamps.booleanOptional.

Get Thread Replies

Retrieves all replies in a message thread.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel containing the thread. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Thread TsThe timestamp of the parent message. To get the thread timestamp, use the Get Channel History operation and copy the thread_ts value from the parent message.stringRequired.
LimitThe maximum number of replies to return.integerOptional.
CursorThe cursor for pagination. To paginate through results, pass the next_cursor value from the previous response into this field.stringOptional.

Retrieves a permanent link to a specific message.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel containing the message. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Message TsThe timestamp of the message to retrieve the permalink for. To get the message timestamp, use the Get Channel History operation and copy the ts value from the response.stringRequired.

Search Messages

Searches for messages across the workspace matching a query. This operation utilizes the user token.

ParameterDescriptionTypeRequired/Optional
QueryThe search querystringRequired.
CountResults per pageintegerOptional.
PagePage numberintegerOptional.
SortThe sort field (e.g., timestamp)stringOptional.
Sort DirThe sort direction: asc or descstringOptional.

Add Reaction

Adds an emoji reaction to a message. Bots can only add reactions to messages they can read. The bot must be a member of the channel.

ParameterDescriptionTypeRequired/Optional
NameThe emoji reaction name, without colons (e.g., thumbsup).
Check out the short code for status emoji.
stringRequired.
Channel IdThe ID of the channel containing the message. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Message TsThe timestamp of the message to react to. To get the message timestamp, use the Get Channel History operation and copy the ts value from the response.stringRequired.

Remove Reaction

Removes an emoji reaction from a message.

ParameterDescriptionTypeRequired/Optional
NameThe emoji reaction name to remove, without colons (e.g., thumbsup).stringRequired.
Channel IdThe ID of the channel containing the message. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Message TsThe timestamp of the message to remove the reaction from. To get the message timestamp, use the Get Channel History operation and copy the ts value from the response.stringRequired.

Get Reactions

Retrieves all reactions on a specific message.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the channel containing the message. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringRequired.
Message TsThe timestamp of the message to retrieve reactions from. To get the message timestamp, use the Get Channel History operation and copy the ts value from the response.stringRequired.
FullWhether to return the full reaction details, including the list of users who reacted.booleanOptional.

Upload File

Uploads a file and optionally shares it in a channel with an initial comment.

ParameterDescriptionTypeRequired/Optional
ChannelsA comma-separated list of channel IDs to share the file in.stringRequired.
FilenameThe name of the file to upload.stringRequired.
ContentThe file contents as plain text.stringRequired.
TitleThe title of the file.stringOptional.
Initial CommentA message to accompany the file when shared in a channel.stringOptional.
Thread TsThe timestamp of the parent message to post the file as a thread reply.stringOptional.

List Files

Retrieves a list of files the bot has access to, with optional filters by type, user, or channel.

ParameterDescriptionTypeRequired/Optional
CountThe maximum number of files to return.integerOptional.
CursorThe cursor for pagination. To paginate through results, pass the next_cursor value from the previous response into this field.stringOptional.
TypesA comma-separated list of file types to filter by (e.g., images, pdfs).stringOptional.
User IdThe ID of the user to filter files shared by them. To get a user ID, use the List Users operation or copy it from the user's profile in Slack.stringOptional.
Channel IdThe ID of the channel to filter files by. To get the channel ID, use the List Channels operation or open the channel in Slack, click the channel name at the top, and scroll to the bottom to find the channel ID.stringOptional.

Get File

Retrieves details about a specific file.

ParameterDescriptionTypeRequired/Optional
File IdThe ID of the file to retrieve. To get the file ID, use the List Files operation and copy the id value from the response.stringRequired.

Open Conversation

Open or resume a direct message (DM) or multi-person DM with one or more users. This simply opens the conversation and returns an ID. This ID must be utilized to Send Messages.

This operation opens a DM or group DM from the bot's perspective. To open or join a public or private channel, use the Join Channel or Invite to Channel operation instead.

ParameterDescriptionTypeRequired/Optional
User IdsA comma-separated list of user IDs to open a DM or group DM with. Pass a single user ID for a 1:1 DM, or multiple IDs for a group DM.stringOptional.

Close Conversation

Closes a direct message or multi-person DM.

ParameterDescriptionTypeRequired/Optional
Channel IdThe ID of the DM or group DM to close. To get the channel ID, use the Open Conversation operation or the List Channels operation with im or mpim as the type filter.stringRequired.

Get User Info

Retrieves the account and profile details of a specified Slack user, including their username, admin status, and ownership role.

ParameterDescriptionTypeRequired/Optional
User IdThe ID of the user to retrieve. To get the user ID, use the List Users operation and copy the id value from the response, or use the List Channel Members operation to get the IDs of members in a specific channel.stringRequired.

List Users

Retrieves the list of users in the workspace.

ParameterDescriptionTypeRequired/Optional
LimitThe maximum number of users to return.integerOptional.
CursorThe cursor for pagination. To paginate through results, pass the next_cursor value from the previous response into this field.stringOptional.

Get User Profile

Retrieves the profile details of a specified Slack user, including their display name, job title, email address, current status, and any custom profile fields configured for the workspace.

ParameterDescriptionTypeRequired/Optional
User IdThe ID of the user whose profile to retrieve. To get the user ID, use the List Users operation and copy the id value from the response, use the List Channel Members operation to get the IDs of members in a specific channel, or copy the member ID directly from the user's profile in Slack.stringRequired.
Include LabelsWhen set to true, includes the human-readable label for each custom profile field alongside its value in the response.

For example, for a custom field with ID Xf05FFPZMMGD will include "label": "Phone", making it easier to interpret the data without needing a separate lookup. When false or omitted, only the field ID and its value are returned.
booleanOptional.

Get User Status

Retrieves the present status of a user.

ParameterDescriptionTypeRequired/Optional
User IdThe ID of the user whose status to retrieve. To get the user ID, use the List Users operation and copy the id value from the response, use the List Channel Members operation to get the IDs of members in a specific channel, or copy the member ID directly from the user's profile in Slack.stringRequired.

Update User Profile

Updates a user's profile fields such as status text and emoji. This operation needs a user token.

ParameterDescriptionTypeRequired/Optional
ProfileThe profile fields to update as a JSON string. For example, {"status_text":"In a meeting","status_emoji":":calendar:","status_expiration":0}.

Check out the short code for status emoji.
stringRequired.
User IdThe ID of the user whose profile to update. To get the user ID, use the List Users operation and copy the id value from the response, use the List Channel Members operation to get the IDs of members in a specific channel, or copy the member ID directly from the user's profile in Slack.stringOptional.

Create User Group

Creates a new user group that can be mentioned with a handle.

ParameterDescriptionTypeRequired/Optional
NameThe name of the user group.stringRequired.
HandleThe handle used to mention the user group (e.g., @handle).stringRequired.
DescriptionA description of the user group.stringOptional.
ChannelsA comma-separated list of channel IDs to associate with the user group as default channels.stringOptional.

Update User Group

Updates the name, handle, description, or associated channels of a user group.

ParameterDescriptionTypeRequired/Optional
User Group IdThe ID of the user group to update. To get the user group ID, use the List User Groups operation and copy the id value from the response.stringRequired.
NameThe updated name of the user group.stringOptional.
HandleThe updated handle used to mention the user group (e.g., @handle).stringOptional.
DescriptionThe updated description of the user group.stringOptional.
ChannelsA comma-separated list of channel IDs to associate with the user group as default channels.stringOptional.

Disable User Group

Disables a user group so it can no longer be mentioned.

ParameterDescriptionTypeRequired/Optional
User Group IdThe ID of the user group to disable. To get the user group ID, use the List User Groups operation and copy the id value from the response.stringRequired.

Enable User Group

Re-enable a previously disabled user group.

ParameterDescriptionTypeRequired/Optional
User Group IdThe ID of the user group to enable. To get the user group ID, use the List User Groups operation and copy the id value from the response.stringRequired.

List User Groups

Retrieves the list of user groups in the workspace.

ParameterDescriptionTypeRequired/Optional
Include UsersWhether to include the list of user IDs in each group.booleanOptional.
Include DisabledWhether to include disabled user groups in the results.booleanOptional.