You are here:
Slack Channel Selector Screen Input Component
Let users select a Slack channel to send a Slack message from a flow screen.
Required Editions
| View supported editions. |
Configure the Slack Channel Selector Component
You can select resources from the flow, such as variables or global constants, or you can manually enter a value.
| Attribute | Description |
|---|---|
| API Name | The API name of the component. An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can’t end with an underscore. It also can’t have two consecutive underscores. |
| Slack app id | The ID of the Slack app connected to Salesforce. This attribute accepts Text variables. Only the Slack app owner can get the app ID. From https://api.slack.com, go to your apps, then Basic Information, and find the app’s ID. |
| Slack workspace id | The ID of the Slack workspace where the Slack app is installed. This attribute accepts Text variables. To get the ID, open the web version of Slack and copy the alphanumeric section of the Slack URL starting with T. |
| Use Bot Token | Fetches a list of Slack channels based on the Slack app’s bot token. This attribute accepts Boolean resources. If set to |
| Use Channel Search API | Indicates whether to use type-ahead Slack channel search to fetch a list of Slack channels. This attribute accepts Boolean resources. Requires that the Slack app be registered with Slack to use the private API. |
| Label for dropdown | Text that appears in the selector heading. Use text to give users a hint of what the Slack channel selector is for. This attribute accepts single-value resources. The value is treated as text. |
| Placeholder for dropdown | Text that appears in the field when it’s empty. Use placeholder text to give users a hint about what to enter in the field. This attribute accepts single-value resources. The value is treated as text. |
| Required | If set to This attribute accepts single-value Boolean resources. |
| Selected channel id | The ID of the selected Slack channel. To get the channel ID, right-click the channel and select View channel details. The Channel ID is on the About tab. |
Set the Component Visibility
Specify the logic that determines when the flow displays the component.
| Option | Description |
|---|---|
| When to Display Component | Configure when the component is displayed by using conditional logic. You can set the components to:
|
Validate Input
Provide a formula that evaluates whether what the user entered is valid and the error message to display if invalid.
| Option | Description |
|---|---|
| Error Message | Specify the error message that appears below the component if the user enters an invalid value. |
| Formula | Provide a formula expression that returns a Boolean value. If the formula expression evaluates to true, the input is valid. If the formula expression evaluates to false, the error message appears below the component. If the user leaves the field blank and the field isn’t required, the flow doesn’t perform the validation. If the user leaves the field blank and the field is required, the flow shows the default error message and not your custom error message. |
Specify the Behavior of Values on Revisited Screens
Specify what this component does when a user enters a value, navigates to a previous screen, and then returns to the screen with this component.

