---
schema_version: "1"
id: 17e262b2c7f4a8fdda9b250625ebbf484c394676d78e08e4ffe4b3e09bd9e60e
title: Adding Screen Components and Input Variables to Flows Deployed in Slack
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_concepts_flows_in_slack.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_concepts_flows_in_slack.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c37ab3eb8a68223cfa3e2c1ddf5a054fd7d14d72c0ea25f5b5a88d206b8ddca6
description: "Running a flow in Slack requires two things: an active screen flow with the Make available in Slack setting selected, and a way to run the flow from Slack."
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Adding Screen Components and Input Variables to Flows Deployed in Slack

Running a flow in Slack requires two things: an active screen flow with the Make available in Slack setting selected, and a way to run the flow from Slack.

## Screen Components in Flows in Slack

Screens in a screen flow with the Make available in Slack advanced setting selected can contain only components supported by Flows in Slack.

Flows in Slack don’t support field-level validation for screen components.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d58163e50">Supported Components</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d58163e53">UNSupported Components</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Supported Components" class="slds-cell-wrap" style="vertical-align:top;" headers="d58163e50 ">
              <ul>
                <li>Checkbox</li>

                <li>CheckboxGroup (up to 10 choices)</li>

                <li>Currency</li>

                <li>Date</li>

                <li>Date &amp; Time</li>

                <li>Display Text</li>

                <li>Long Text Area</li>

                <li>Number</li>

                <li>Picklist (up to 100 choices)</li>

                <li>Radio Button (up to 10 choices)</li>

                <li>Text</li>

              </ul>
            </td>

            <td data-label="UNSupported Components" class="slds-cell-wrap" style="vertical-align:top;" headers="d58163e53 ">
              <ul>
                <li>Address</li>

                <li>Dependent Picklist</li>

                <li>Display Image</li>

                <li>Email</li>

                <li>File Upload</li>

                <li>Lookup</li>

                <li>Multi-Select Picklist</li>

                <li>Name</li>

                <li>Password</li>

                <li>Phone</li>

                <li>Section</li>

                <li>Slider</li>

                <li>Toggle</li>

                <li>URL</li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>

## Input Variables in Flows in Slack

A screen flow with the Make available in Slack advanced setting selected supports text input parameters. Flows designed to run in Slack support only text input variables. To run these flows from Slack, use the Send Message to Launch Flow action. To collect text input from users, define text variables with the Available for Input setting enabled in your screen flow.

Use functions to convert text input into the required format for your screen flow.

Common Text Conversion Functions   
| Function | Category | Description |
| --- | --- | --- |
| [DATEVALUE](https://help.salesforce.com/s/articleView?id=platform.customize_functions_datevalue.htm&language=en_US) | Date and Time Functions | Converts a text string with a format of “YYYY-MM-DD” to a date value. |
| [DATETIMEVALUE](https://help.salesforce.com/s/articleView?id=customize_functions_datetimevalue.htm&language=en_US) | Date and Time Functions | Converts a text string with a format of “YYYY-MM-DD HH:MM:SS” returns a year, month, day, and GMT time value. |
| [ISNUMBER](https://help.salesforce.com/s/articleView?id=customize_functions_isnumber.htm&language=en_US) | Logical Functions | Returns TRUE if a text value is a number; returns FALSE otherwise. |
| [VALUE](https://help.salesforce.com/s/articleView?id=customize_functions_value.htm&language=en_US) | Text Functions | Converts a text string to a number. |

## Send a Screen Flow to Slack Using an Action

This method of sending an active screen flow to Slack works only with official Salesforce Slack apps. This method is the only way to run active screen flows with input variables and the Make available in Slack advanced setting selected.

An active screen flow with the Make available in Slack advanced setting selected can run in the flow default environment. To send the flow to run in the Slack environment, use another flow that calls a version of the Slack Send Message to Launch Flow action.

The Slack Send Message to Launch Flow action has a version for each active screen flow with the Make available in Slack advanced setting selected. For example, your active screen flow is Get Pet Name. When you add the Action element to the new flow that sends this active screen flow to Slack, select the action labeled Get Pet Name (API name: `slackSendMessageToLaunchFlow - Get_Pet_Name`).

When the flow containing the action runs, it sends a message to a Slack channel or direct message group. Slack channel or group members click the button to launch the associated screen flow.

These flow types don’t support the Slack Send Message to Launch Flow action: CMS Orchestrator, EvaluationFlow, Journey, Orchestrator, Survey, SurveyEnrich, and TransactionSecurityFlow.

#### See Also

- [Enable Salesforce for Slack Integrations](https://help.salesforce.com/s/articleView?id=slack.slack_apps_enable.htm&language=en_US)
- [_Salesforce Admins_: How Admins Can Connect Salesforce and Slack](https://admin.salesforce.com/blog/2021/how-admins-can-connect-salesforce-and-slack)
- [Use Flows with Slack](https://help.salesforce.com/s/articleView?id=platform.flow_build_use_flows_with_slack.htm&release=264.0.0&type=5 "Build a screen flow that’s designed to run in a Slack conversation or direct message group. Use another flow, a Slack shortcut, a slash command, or a button in a Slack view to run a flow from Slack.")
- [Run Active Screen Flows from Slack](https://help.salesforce.com/s/articleView?id=platform.flow_build_run_screen_flow_from_slack.htm&release=264.0.0&type=5 "You can invoke an active screen flow using an action, a Slack shortcut in a custom Slack app, or a button in a Slack view.")
- [_Apex SDK for Slack (Beta)_: Define an App](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/app-definition.html)
- [_Apex SDK for Slack (Beta)_: Define an View](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/views_create.html)