Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Invite Users to Slack Channel Action

          Invite Users to Slack Channel Action

          Add users connected to a given Slack app to a Slack channel or direct message.

          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 Invite Users to Slack Channel.

          Set Connection Values for Slack

          Input Parameter Description
          Slack App

          Required. The Slack app that executes 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 executes the action. Valid values are:

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

          Set Slack Channel Details

          Use values from earlier in the flow to set the inputs for the action.

          Input ParameterDescription
          Slack Channel ID

          Required. The ID of the channel or direct message to invite users to.

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

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

          Slack Workspace ID for Channel

          Required. The Slack workspace that contains the channel. 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 The collection resource that contains the Salesforce user IDs to invite to the channel. The maximum number of user IDs is 1,000.

          Usage

          This action is available only if you enable the connection to Slack in Setup and the user who runs the flow is connected to Slack. 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 one time.

           
          Loading
          Salesforce Help | Article