Communication

Slack

Slack is a team messaging workspace: channels, direct messages, threads, emoji reactions.

Authentication

  • OAuth 2.0

Actions

Generic API request. Call any Slack API endpoint on this connection, for the case where no shipped action covers it yet. The connection supplies the base URL, the authentication and the egress route, so only the path, query and body are yours to fill.

  • Add reactionAdd an emoji reaction to a message (POST reactions.add).
  • Append to a streaming messageAdd text to a message opened with slack:startstream (POST chat.appendStream).
  • Archive conversationDestructiveArchive a channel (POST conversations.archive).
  • Create conversationCreate a public or private channel (POST conversations.create).
  • Delete messageDestructiveDelete a Slack message (POST chat.delete).
  • Finish a streaming messageDestructiveFinalize a message opened with slack:startstream, optionally adding closing text or blocks (POST chat.stopStream).
  • Get canvas contentRead the full content of a Slack canvas as markdown or HTML (POST canvases.getContent, scope canvases:read).
  • Get channel infoRetrieve metadata about a Slack channel or conversation (GET conversations.info).
  • Get conversation historyFetch a page of messages from a Slack channel or conversation, newest first, optionally between two timestamps (GET conversations.history).
  • Get user infoRetrieve information about a Slack user (GET users.info).
  • Invite to conversationInvite users to a channel (POST conversations.invite).
  • Join conversationJoin an existing channel (POST conversations.join).
  • List conversation membersList the members of a channel (GET conversations.members).
  • List conversation repliesFetch a thread of messages (a parent and its replies) from a conversation (GET conversations.replies).
  • List conversationsList channels and conversations in the workspace (GET conversations.list).
  • List teamsList the workspaces (teams) an org-wide Slack app has been installed on.
  • List usersList members of the Slack workspace (GET users.list).
  • Look up user by emailFind a Slack user by their registered email address (GET users.lookupByEmail).
  • Open conversationOpen or resume a direct or multi-party direct message (POST conversations.open).
  • Open viewOpen a modal view in response to a trigger (POST views.open).
  • Pin messagePin a message to a channel (POST pins.add).
  • Post ephemeral messageSend an ephemeral message visible only to a single user in a channel (POST chat.postEphemeral).
  • Post messageSend a message to a Slack channel, DM, or thread (POST chat.postMessage).
  • Remove reactionDestructiveRemove an emoji reaction from a message (POST reactions.remove).
  • Search messages and filesSearch a Slack workspace's public-channel messages, files, channels or users (POST assistant.search.context), 20 results a page.
  • Set thread statusDestructiveShow a loading status such as "is thinking…" under the app in a thread (POST assistant.threads.setStatus).
  • Start streaming a messageDestructiveOpen a message in a thread that later calls append to while it is being written (POST chat.startStream).
  • Update messageDestructiveUpdate an existing Slack message (POST chat.update).

Triggers

  • Messages to the appAnswers as an agent in Slack: when someone @-mentions the app, sends it a direct message, or replies in a thread the agent is already in, the agent replies in that thread.
  • Slack app mentionedStarts when someone @-mentions the connected Slack app.
  • Slack huddle status changedStarts when a member's huddle status changes, such as joining or leaving a huddle.
  • Slack message postedStarts when a message is posted in a channel the Slack app can see.
  • Slack reaction addedStarts when someone adds an emoji reaction to a message.

Product names, logos and brands are the property of their respective owners and are used here for identification only. Their use does not imply endorsement by, or affiliation with, those owners.