Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Get Information About Slack Conversation Action

Get Information About Slack Conversation Action

Retrieve the name of a Slack channel and its archived status. Archived channels are closed to new activity, but users can still view and search an archived channel’s message history.

Required Editions

View supported editions.

Before using a core action for Slack, enable Salesforce for Slack integrations.

In Flow Builder, add an Action element to your flow. In the New Action window, select Slack, and then select Get Information About Slack Conversation.

Set Connection Values for Slack

The flow sends the connection values that you provide to Slack to retrieve an access token.

Input Parameter Description
Slack App

Required. The Slack app that runs the action. Only Slack apps that are installed for the org are available. The input value evaluates to the Slack app ID.

Slack Workspace

Required. The Slack workspace where the Slack app is installed. Select a value or resource. The input value evaluates to the Slack workspace ID.

Execute Action As

The entity that runs the action. Valid values are:

  • Slack App—Run the action as the Slack app that you selected in the Slack App field. It’s the default value.
  • Run as Current User— Run the action as the user running the Invocable action. The user must be connected to Slack, otherwise the action fails.

Set Slack Conversation

Input Parameter Description
Slack Conversation ID

Required. The ID of the channel to retrieve information about.

You can obtain the Slack conversation ID by logging in to Slack.com and launching Slack in your browser. The conversation ID is the last parameter in the URL. For example, in this URL, the conversation ID is C56789FGHIJ:

https://app.slack.com/client/T01234ABCDE/C56789FGHIJ

Store Output Values

Output Parameter Description
Conversation Is Archived Indicates whether the conversation is archived.
Conversation Is Shared Externally Indicates whether the conversation is shared with people outside of your org that aren't part of your Enterprise Grid in Slack.
Slack Conversation ID The ID of the Slack conversation that you retrieved information about.
Slack Conversation Name The name of the Slack conversation that you retrieved information about.

Usage

To use this action, you must accept the Slack Terms of Service in Setup and install one of the official Salesforce Slack apps in your Slack workspace.

 
Loading
Salesforce Help | Article