Slack connector

Slack is a communications platform that enables organizations to foster collaboration and create groups for specific topics to be discussed. You can create, join, leave, search, archive, and invite users to channels, send messages, and make custom API calls to the Slack API.

Authorize your Slack account

When you add a Slack card to a flow for the first time, Okta Workflows prompts you to set up a connection. Setting up a connection allows you to connect the flow to your Slack account, save the data, and reuse that connection the next time you build a flow with this card. See Authorization.

User or channel ID

For any Slack action or event card that requires a user or channel identifier, this information is available from the Slack interface, or through the user or channel Slack API objects.

Slack connector event cards

Event

Description

New Channel Created

Trigger a flow when a new channel is created in Slack.

New Message in Channel

Trigger a flow when a new message is added to a Slack channel.

New Message in Private Channel

Trigger a flow when a new message is added to a private Slack channel.

New Pinned Message

Trigger a flow when a new pinned message is added to a Slack channel.

Slash Command

Trigger a flow when someone sends a slash command to a Slack bot.

Slack connector action cards

Action

Description

Archive Channel

Archive a Slack channel and remove it from the list of active conversations.

Create Channel

Create a channel in Slack.

Custom API Action

Make a custom, authenticated HTTP call to the Slack API.

Get Users in Channel

Retrieve the members of a Slack channel.

Invite User to Channel

Invite a user to a Slack channel.

Join Channel

Join a Slack channel.

Leave Channel

Leave a Slack channel.

Read Message History

Retrieve information about messages received on Slack.

Read User

Retrieve information about a Slack user.

Remove User from Channel

Remove a user from a Slack channel.

Rename Channel

Rename a Slack channel.

Respond to Command - Delayed

Send a delayed response to a user's slash command.

Respond to Command - Real Time

Send an immediate response to a user's slash command.

Search Channels

Search for a Slack channel.

Send Direct Message

Send a direct message to a Slack user on your team.

Send Ephemeral Message

Send an ephemeral message to a Slack channel.

Send File to Channel

Send a file to a Slack channel.

Send File to User

Send a file to a Slack channel.

Send Message to Channel

Send a message to a Slack channel.