Carrier/Customer/Fleet Email Loop Setup

Prev Next

Overview

Warning:

When configuring Digital Experiences, confirm data is not accessible and is secured within security profiles/permission sets and sharing settings. Review all profiles/permission set adjustments to ensure they meet business needs without exposing data unnecessarily.

Carrier/Customer/Fleet “Email Loop” Community Setup

From Setup, search for Digital Experiences. Choose the Builder link.

The Public Access setting should NOT be checked for the Email Loop Site.

Carrier Guest Access

  1. Create a partner community (“Customer Service”) for carrier guest user access.

    The same community may be used as above if it is dedicated solely to the email loop, with Carriers, Customers, and Fleet users interacting with it. If the Email Loop is part of a larger Carrier, Customer, or Fleet community, keep them distinct.

    1. Create a new standard community page (1 full-width section) with name and URL of carrierguest.

    2. From the Builder click the left side Settings snowflake → General tab:

      1. The Public Access checkbox NOT should be checked.

      2. Click the Guest User Profile link:

        1. Click on View Users:

          1. Assign a TMS license to the Email Loop user.

        2. Create a new Permission Set for the Email Loop user.

          1. Navigate to Setup and search for Permission Sets.

          2. Click the Permission Sets link and find the TMS Carrier Email Loop permission set.

            1. If using a custom permission set, confirm the permission set contains Create access on the Load object.

          3. Choose the Clone link.

          4. Delete the API Name and provide a new Label for the permission set. Press tab to populate the API Name field based on the new Label. Click Save.

          5. Select the new permission set.

            1. Choose Object Settings.

            2. Select Loads.

            3. Click the Edit button and update the Object Permissions to enable Create access.

            4. Click Save.

          6. Return to the original TMS Carrier Email Loop permission set.

            1. Click the Manage Assignments button.

            2. Select the Email_Loop Site Guest User link.

            3. Choose the Edit Assignments button on the Permission Set Assignments related list.

            4. Select the new permission set and add it to the Enabled Permission Sets column.

            5. Click Save.

      3. Return to the builder and select the carrierguest page properties.

      4. Set the Page Access field to Public.

    3. Drag the Carrier Guest LWC component onto the page. Add other useful carrier-related information as desired.

    4. Publish and Activate the community.

    5. From TMS Admin → Configuration set the Public Carrier Community URL to the page you have created. Include the full URL to the page you created.

      1. Example:  https://full-revesc1.cs64.force.com/email/s/carrierguest

    6. From Setup → Salesforce Files → General Settings check the Allow site guest users to upload files field.

    7. From Setup → Security → CSP Trusted Sites add a new trusted site to enabled display of google maps:

      1. Name: GoogleMap

      2. Trusted Site URL: https://maps.a.forceusercontent.com

      3. All Checkboxes checked

Add fields to the Load TMS30 field set to include them on the Carrier Guest LWC. When fields are present in this field set and a value is added to the Carrier Quote Tender Expiration Date, the Tender Expiration is displayed to the user in the Carrier Email Loop. The Tender Expiration does not display when the tender is accepted or declined.

Customer Guest Access

  1. Create a partner community (“Customer Service”) for customer guest user access.

    1. Create a new standard community page (1 full-width section) with name and URL of customerguest.

    2. From the Builder click the left side Settings snowflake → General tab:

      1. The Public Access checkbox should NOT be checked.

      2. Click the Guest User Profile link:

        1. Click on View Users:

          1. Assign a TMS license to the guest community user.

          2. Assign the TMS Customer Email Loop permission set.

      3. Select the customerguest page properties.

      4. Set the Page Access field to Public.

    3. Drag the Customer Guest LWC component onto the page. Add other useful customer-related information as desired. The Customer Guest LWC has two properties:

      1. Allow Search: Check this property to provide the URL to this page and allow the customer to search for loads anonymously.

      2. Load Field Set Name: the name of a CUSTOM field set on the Load with the fields that the Customer Shipment Tracking will display. If left blank, the BOL Number, PRO Number and Load Number are displayed.

    4. Publish and Activate the community.

    5. From TMS Admin → Configuration set the Public Customer Community URL to the new created page. Include the full URL to the page you created.

      1. Example:  https://full-revesc1.cs64.force.com/email/s/customerguest

Fleet Guest Access

  1. Create a partner community (“Customer Service” template) for Fleet guest user access.

    1. Create a new standard community page (1 full-width section) with name and URL of fleetguest.

    2. From the Builder click the left side Settings snowflake → General tab:

      1. The Public Access checkbox should NOT be checked.

      2. Click the Guest User Profile link:

        1. Click on View Users:

          1. Assign a TMS license to the guest community user.

          2. Assign the TMS Fleet Email Loop permission set.

      3. Select the fleetguest page properties.

      4. Set the Page Access field to Public.

    3. Drag the Fleet Driver Confirmation LWC component onto the page. Add other useful carrier-related information as desired.

    4. Publish and Activate the community.

    5. From SetupSharing Settings and create Sharing Rules for the following objects.

      1. Trip Plan

      2. Fleet Asset

    6. From TMS Admin → Configuration set the Fleet Community URL to the new page URL. Include the full URL.

      1. Example:  https://full-revesc1.cs64.force.com/email/s/fleetguest

    7. From Setup → Salesforce Files → General Settings check the Allow site guest users to upload files field.

    8. From Setup → Security → CSP Trusted Sites add a new trusted site to enabled display of google maps:

      1. Name: GoogleMap

      2. Trusted Site URL: https://maps.a.forceusercontent.com

      3. All Checkboxes checked

