Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
Check If Users Are Connected to Slack Action

Check If Users Are Connected to Slack Action

Determine whether a collection of Salesforce users is connected to a given Slack workspace.

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 Check If Users Are Connected to Slack.

Set Connection Values for Slack

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.

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

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

Salesforce User ID Collection Resource Required. The collection resource that contains the Salesforce user IDs to check. The maximum number of user IDs is 1,000.

Store Output Values

Output Parameter Description
Collection of Salesforce User IDs Connected to Slack A collection resource that contains the Salesforce user IDs connected to Slack.
Collection of Salesforce User IDs Not Connected to Slack A collection resource that contains the Salesforce user IDs not connected to Slack.

Usage

This action is available only if you enable the connection to Slack in Setup. Otherwise, the action fails. Additionally, the user that initiates the flow and any users impacted by the action must have logged in to a Salesforce Slack app at least once.

 
Loading
Salesforce Help | Article