---
schema_version: "1"
id: 20675999cf53cd6c83ceaa893eeddd3145a8dfe0d812702e817c1673a3b4d61c
title: Set Up a Flow to Send Time Selectors in Messaging Sessions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/messaging_components_flow_time_selector.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.messaging_components_flow_time_selector.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 446158502f6ff656eecfe9f7c0d6e77b7974956e439de4b5db4a0471a218fb44
description: Let service reps send time selector components in supported enhanced Messaging channels and Enhanced Chat. Create a screen flow, associate it with a messaging component and an Apex class, and add it to the Service Console.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Set Up a Flow to Send Time Selectors in Messaging Sessions

Let service reps send time selector components in supported enhanced Messaging channels and Enhanced Chat. Create a screen flow, associate it with a messaging component and an Apex class, and add it to the Service Console.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions.</a></td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <a name="messaging_components_flow_time_selector__d895e2806"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" id="messaging_components_flow_time_selector__d895e2806" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/checkmark.png" alt="Checkmark"></span>
              <strong>This article applies to:</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced In-App Chat, Enhanced Web Chat v1, Enhanced WhatsApp, Enhanced Facebook
              Messenger, and Enhanced Apple Messages for Business, and Bring Your Own
              Channel</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/crossmark.png" alt="X icon"></span>
              <strong>This article doesn’t apply to:</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced Web Chat v2, Standard and Enhanced SMS, and Enhanced LINE</td>

          </tr>
        </tbody>
      </table> <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="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d139989e98">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d139989e98 ">To open, edit, or create a flow in Flow Builder:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d139989e98 ">Manage Flow</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d139989e98 ">To create or edit a console app:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d139989e98 ">
              <p>Customize Application </p>
              <p style="margin-bottom:0;">AND View Setup and Configuration </p>
            </td>

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

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/images/icon_note.png)

Note If you plan to create multiple messaging components that are linked to flows, here are two ways to help service reps quickly find the flow they need in the Service Console:

- Group the Flow components in an Accordion component. To help service reps understand the purpose of the accordion component, enter a custom section label—for example, Messaging Components (Dynamic).
- Group all messaging component flows as sub-flows within one larger flow. When a service rep runs the flow, they select the relevant sub-flow to insert the messaging component they need.

1. In Flow Builder, create a screen flow. See the example for guidance.
2. Add the flow to the Service Console so service reps can send the component during messaging sessions. See [Add Messaging to the Service Console](https://help.salesforce.com/s/articleView?id=service.livemessage_create_console_app.htm&release=264.0.0&type=5 "Configure the Service Console to put all messaging tools at your team's fingertips. Add Omni-Channel, customize the Messaging Session page layout, and make the Send Message global action available. Optionally, customize the Enhanced Conversation component and add messaging components to the Service Console.").
3. Send the time selector in enhanced Messaging channels or Enhanced Chat.
    
    1. During an active messaging session, in the Service Console, find the Flow component that’s linked to the time selector.
    2. Run the flow to insert the component into the message field.
    3. Click **Send**.
    
    In this enhanced Facebook Messenger channel, the service rep sees:
    
    ![Conversation component with time selector component](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/support_channels/images/messaging/messaging_time_selector_agent2.png)
    
    The customer sees:
    
    ![Component in a Facebook Messenger conversation](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/support_channels/images/messaging/messaging_time_selector_customer.png)

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/images/icon_example.png)

Example This flow sends a time selector component and asks the customer to select a time slot for an appointment. The component is linked to the flow on the screen labeled Time selected screen.

![Sample flow](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/support_channels/images/messaging/messaging_time_selector_example_flow.png)

#### See Also

- [Build a Flow](https://help.salesforce.com/s/articleView?id=platform.flow_build.htm&type=5&language=en_US)
- [Flow Screen Input Component: Enhanced Message](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_screencmp_enhancedmessage.htm&type=5&language=en_US)
- [Set Up a Flow to Send Questions with Options in Messaging Sessions](https://help.salesforce.com/s/articleView?id=service.messaging_flow_dynamic_questions.htm&release=264.0.0&type=5 "To let service reps send a question with dynamic options in supported enhanced Messaging channels or Enhanced Chat, create a flow and associate it with your question component. Then, add the flow to the Service Console.")
- [Example: Apex Class for Time Selector Messaging Components](https://help.salesforce.com/s/articleView?id=service.messaging_components_apex_class.htm&release=264.0.0&type=5 "Time selector messaging components send customers a prompt and a list of available time slots for them to choose from. To generate the list of time slots each time the component is sent, create an Apex class. The Apex class determines the time slot start time, duration, and time zone.")