Setup Carrier/Customer/Fleet Community Text Fields

  1. From TMS Admin → Document Options set up the configurable community informational text fields.

    1. Customer Load Confirm Accept Message

    2. Customer Load Confirm Decline Message

    3. Carrier Book It Message

    4. Carrier Quote Submit Message

    5. Carrier Quote Footer

    6. Carrier Load Tender Instructions

    7. Carrier Load Tender Footer

    8. Carrier Load Confirm Accept Message

    9. Carrier Load Confirm Decline Message

    10. Carrier Load List Instructions

    11. Carrier Stop Status Instructions

    12. Carrier Stop Status Footer

    13. Carrier Settlement Instructions

    14. Driver Decline Message

      1. Message displayed on the Driver Decline modal when a Driver declines a Trip Plan.

Supported Fields

  1. The following fields support the Email Loop:

    1. Customer Quote

      1. Accept Link

      2. Decline Link

    2. Carrier Quote

      1. Book It

      2. Tender Contact

      3. Tender CC List

    3. Load

      1. Hashcode – Used to secure the URLs of the email links.

      2. Carrier Quote Link

      3. Tender Accept Link

      4. Tender Decline Link

      5. Carrier Status Link

      6. Carrier Settlement Link

      7. Customer Tracking Link

      8. Stops

      9. Driver Name

      10. Driver Phone

      11. (Note that these driver fields may supersede the Driver lookup field for some customers)

Email Templates

  1. Update the email template links as follows:

    1. Lightning Email Templates

      1. Customer Rate and Load Confirmation Accept:

        1. {{{rtms__CustomerQuote__c.rtms__Accept_Link__c}}}

      2. Customer Rate and Load Confirmation Decline:  

        1. {{{rtms__CustomerQuote__c.rtms__Decline_Link__c}}}

      3. Quotation Request Submit:  

        1. {{{rtms__Load__c.rtms__Carrier_Quote_Link__c}}}&c={{{Contact.Id}}}

      4. Load Tender Accept:  

        1. {{{rtms__Load__c.rtms__Tender_Accept_Link__c}}}

      5. Load Tender Decline:  

        1. {{{rtms__Load__c.rtms__Tender_Decline_Link__c}}}

      6. Load Status Update Status:  

        1. {{{rtms__Load__c.rtms__Carrier_Status_Link__c}}}

      7. Load Status Batch Update Status:  

        1. {{{rtms__Load__c.rtms__Carrier_Status_Link__c}}}

      8. Carrier Document Request Upload Documents:  

        1. {{{rtms__Load__c.rtms__Carrier_Settlement_Link__c}}}

      9. Fleet Driver Confirmation

        1. {!rtms__TripPlanDriver__c.rtms__Driver_Confirmation_URL__c}

    2. Classic Email Templates

      1. Customer Rate and Load Confirmation Accept:

        1. {!rtms__CustomerQuote__c.rtms__Accept_Link__c}

      2. Customer Rate and Load Confirmation Decline:  

        1. {!rtms__CustomerQuote__c.rtms__Decline_Link__c}

      3. Quotation Request Submit:  

        1. {!rtms__Load__c.rtms__Carrier_Quote_Link__c}&c={!Contact.Id}

      4. Load Tender Accept:  

        1. {!rtms__Load__c.rtms__Tender_Accept_Link__c}

      5. Load Tender Decline:  

        1. {!rtms__Load__c.rtms__Tender_Decline_Link__c}

      6. Load Status Update Status:  

        1. {!rtms__Load__c.rtms__Carrier_Status_Link__c}

      7. Load Status Batch Update Status:  

        1. {!rtms__Load__c.rtms__Carrier_Status_Link__c}

      8. Carrier Document Request Upload Documents:  

        1. {!rtms__Load__c.rtms__Carrier_Settlement_Link__c}

Customer Shipment Tracking LWC

  1. Instructions to use the Customer Shipment Tracking LWC (part of the Customer Guest LWC):

    1. Add the Company Logo field (Transportation Profile) to the Carrier and Shipper/Consignee page layouts so the appropriate customer and carrier logos can be uploaded.

    2. Add the “Show Carrier on Shipment Tracking” field (Mode) to the page layout so the appropriate modes show the carrier logo (or name if no logo) in the LWC.

    3. A custom email template and workflow need to be created. Add a custom formula field on the Customer Quote object that references the rtms__Load__r.rtms__Customer_Tracking_Link__c field. The custom email template can then use this formula field on the Customer Quote object to provide the link to the load for tracking.

Miscellaneous

Email Loop Community components are designed to only display information when they detect a user or customer moving their mouse. This security feature prevents bots from accessing Email Loop community components.

  1. Note that the template links above are no longer dependent on the proper sequence of button clicks to use them. They can be used/sent anytime.

  2. Modify the Load object TMS12 and TMS13 field sets to add/remove fields from the Carrier Quote LWC component. The TMS12 field set controls the 4-column header field section. The TMS13 field set controls the 1-column header field section.

  3. Note that all customer and carrier actions are now processed by the QueuedTransactionJob which runs every minute.  From SetupScheduled Jobs or the Performance IQ LWC start the job if you have not already.

  4. Test (both) communities thoroughly!

  5. IMPORTANT:   For the three guest communities above, guest users must have access to the records.

    1. Email Loop – Create view all sharing rules for the following objects:

      1. Account

      2. Contact

      3. Load

      4. Freight Plan Load

      5. Customer Quote

      6. Document Options

      7. Mode

      8. Accessorial

      9. Customer Invoice Document

      10. Transportation Profile

    2. API Community – No sharing rules required

    3. Carrier Application