You are here:
Create Slack Channel Action (Legacy)
Create a Slack channel in a 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 Create Slack Channel.
Before using a core action for Slack, enable Salesforce for Slack integrations.
In Flow Builder, add an Action element to your flow. Select the Slack category, and search for an action.
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 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
| Input Parameter | Description |
|---|---|
| Slack Channel Name | Required. The name of the new channel. Specify a value or select a resource. |
| Channel Type | Select a value or Boolean resource. Valid values are:
If you select a Boolean resource that evaluates to true, the channel type is private. If you select a Boolean resource that evaluates to false, the channel type is public. The default channel type is public. |
| Slack Workspace ID for Channel | Indicates whether to associate the new channel with a different workspace ID than the workspace ID of the Slack app. If you turn on this option, select a value or resource. |
Store Output Values
| OUTPUT Parameter | Description |
|---|---|
| Slack Channel ID | The ID of the new channel. |
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.

