---
schema_version: "1"
id: ce2e2fe638758f300c4112c2b07fd885a3de869379c4e7528d9455a1ae313d83
title: Create Messaging Components for Real-Time Location
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/mfs_appointment_assistant_messaging_templates.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.mfs_appointment_assistant_messaging_templates.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c02803117a0d4ee95d5e58e36d4ff26650563fd8beb08b163ccf586daacd5c74
description: Create messaging components for Field Service Appointment Assistant that let customers know when their mobile worker is on the way and when the mobile worker is approaching the work site.
products:
  - Field Service
release: "264"
---
# Create Messaging Components for Real-Time Location

Create messaging components for Field Service Appointment Assistant that let customers know when their mobile worker is on the way and when the mobile worker is approaching the work site.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Field Service core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Field Service Appointment Assistant managed package and permission set license are required.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <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="d61861e78">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d61861e78 ">To create messaging components:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d61861e78 ">Configure Messaging </td>

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

1. From Setup, in the Quick Find box, enter Messaging, and then select **Messaging Components**.
2. To create the En Route component, click **New Component**.
3. Click **Notification**, and then click **Next**.
4. Enter the plain text version of your automated message. Include the URL placeholder that lets customers navigate to the Experience Builder site for appointment details and arrival information. For example: Your mobile worker is on the way! Track their location here: {!AssignedResource.ApptAssistantInfoUrl}
5. Click **Next**.
6. Enter a name and description for your component. For example, En Route.
7. Click **Done**. The Messaging Component Builder opens.
8. In the left sidebar, click **Parameters**.
9. In the Custom Parameters section, click **New**.
10. Configure the URL parameter.
    
    - Name—A label for the parameter. For example, Appointment Assistant Info URL.
    - API Name—ApptAssistantInfoUrl
    - Type—**Text**
    - Object Type—**Assigned Resource**
11. Click **Save**.
12. (Optional) In the left sidebar, click **Text** to further customize the plain text version of your automated message.
13. Save your changes.
14. Repeat these steps to create another component that lets customers know when their mobile worker is approaching the work site. Just change the component name and the message that you send to your customers. For example, change the message to “Your mobile worker is nearing the work site” or something similar.

#### See Also

- [Set Up WhatsApp in Messaging](https://help.salesforce.com/articleView?id=messaging_set_up_whatsapp.htm&language=en_US)
- [Interactive Messaging Components](https://help.salesforce.com/articleView?id=service.messaging_components_parent.htm&language=en_US)