You are here:
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:
|
Set Slack Channel Details
Use values from earlier in the flow to set the inputs for the action.
| Input Parameter | Description |
|---|---|
| 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
|
| 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
|
| 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.

