Loading
Salesforce now sends email only from verified domains. Read More
Agentforce Contact Center
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create and Send Auto-Response Components in Messaging Sessions

          Create and Send Auto-Response Components in Messaging Sessions

          Create a text or link response that’s sent automatically when a customer initiates a messaging session, a service rep joins, a customer stops responding, or a session ends. Auto-response messaging components are supported only in Enhanced Chat and Bring Your Own Channel.

          Required Editions

          View supported editions.
          Checkmark This article applies to: Enhanced In-App Chat, Enhanced Web Chat v1, Enhanced Web Chat v2, Enhanced WhatsApp, Enhanced Facebook Messenger, Enhanced SMS, Enhanced Apple Messages for Business, Enhanced LINE, and Bring Your Own Channel
          X icon This article doesn’t apply to: Standard Facebook Messenger and Standard SMS channels
          User Permissions Needed
          To create messaging components:

          Customize Application AND View Setup and Configuration

          OR

          System Administrator

          To set up and edit Messaging channels: Configure Messaging
          To view channels: View Setup and Configuration

          With auto-response messaging components, you can automate common actions. For example:

          • At the start of each messaging session, send a welcome message with a link to your Terms and Conditions web page.
          • At the end of each messaging session, send a link to a page showing your current promotions.
          • At the end of each messaging session, send a link to a customer satisfaction survey.
          • When a customer remains inactive for a certain number of minutes, send them a reminder to engage or a warning that their session may time out due to inactivity. Follow that up with a second message, in your preferred time frame, letting them know that the service rep is moving on to another customer. Automatic inactivation doesn’t work if Status-Based Capacity is enabled.

          To use auto-response components, create the component in Setup. Then, add the component to an Enhanced Chat channel or Bring Your Own Channel and specify when it’s sent.

          1. From Setup, enter Messaging Components in the Quick Find box, and then select Messaging Components.
          2. Click New Component, and then click Next.
          3. Select Auto-Response, and then click Next.
          4. Enter the auto-response. For example: Thanks for letting us help you today!
            If you plan to include a link, enter the introductory text only. You can add the link in a minute. For example: Sign up for our newsletter.
          5. Enter a name and description for your component, and click Done.
            The Messaging Component Builder opens.
          6. On the Component Details page, further customize your auto-response.
            1. If your auto-response is text-only, you’re all set. Skip to step 8.
            2. To add a link to your auto-response, click Add Format and select Web Page.
              Note
              Note Each messaging component is available in one or more formats, such as Web Page, and some formats work only in certain channels. For a list of formats that each channel supports, see Messaging Component Types and Formats. It’s a good idea to add at least one supported format for each channel where the component will be sent. If no formats are added, the component uses the default text format.
            3. Click Web Page in the left-hand menu and customize its properties in the Component Properties pane.
            4. Under Message Configuration, select Constant for Type and $Constants.Title for Constant. This adds the auto-response text that you provided earlier.
            5. Under URL Configuration, select Literal and enter the link URL.
              Web Page format configuration in the Messaging Component Builder
            6. Under Display Configuration, select Chat Message or Popup. In Enhanced Chat for In-App and Bring Your Own Channel, all auto-responses appear as chat messages regardless of this setting.
            7. (Optional) Under Web Page Parameters, reference parameters specific to the messaging session, web page, or app.
            8. Click Save.
          7. Configure the plain text version of your auto-response to include the URL.
            1. Click Text in the left-hand menu.
            2. Edit the Formula Template field to include the URL.
              Text format configuration window
            3. Click Save.
          8. Your component is saved in a draft state. When you're ready to make it available to your support team, click Activate at the top of the page.
          9. Add the component to your messaging channel.
            1. From Setup, enter Messaging Settings in the Quick Find box, and then select Messaging Settings.
            2. If you’re adding the component to an Enhanced Chat channel, find your channel in the list, and click Edit in its action menu. If you’re adding the component to a Bring Your Own Channel messaging channel, find your channel in the list, and click its name.
            3. Your next step depends on the type of auto-response component you’re adding:
              • If you're adding a Conversation Acknowledgment, Start Conversation, End Conversation, or Inactive Conversation component: Scroll down to the Automated Responses section of the page. In the Conversation Acknowledgment, Start Conversation, End Conversation, and Inactive Conversation fields, select an auto-response component. You can use the same component for multiple fields.
              • If you're adding a Warning Message: Scroll down to the Customer Inactivity section of the page. Select the Warn customers before inactivation box. In the Warning Time box, use the + and - buttons to set the number of minutes between the warning message being sent to the end user and the session being auto-inactivated. In the Inactivation Warning box, select your auto-response component.
            4. Save your changes.
          10. Optionally, use the Enhanced In-App Chat or Enhanced Web Chat APIs (Web, iOS, Android) to send additional parameter values to the component.
          11. Test the component in a messaging session.

          Keep these considerations in mind.

          • The messaging component action in the messaging window doesn’t show auto-response components. These components are sent only if they’re selected in settings for an Enhanced Chat channel or Bring Your Own Channel.
          • When an auto-response component is sent in an Enhanced Chat channel or Bring Your Own Channel, service reps see a generic placeholder in the transcript. Service reps can’t see the content of the auto-response.
           
          Loading
          Salesforce Help | Article