You are here:
Deploy Automotive Warranty Claims Assistance for Partners to Experience Cloud Site
Make your Automotive Warranty Claims Assistance for Partners agent available to customers directly on your Experience Cloud site. Configure chat and routing settings to handle incoming inquiries, and use a deployment to embed the messaging experience for your customers.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions with the Agentforce for Automotive add-on or included in Agentforce 1 Automotive Edition. Requires each user to have the Agentforce for Automotive add-on to access the action. |
| User Permissions Needed | |
|---|---|
| To create and edit a flow: | Manage Flow permission |
| To customize an Experience Cloud site: | Be a member of the site AND Create and Set Up Experiences OR Be a member of the site AND View Setup and Configuration AND be an experience admin, publisher, or builder in that site |
Prerequisites:
-
Enable Messaging Settings.
- From Setup, in the Quick Find box, enter Messaging, and select Messaging Settings.
- Turn on Messaging.
-
Create Routing Configurations for Your Queues
- From Setup in Salesforce Classic, enter Routing in the Quick Find box, select Routing Configurations, then click New.
- Specify the settings for your routing configuration as follows and save your changes.
Field Value Routing Configuration Name messagingRoutingConfig Developer Name messagingRoutingConfig Routing Priority 1 Routing Model Most Available Capacity Type Inherited Units of Capacity 5 -
Create a queue.
- From Setup in Salesforce Classic, enter Queues in the Quick Find box, select Queues, then click New.
- Specify the settings for your queue as follows and save your changes.
Field Value Label Messaging Queue Queue Name Messaging_Queue Send Email to Members False Routing Configuration messagingRoutingConfig Selected Objects Messaging Session Selected Members Admin User -
Create a presence status.
- From Setup in Salesforce Classic, enter Presence in the Quick Find box, select Presence Statuses, then click New.
- Enter Label and Developer Name as Available.
- For Status Options, select Online.
- Move Messaging from Available Channels to Selected Channels.
- Click Save.
-
Create a Presence Status permission set.
- From Setup in Salesforce Classic, enter Permission in the Quick Find box, select Permission Sets, then click New.
- For Label and API Name, enter MIAWPermSet.
- For Description, enter This permission set grants access to messaging and the Available Messaging Status.
- Save your changes.
- Under Apps, click on Service Presence Statuses Access.
- Click Edit.
- Move Available to Enabled Service Presence Statuses.
- Save your changes.
- Click Manage Assignments.
- Click on Add Assignments.
- Select Admin User.
- Save your changes.
- Click Done
-
Create a presence configuration.
- From Setup in Salesforce Classic, enter Presence in the Quick Find box, select Presence Configurations, then click New.
- For Presence Configuration Name, enter Messaging Presence Configuration.
- For Capacity, enter 20.
- Click Save.
-
Create a flow for routing to agent and add resources.
- From Setup, enter Flow in the Quick Find box, select Flows, then click New Flow.
- Select Start From Scratch.
- Click Next.
- Select Omni-Channel Flow and click Create.
- From the Toolbox menu, click New Resource.
- From the Resources panel, click New Resource and add the following variables.
Resource Type Variable API Name recordId Description The recordId is used to assign a messaging session to an Agent. Data Type Text Available for input Checked Available for output Unchecked Resource Type Variable API Name input_record Description Messaging session record assigned to an Agent Data Type Record, Object: Messaging Session Available for input Checked Available for output Unchecked Resource Type Variable API Name userId Description To store the user id of the current logged in user Data Type Text Available for input Unchecked Available for output Unchecked Resource Type Variable API Name contact Description To store the contact of the current logged in user Data Type Record, Object: Contact Available for input Unchecked Available for output Unchecked Resource Type Variable API Name frmUserId Description Formula to extract user id Data Type Text Formula RIGHT({!input_record.MessagingEndUser.MessagingPlatformKey}, LEN({!input_record.MessagingEndUser.MessagingPlatformKey}) - FIND("uid:", {!input_record.MessagingEndUser.MessagingPlatformKey}) - 3)
-
Add elements to the flow for routing to agent.
-
In the flow setup from the previous step, click the plus icon and add elements as
follows, before you save and activate your flow.
Make sure to keep your flow label as Route to Agent.
Element Type Get Records Label Load MU Configuration Details - Salesforce Object: MessagingEndUser
- Filter: Messaging User ID Equals input_record.MessagingEndUserId
Element Type Decision Label Is there a contact on MEU? Configuration Details - Outcome "Yes" (Do Nothing): input_record.MessagingEndUser.ContactId Is Null False.
- Default Outcome: Proceed with below
Element Type Assignment Add it at the start of Default Outcome branch of Is there a contact on MEU?
Label Set userId Configuration Details - Action: Set userId Equals frmUserId.
Element Type Decision Label Is there a user id Configuration Details - Outcome "Yes_User": userId Is Null False.
- Default outcome: Do nothing
Element Type Get Records Add it at the start of the Yes_User branch of Is there a user id
Label Get User Configuration Details - Object: User
- Filter: Id Equals userId.
Element Type Get Records Label Get Contact for User Configuration Details - Salesforce Object: Contact
- Filter: Contact Id Equals Get_User.ContactId
- Store: Id, Name, AccountId.
Element Type Assignment Label Assign User Contact to MEW Configuration Details Actions:
- Load_MU.ContactId = contact.Id
- Load_MU.Name = contact.Name
- Load_MU.AccountId = contact.AccountId.
Element Type Update Records Add it to the end of Yes_User branch of Is there a user id and to the end of Default Outcome branch of Is there a contact on MEU?
Label Update MEU Info Configuration Details Action:
- Select : Use the IDs and all field values from a record or record collection
- Record or Record Collection: Load_MU.
Element Type Route Work Label Route to Auto Agent Configuration Details - How Many Work Records to Route? : Single
- Record ID Variable: recordId
- Service Channel: Messaging
- Route To: Agentforce Service Agent
- Agentforce Service Agent: <Name of the Service Agent>
- Fallback Queue : Select Queue
- Fallback Queue Id: Messaging Queue
-
In the flow setup from the previous step, click the plus icon and add elements as
follows, before you save and activate your flow.
-
Create an Experience Cloud site.
- In the Setup Quick Find, search for Digital Experiences, and under Digital Experiences, select Settings.
- Select Enable Digital Experiences.
-
Save Your Experience Cloud site’s domain.
For Example, orgfarm-xxxxxxxxxx.test1.my.pc-rnd.site.com
- Click Save.
-
Create a messaging channel.
- In the Setup Quick Find, search for Messaging, and select Messaging Settings.
- Select New Channel and click Start.
- Select Enhanced Chat.
- For Channel Name, enter Agent Channel.
- For Deployment Type, select Web.
- For Domain, add the site domain you saved in the previous step.
- Click Next.
- For Routing Type, select Omni-Flow.
- For Flow Definition, enter Route to Agent.
- For Fallback Queue, enter Messaging Queue.
- Save your changes.
- Accept the Terms and Conditions.
- Select Add User Verification.
-
Publish an embedded service deployment.
Create an Embedded Service deployment that can be used to distribute your agent.
- In the Setup Quick Find, search for and select Embedded Service Deployments.
- Select Agent_Channel.
- Click Publish.
-
Add the agent to your Experience Cloud site.
- Create an Experience Cloud Site.
- From the Experience Builder Components list, select the Embedded Messaging component and drag it onto the footer of the Experience Builder.
- On the page, click to highlight the Embedded Messaging component.
- Make sure the Embedded Service Deployment, for example, Agent_Channel, is selected.
- Go to Settings on Builder.
- Select Security and Privacy.
- Change the security level to Relaxed CSP.
- Publish your site.
- In the property editor, select Add credential-based user verification.

