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
Create Slack Channel Action (Legacy)

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.

Important
Important Legacy actions are based on an outdated way of using Flows with Slack. Use the new Create Slack Channel action for the best expereince.

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 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.

Execute Action As

The entity that runs the action. Valid values are:

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

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:

  • Public
  • Private
  • Resource

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.

 
Loading
Salesforce Help | Article